From: Lovell M. <lov...@gm...> - 2007-04-02 01:00:30
|
On Apr 1, 2007, at 6:43 PM, Matthias Andree wrote: > Lovell Mcilwain <lov...@gm...> writes: > >> Can anyone tell me how I can use fetchmail and procmail to be able to >> download mail from two separate accounts to two separate local >> accounts? >> >> I already have a local account (user1) that is downloading mail from >> my gmail account. Now I am trying to setup another account (user2) to >> be able to download my work email (so I can keep both account emails >> separate). >> >> When I attempt this I get the following error when trying to run >> fetchmail as user2: >> =============== >> [user2@linux ~]$ fetchmail -c >> fetchmail: can't check mail while another fetchmail to same host is >> running. >> =============== >> >> I assume I am getting this error because the fetchmail daemon is >> already running on user1. > > As long as user1 and user2 have *distinct* home directories, that > shouldn't be a problem, user1 and user2 can both be running a > fetchmail > daemon at the same time -- unless they are sharing the same home > directory. > > -- > Matthias Andree No they are both running on completely different directories, nothing is shared. user1 = /home/user1 user2 = /home/user2 I was able to get fetchmail started but I have now run into another problem. When I checked my log after running in detailed verbose, I get the following error: [lmcilwain@Firewall ~]$ tail -f fetchmail.log procmail: Couldn't create "/var/mail/lmcilwain" procmail: [17952] Sun Apr 1 17:54:43 2007 procmail: Assigning "LOGNAME=procmail.log" procmail: Assigning "LOGFILE=procmail.log" procmail: Opening "procmail.log" So now I am not able to get anything into my inbox and everything haults. I have not been able to find a way to get it to write to / var/mail/user2. I even created it myself and gave it the same type of permissions Owner = user2 Group = mail But still it won't write. |