Anyone use fetchmail for multiple users?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 10/13/05, Preston Crawford <me@xxxxxxxxxxxxxxxxxxx> wrote:
> Might have to scrap using fetchmail. It's not getting mail in daemon mode
> for me. And for my wife's account it's actually getting the email over and
> over for her each time since she has the "keep" flag. I have the keep flag
> too, but for some reason I only get the email once. Anyone know of a
> better alternative that's relatively easy to setup?

Following is my .fetchmailrc:

set daemon 0
# Do we need to test with bounce mail if this can avoid spam?
set no bouncemail
set logfile /var/log/fetchmail.log

poll www.xxx.yyy.zzz with protocol pop3
        user user1 with password abcdef is * here
        user user2 with password abcdef is user2 here
poll eee.fff.ggg.hhh with protocol pop3
        user user1 with password tomany3e is user1 here

poll someserver.com with protocol pop3
        user user3 with password something is user3 here

Then I add the following in crontab to run fetchmail 14 minutes past
every hour between 4am and 8pm:

14 4-20 * * * /usr/bin/fetchmail -f /etc/fetchmailrc/.fetchmailrc

Caution the file .fetchmailrc expects 600 permissions!

OR you can create lot of individual
HTH
--
Sudev Barar
Learning Linux

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux