From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 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 Topicbox-Message-UUID: ef859f58-ead5-11e9-9d60-3106f5b1d025 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