[ale] Fetchmail

James P. Kinney III jkinney at localnetsolutions.com
Tue Mar 15 23:20:49 EST 2005


On Tue, 2005-03-15 at 20:54 -0500, Jim Philips wrote:
> I have two users on this box: my wife and me. If I set up Fetchmail to pick up 
> mail from Speedfactory, it only appends mail to the queue belonging to the 
> user who invoked Fetchmail, i.e. if root invoked Fetchmail, all retrieved 
> mail ends up in root's mail queue. How do I get around this. In running 
> fetchmailconfig, I am asked the local name of the user whose mail is being 
> retrieved from Speedfactory's POP server. And the log below seems to show 
> that user being recognized. But everything still goes to root. Are there any 
> how-to's out there that explain how to do this? I've been looking for several 
> days.

Fetchmail is "user specific". Each user on the mail spooler runs their
own fetchmail process. So you will need to set up fetchmail once for you
and agin for your wife. Then as root, you can run them from an rc.local
call using 

su - <username> 'fetchmail ~/.fetchmailrc'
su - <user2> ...
-- 
James P. Kinney III          \Changing the mobile computing world/
CEO & Director of Engineering \          one Linux user         /
Local Net Solutions,LLC        \           at a time.          /
770-493-8244                    \.___________________________./
http://www.localnetsolutions.com

GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part




More information about the Ale mailing list