Using postfix to transfer e-mails.

Discussion in 'Server Operation' started by JamesH106, Feb 20, 2007.

  1. JamesH106

    JamesH106 New Member

    Hi

    I am moving the company's e-mail service from the mail server onto a seperate mail server which runs Ubuntu (I used the "perfect setup" guide).

    The current mail server runs Exchange.

    I have read about using Postfix to back-up Gmail e-mail, so I assume connecting to a mail server and fetching the mail should be no problem?

    I have a feeling I'm not making myself clear, so to clarify:
    I want Postfix to fetch all e-mails (I can do this seperately for each e-mail account) and place it in the users' mailbox.


    Any help greatly appreciated.

    Thanks a lot!

    James.
     
  2. martinfst

    martinfst Member Moderator

    It's not Postfix doing this. Postfix does the 'transport' of email, and delivers it into a destination.
    What you want is 'fetchmail'. You will need to configure a .fetchmailrc for each user and start a fetchmail process for each user.

    1. I don't know if Gmail accepts fetchmail client
    2. This is highly error prone. Every little change (eg a password change) will make you go out and change the fetchmailrc file
    3. Resource intensive. You will have as many processes as you have users.

    Reconsidering after writing this (though I didn't want to delete it), maybe fetchmail is not such a good idea, but I don't have a better one at the moment.
     
  3. JamesH106

    JamesH106 New Member

    This will only be a one-off, and the current (exchange) server is on the local network... is this ok to do?
     
  4. falko

    falko Super Moderator Howtoforge Staff

    fetchmail should work - if you look at it it's just a POP3 client (of course a special one ;)), and you can connect to Exchange and Gmail with a POP3 client.
     
  5. JamesH106

    JamesH106 New Member

    Thanks! :)
     

Share This Page