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 <mathieu.lonja...@gmail.com>: > 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, for delivery > ([^!]*)!(.*) | "$PLAN9/mail/lib/qmail '\s' 'xxx.xxx.xxx.xxx'" > "'\...@\1'" > > where xxx.xxx.xxx.xxx is the ip address of your smtp. I think once I > had some resolution problem, that's why I set it by ip here instead of > by name. Works fine enough so I never bothered to do it by name > afterwards. > > hth, > Mathieu > > > ---------- Mensaje reenviado ---------- > From: hugo rivera <uai...@gmail.com> > To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> > Date: Tue, 23 Mar 2010 12:18:56 +0100 > Subject: Re: [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 <mathieu.lonja...@gmail.com>: >> On Sat, Nov 21, 2009 at 10:33 PM, Lorenzo Bolla <lbo...@gmail.com> 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 and 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=pass service=imap server=your.imap.server >> user=you_there !password?' >> >> 4) run it! >> mailfs -t your.imap.server (-t is for tls) >> button 2 exec on 'Mail' in acme (without the quotes) >> (you need the plumber running for everything to work as expected in acme) >> >> hth, >> Mathieu >> >> > > > > -- > Hugo > > -- Hugo