From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <80458656c732b3db8e5dfe71d03a5b5d@iram.fr> To: 9fans@9fans.net From: "Mathieu Lonjaret" Date: Tue, 23 Mar 2010 14:37:40 +0100 In-Reply-To: <138575261003230627kb81c42q7710df1af4283919@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="upas-zlswvdgwapnlbsbfecasbyqbir" Subject: Re: [9fans] using acme/Mail from plan9port in Linux Topicbox-Message-UUID: ef8a232a-ead5-11e9-9d60-3106f5b1d025 This is a multi-part message in MIME format. --upas-zlswvdgwapnlbsbfecasbyqbir Content-Disposition: inline Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Nope, I hardly ever tried nedmail. Others like Erik might know. jsyk, saving a message is dead easy from acme Mail, you just middle click on "Save imapfoldername" ;) (assuming the imap folder already exists) Cheers, Mathieu --upas-zlswvdgwapnlbsbfecasbyqbir Content-Type: message/rfc822 Content-Disposition: inline Return-Path: X-Original-To: mpl@smgl.fr.eu.org Delivered-To: mpl@smgl.fr.eu.org Received: by serenity.smgl.fr.eu.org (Postfix, from userid 65534) id 730BA32CFC; Tue, 23 Mar 2010 14:28:39 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on serenity.smgl.fr.eu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=1.0 tests=BAYES_00 autolearn=ham version=3.2.5 Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by serenity.smgl.fr.eu.org (Postfix) with ESMTP id 498AC32CF3 for ; Tue, 23 Mar 2010 14:28:38 +0100 (CET) Received: by ewy10 with SMTP id 10so1041883ewy.12 for ; Tue, 23 Mar 2010 06:28:37 -0700 (PDT) Received: by 10.102.216.26 with SMTP id o26mr3717571mug.27.1269350917554; Tue, 23 Mar 2010 06:28:37 -0700 (PDT) X-Forwarded-To: mpl@smgl.fr.eu.org X-Forwarded-For: mathieu.lonjaret@gmail.com mpl@smgl.fr.eu.org Delivered-To: mathieu.lonjaret@gmail.com Received: by 10.103.172.12 with SMTP id z12cs171585muo; Tue, 23 Mar 2010 06:28:36 -0700 (PDT) Received: by 10.141.108.9 with SMTP id k9mr987898rvm.226.1269350915477; Tue, 23 Mar 2010 06:28:35 -0700 (PDT) Received: from gouda.swtch.com (gouda.swtch.com [67.207.142.3]) by mx.google.com with ESMTP id 5si11617473iwn.83.2010.03.23.06.28.33; Tue, 23 Mar 2010 06:28:34 -0700 (PDT) Received-SPF: pass (google.com: domain of 9fans-bounces+mathieu.lonjaret=gmail.com@9fans.net designates 67.207.142.3 as permitted sender) client-ip=67.207.142.3; Authentication-Results: mx.google.com; spf=pass (google.com: domain of 9fans-bounces+mathieu.lonjaret=gmail.com@9fans.net designates 67.207.142.3 as permitted sender) smtp.mail=9fans-bounces+mathieu.lonjaret=gmail.com@9fans.net; dkim=pass (test mode) header.i=@gmail.com Received: from localhost ([127.0.0.1] helo=gouda.swtch.com) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from <9fans-bounces@9fans.net>) id 1Nu498-0002wr-FA; Tue, 23 Mar 2010 13:27:50 +0000 Received: from ey-out-1920.google.com ([74.125.78.146]) by gouda.swtch.com with esmtp (Exim 4.69) (envelope-from ) id 1Nu496-0002wm-Li for 9fans@9fans.net; Tue, 23 Mar 2010 13:27:48 +0000 Received: by ey-out-1920.google.com with SMTP id 26so464029eyw.4 for <9fans@9fans.net>; Tue, 23 Mar 2010 06:27:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qBYhtmV7yIRQ/+Mi5TPjZrY5JHSTTMIyYT6Pejs1cRM=; b=aI+PWha9g/KqzOdz+J6Uosy5r+/HVl8D8ykvv9xXvH0ODVDoZvf0yKGdS20ugeL7jj ZgcuoRSxHT8Cq7OMR/MGmVlj9cos28dxbaeTTs7+3uLpTcHgHjqRrQLy/a9my+5osbVb 7ymQAmfDSC6o0KgqwqtLIHVVE6R874NPH/3WA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=HApVvAdsFAfwnUkR0NA4qWmvLPQVyEWjWadBeTQjITx8PTYcQdokEpXQFy2vGsuG6Y q/hiYY/aP0m1iDg+aFB8BhCQgReHIY5CFTcyGo9I2X7jxBozEiAgJm+/9lHGA/apfdd5 UGWyy5mL0fe4vGFQl7ItUS8nYhngye0EcTRVI= MIME-Version: 1.0 Received: by 10.103.125.19 with SMTP id c19mr3036809mun.114.1269350864226; Tue, 23 Mar 2010 06:27:44 -0700 (PDT) In-Reply-To: <065c9e368b6ad1ea5e02dde481d786f8@iram.fr> References: <138575261003230418y337542b0xb1b72afd72982e9a@mail.gmail.com> <065c9e368b6ad1ea5e02dde481d786f8@iram.fr> Date: Tue, 23 Mar 2010 14:27:44 +0100 Message-ID: <138575261003230627kb81c42q7710df1af4283919@mail.gmail.com> From: hugo rivera To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [9fans] using acme/Mail from plan9port in Linux X-BeenThere: 9fans@9fans.net X-Mailman-Version: 2.1.10 Precedence: list Reply-To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> List-Id: Fans of the OS Plan 9 from Bell Labs <9fans.9fans.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: 9fans-bounces@9fans.net Errors-To: 9fans-bounces+mathieu.lonjaret=gmail.com@9fans.net Great! now it works. Thank you very much; you answered in the exact moment, otherwise frustration would have been too great :-) One last thing (I hope): when I'm reading the mail on my imap server with nedmail, and I want to save a message, I get : 3 w /tmp/3 !message disappeared and nothing gets written. Do you have any idea what's causing this? and even better, how to solve it :-) 2010/3/23 Mathieu Lonjaret : > Hello, > > if you haven't done so yet, you need to edit the > $PLAN9/mail/lib/rewrite file like that: > > # send all mail to the gateway or mail server, $smtp, =C2=A0for delivery > ([^!]*)!(.*) =C2=A0 =C2=A0| =C2=A0 =C2=A0 =C2=A0 "$PLAN9/mail/lib/qmail '= \s' 'xxx.xxx.xxx.xxx'" "'\2@\1'" > > where xxx.xxx.xxx.xxx is the ip address of your smtp. =C2=A0I think once = I > had some resolution problem, that's why I set it by ip here instead of > by name. =C2=A0Works fine enough so I never bothered to do it by name > afterwards. > > hth, > Mathieu > > > ---------- Mensaje reenviado ---------- > From:=C2=A0hugo rivera > To:=C2=A0Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Date:=C2=A0Tue, 23 Mar 2010 12:18:56 +0100 > Subject:=C2=A0Re: [9fans] using acme/Mail from plan9port in Linux > I configured mailfs so now I can read email, thanks. > But writing mail is not going so well: > > $ cat $PLAN9/log/smtp.fail > myhost Mar 23 11:21:44 bad network /net/net!my.smtp.server!smtp (my.smtp.= server) > myhost Mar 23 11:28:06 bad network /net/net!my.smtp.server!smtp (my.smtp.= server) > myhost Mar 23 11:34:20 bad network /net/net!my.smtp.server!smtp (my.smtp.= server) > > after using marshal to send messages. The file > $PLAN9/mail/queue/hugo/E.XXXXXX contains a very similar error > > smtp: bad network /net/net!my.smtp.server!smtp (my.smtp.server) > > I've been playing around with files inside $PLAN9/mail/lib but no > success so far. Any tips are welcome! :-) > > 2009/11/21 Mathieu Lonjaret : >> On Sat, Nov 21, 2009 at 10:33 PM, Lorenzo Bolla wrote= : >>> Hi all, >>> can anyone point me to a document (if any) that explains how to use >>> acme/Mail to read e-mail in Linux? >>> I couldn't find any useful information in the plan9port distribution an= d it >>> does not work "out-of-the-box". >>> Thanks for your help! >>> L. >> >> 1) build and install mailfs >> cd $PLAN9/src/cmd/upas/ >> mk install >> cd nfs >> mk install >> >> 2) configuration >> cd $PLAN9/log; chmod 666 smtp smtp.debug smtp.fail mail >smtp >>>smtp.debug >smtp.fail >mail >> cd $PLAN9/mail/lib >> edit rewrite >> optionnally edit remotemail >> >> 3) authentication >> factotum >> factotum -g 'proto=3Dpass service=3Dimap server=3Dyour.imap.server >> user=3Dyou_there !password?' >> >> 4) run it! >> mailfs -t your.imap.server (-t is for tls) >> button 2 exec on =C2=A0'Mail' in acme (without the quotes) >> (you need the plumber running for everything to work as expected in acme= ) >> >> hth, >> Mathieu >> >> > > > > -- > Hugo > > --=20 Hugo --upas-zlswvdgwapnlbsbfecasbyqbir--