View Full Version : how to migrate mail messagges from ms. exchange to postfix?
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.
falko
18th June 2008, 19:12
I have no idea what format Exchange uses to store emails, so I think fetchmail or getmail would be the best options.
http://www.howtoforge.com/debian_etch_fetchmail
http://www.howtoforge.com/debian_etch_getmail
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.
falko
21st June 2008, 11:34
No, IP addresses are ok. What's in your /etc/fetchmailrc?
Any errors in the mail log?
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 "postamaster@xxx.com"
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 :(
falko
23rd June 2008, 21:53
Can you specify mailserver.example.com in fetchmailrc instead of 192.168.10.254?
topdog
24th June 2008, 11:28
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.
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.