[CentOS] Fetchmail question

Stephen Harris lists at spuddy.org
Fri Dec 18 16:06:04 UTC 2009


On Fri, Dec 18, 2009 at 10:55:54AM -0500, Scot P. Floess wrote:
> 
> You can definitely use the -f option to fetchmail.  But the neat thing is, 
> you can supply multiple accounts - and multiple local users.  For me I 
> supply 2 different pop servers and one local user - works great.

Yup, this is my (redacted) fetchmailrc file:

  defaults
    proto pop3
    set invisible

  poll server1 via mail.server1.net
    user remote_user1 is localuser1 here
    fetchall
    password hahahahaha

  poll server2 via pop.server2.com
    user remote_user2 is localuser2 here
    fetchall
    password hahahahaha
    ssl

  poll server3 via mail.server3.net
    user remote_user3 is localuser3 here
    fetchall
    password hahahahahaha

This polls from 3 different servers and stores the results in 3 different
mailboxes on my local machine.

  % fetchmail
  fetchmail: No mail for remote_user1 at server1
  fetchmail: No mail for remote_user2 at server2
  fetchmail: No mail for remote_user3 at server3


-- 

rgds
Stephen


More information about the CentOS mailing list