Fetchmail

Discussion in 'Server Operation' started by Quinton, Jul 26, 2006.

  1. Quinton

    Quinton New Member

    Hello,

    Can someone please point me to a multi-drop Fetchmail tutorial.

    Thanking you
    Q
     
  2. falko

    falko Super Moderator Howtoforge Staff

  3. Quinton

    Quinton New Member

    Hi falko, thanks for you reply...

    My objective is to retrieve mail from a catch-all account on a remote server and let my mail server distribute them to the individual mailboxes.

    Hope that make sense. I will have a look at that link you have provided.

    PS. This is my first attemp at fetchmail.

    Thanking you,
    Quinton
     
    Last edited: Jul 27, 2006
  4. falko

    falko Super Moderator Howtoforge Staff

    You can use the above link to fetch the mails from the remote server. But I'm not quite sure how to split up the mails and distribute them to independent mailboxes...
     
  5. platd

    platd New Member

    catch all setup is below

    defaults
    no dns
    envelope Delivered-To:
    set postmaster "catchalltypeguy"
    poll mail.pop3serverhere.com
    localdomains yourlocaldomain.com
    proto pop3
    user "username"
    pass "pass"
    to *
    fetchall

    The above works fine for a catch allpop3 acc email is then sorted on the local server the important bit is the to *
     
  6. Quinton

    Quinton New Member

    thanks guys...

    platd do you mind explaining it from scratch, ex. the location to create this file.

    Quinton
     
  7. falko

    falko Super Moderator Howtoforge Staff

    It goes into /etc/fetchmailrc.
     
  8. Quinton

    Quinton New Member

    hi falko

    I'm not quite clear on this... others say I should create the fetcmailrc in my home directory for example: /home/user/.fetchmailrc

    Or should I leave it as /etc/fetchmailrc because it's mail meant for multiple local users?

    PS. distro = FC5

    Thanks
    Quinton
     
  9. falko

    falko Super Moderator Howtoforge Staff

    Put it into /etc/fetchmailrc.
     

Share This Page