how to migrate mail messagges from ms. exchange to postfix?

Discussion in 'Server Operation' started by koi, Jun 17, 2008.

  1. koi

    koi New Member

    Hi, I have to migrate e-mail messagges from a ms exchange server to a postfix server.

    I have found nothing, the only thing I have in mind is to use fetchmail on the postfix server to get the e-mail messagges from the ms exchange server.

    Is this correct?

    Are there other methods, like "copy" e-mail from one machine to the other?

    Which format are the exchange e-mail stored in?

    Thanks in advance.
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. koi

    koi New Member

    Thanks. Is all ok, but I am in the need of retrieving e-mail from a mail server (to the new mail-server) inside the same lan.
    If I put in fetchmail something like:

    (192.168.10.254 is the old mail server from which I have to fetch e-mails)

    poll 192.168.10.254 protocol imap user....

    I always get: fetchmail: no mailservers have been specified.

    Does fetchmail only accepts fqdn after the "poll" ?

    Thanks in advance.
     
  4. falko

    falko Super Moderator ISPConfig Developer

    No, IP addresses are ok. What's in your /etc/fetchmailrc?
    Any errors in the mail log?
     
  5. koi

    koi New Member

    No errors, I always get: fetchmail: no mailservers have been specified if I put a class c address. :mad:

    /etc/fetchmailrc

    set daemon 120
    set syslog
    set postmaster "[email protected]"
    set no bouncemail

    defaults:
    timeout 300
    antispam -1
    batchlimit 100

    poll 192.168.10.254 protocol POP3 no dns localdomains example.com username "test" password "test" to * here

    NEWS: now it seems to accept class c addresses, but I get:
    Server CommonName mismatch: mailserver.example.com != 192.168.10.254
    Server certificate verification error: self signed certificate

    and it doesn't fetch e-mails :(
     
    Last edited: Jun 22, 2008
  6. falko

    falko Super Moderator ISPConfig Developer

    Can you specify mailserver.example.com in fetchmailrc instead of 192.168.10.254?
     
  7. topdog

    topdog Active Member HowtoForge Supporter

    Fetchmail can only be used for mail in transit, you need to use imapsync to do the migration it will preserve all the message flags.
     

Share This Page