Ok I have an email server that is on its last legs and to make it worse its running qmail. What I would like to do is change it over to postfix (so its compatible with ISPConfig). Is there a way to import clients current email over to postfix?
Is qmail setup for Maildir? If so, create user under postfix and copy the contents of the maildir to the users maildir folder... There might be a script out there that does it, but it's pretty straightforward.
If the clients are already defined on the ISPConfig machine, you could always put together a simple script that uses scp or rsync to copy Maildir contents from the qmail machine to the postfix machine. Just be sure to set appropriate ownership of the files in the Maildirs on the postfix machine after doing the copying.
thanks guys ill start looking at it tommorow, not sure if its set up for maildir, but for a moment i was thinking this was going to be alot more difficult just as a duh question, its in /var/mail right? And I am assuming I have to rename each file to "web1_admin" for example?
thanks falko, so i now know they dont use maildir. can the files in var/mail be transfered the same way as the ones in mail dir?
The difference is this: with mbox, all emails of a user are stoered in a single file. With Maildir, each mail is stored in a separate file. The formats are not compatible. To convert Maildir to mbox, take a look here: http://www.hawkwings.net/2006/01/05/maildir-to-mbox-conversion/