Thread: Force Postfix to exclude one virtual domain
10.04.3 server
maybe strange question, i'm using ehcp control panel simple hosting on server. in setup of sets postfix @ domains listed in domains table of ehcp database local.
1 of domains has of mail managed google apps. right mx records not problem except when try use contact forms. postfix looks @ it's list of domains, sees domain listed virtual domain, , tries send mail locally. never looks dns info because looking @ mysql-virtual-domains.cf file looks active domain list control panel.
there way force postfix not @ 1 domain local? appreciated.
isaac
here's did make postfix use mx records instead of local specific domain...
edit following file
update transport maps if it's not set.code:nano /etc/postfix/main.cf
added hash:/etc/postfix/transport
transport_maps = hash:/etc/postfix/transport, proxy:mysql:/etc/postfix/mysql-virtual_transports.cf
made mx changes domain google apps
make following addition in /etc/postfix/transport file.
mydomain.com smtp:code:nano /etc/postfix/transport
it'll force postfix @ mx records rather trying deliver mail internally.
run following command hash transport file.
reload postfix configurationcode:postmap /etc/postfix/transport
code:postfix reload
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] Force Postfix to exclude one virtual domain
Ubuntu
Comments
Post a Comment