externally host mx server 1.0.2 - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: externally host mx server 1.0.2 (/thread-8707.html) |
externally host mx server 1.0.2 - johnnyrevell - 12-08-2009 10:02 PM I have a user who wants to host his mail with google I have changed his site bind records in /var/cache/bind and /etc/ispcp/bind/working Hi mail is now successfuly being hosted by google. All external mail is being routed to google However he has a "contact us" form on the site. Initially all mail for this was going to the server's postfix mailbox. I have removed and disabled all mailboxes in his account (set to -1). I have also manually commented out all references to his site in /etc/postfix/ispcp/domains and /etc/ispcp/postfix/working/domains, restarted postfix and bind. Postfix is still trying to send mail to the local server rather than google. I believe in 1.0.2 postfix hosts mail virtually so postmap will not rebuild local tables. Can anyone help me to get the server to recognise the externally hosted MX server? Thanks John RE: externally host mx server 1.0.2 - kilburn - 12-08-2009 11:44 PM Quote:I have also manually commented out all references to his site in /etc/postfix/ispcp/domains and /etc/ispcp/postfix/working/domains, restarted postfix and bind This is the correct procedure, so just double-check that they're commented out well, and that you executed "postmap /etc/postfix/ispcp/domains" before restarting postfix... RE: externally host mx server 1.0.2 - johnnyrevell - 12-09-2009 01:31 AM (12-08-2009 11:44 PM)kilburn Wrote: This is the correct procedure, so just double-check that they're commented out well, and that you executed "postmap /etc/postfix/ispcp/domains" before restarting postfix... aha! I don't have postmap installed on my system (1.0.2)- is it required for virtual mailboxes? Cheers John RE: externally host mx server 1.0.2 - johnnyrevell - 12-09-2009 03:37 AM I DO have postmap installed Thanks very much; running /usr/sbin/postmap /etc/postfix/ispcp/domains before restarting postfix and bind has fixed it many thanks for the help John |