(05-04-2009 10:29 PM)kilburn Wrote: Hmmm maybe I misunderstood you... The ispcp server is the backup or main one?
If it's the main one then I was correct, you don't need to do anything special.
If it's the backup server, you should manually remove/comment the domain in the files /etc/postfix/ispcp/domains and /etc/ispcp/postfix/working/domains . After that, postmap the former file and tell postfix to reload it's config. Voilà, the server will continue accepting mails for this domain, but they will be relayed to the main server instead of locally delivered
Hi Kilburn,
Looks good... Thanks very much for the help!
I have to admit, I'm not terribly au fait with postfix...
... so, if you'll indulge me, I've got a couple of questions...
Firstly, when you say "postmap the former file", presumably that means run the command
postmap /etc/postfix/ispcp/domains
... is that correct?
Then reload Postfix is
/etc/init.d/postfix reload
Then the system will accept mails, but will have nowhere local to deliver them and so will just forward them on?
Assuming I've understood, that sounds great...
The only slight concern I have is that both the files you mentioned say:-
# MTA Managment Domains List;
#
# Please do NOT edit it manually;
#
At the top...
If I do edit them manually, does that mean that after every new domain added to the list throguh the web panel, I'll have to edit this again?
Cheers,
Jx