[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Changement serveur de mail



On Wed, Dec 20, 2006 at 12:45:46PM +0100, Laurent . wrote:
> Sorry, 1 error.
> 
> The old mail server will be different to the new.
> 
> Old mail server : sendmail (systems users and aliases)
> New mail server : postfix
> 
> there are little aliases on the old mail server, the big pb is the system 
> users to transfer)

postfix is close to a drop in replacement for sendmail.

try this:

1. set up another machine, install postfix on it. configure it to do
   what you need. get familiar with how postfix works.

2. when you understand postfix at least as well as you understand
   sendmail:

a) backup the sendmail config on your sendmail machine.

b) install postfix on your sendmail machine and uninstall sendmail.
   postfix will use the same system users, the same aliases file, etc.

note: configure postfix for "soft_bounce=yes" in main.cf (i.e. 4xx
rather than 5xx) until you're certain that it's all working correctly.
this will minimise bouncing of legit mail while you're fine-tuning the
configuration.



alternatively, cut and paste the users login details from the
/etc/{passwd,group,shadow} files on the old machine to the new (making
sure there are no UID conflicts with existing users on the new machine).
create their home directories with correct permissions (a trivial script
should do it).


craig

-- 
craig sanders <cas@taz.net.au>           (part time cyborg)



Reply to: