From mboxrd@z Thu Jan 1 00:00:00 1970 Message-Id: <200306241524.h5OFO9704366@augusta.math.psu.edu> To: 9fans@cse.psu.edu Subject: Re: [9fans] mail problems.. In-Reply-To: Your message of "Tue, 24 Jun 2003 20:11:14 +0530." <20030624201114.77af6699.apurva@gmx.net> From: Dan Cross Date: Tue, 24 Jun 2003 11:24:09 -0400 Topicbox-Message-UUID: d94b4e2c-eacb-11e9-9e20-41e7f4b1d025 > upas/fs -f /pop/pop.gmx.net/my_user_name > > The first time I did that, I was asked for my password. It accepted it > and the I got the term% prompt again. > > When I executed 'mail' from acme, it said that I had 0 messages. I > know for a fact that there were messages on the server, why were they > not downloaded? It sounds like acme was running in a different namespace and thus didn't see the /mail/fs that was being presented by upas/fs talking to the POP3 server. Did you run acme in the same window you ran upas/fs in? > Also, I am confused about how to send mail using an authenticated smtp > server. What do the different rewrite files do? I have edited my > rewrite.gateway file to point to my smtp server (mail.gmx.net). But > how do I handle authentication? I have also added a 'From' header file > in my /mail/box/user_name/headers file. Will this 'From' header be > used for every email I send from my account? Well, you should move rewrite.gateway to rewrite. Authentication is handled using smtp; change /mail/lib/remotemail such that, when it invokes smtp, it supplies the ``-a'' and ``-u '' options. Note that authentication is a little picky in that the SMTP server must support TLS for it to work. The client won't authenticate by sending a password over an unencrypted connection. Make sure your password on the mailserver is in a factotum that smtp can see (if you're just using a standalone machine, that's your normal factotum). Something like: echo 'key proto=pass service=smtp server=''your.mail.server'' !password=''your_password''' >> /mnt/factotum/ctl (You may not need to quote the mailserver name, nor the password, but it won't hurt anything). - Dan C.