matt chipman writes:

we are migrating a customers mail server (courier) to new hardware and a
new country and want to migrate the users over gradually which means
keeping the original server running until all users are receiving mail
on the new server.

On the current server we are using virtual accounts (LDAP).  As each
user gets migrated, We want to put a .forward file in the users $HOME
dir to redirect or copy any new mail they receive on the original server
to their maildir on the new server.

Once all the users are setup like this, we can change the DNS name to
reflect the new IP address and disable the old server.

what should we put in the .forward file in the users home dir to
redirect the mail? or are there any other suggestions?

Courier does not use .forward by default. For all practical matters, the .courier file performs the equivalent function. In your case, putting the destination email address is sufficient.

However, even better is to simply use the alias file for this. Put

mailbox: [EMAIL PROTECTED]

into the alias file, then run makealiases. This will be more efficient. A message addressed to multiple recipients will get forwarded as a single message, instead of an individual copy for each recipient.

In all cases, the new server should have some things turned off, like SPF checking, which will not work while the forward is in place.




Attachment: pgpbIrXbdwueu.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
courier-users mailing list
[email protected]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to