I would like to transfer some virtual domains to a new postfix server, what is the proper way to do so,
I've tried adding to /etc/main.cf like: relay_domains = dom.org.au transport_maps = hash:$config_directory/transport and /etc/transport dom.org.au smtp:[emu.sbt.net.au] that returned a warning Nov 19 12:06:49 postfix/trivial-rewrite[24520]: warning: do not list domain dom.org.au in BOTH virtual_mailbox_domains and relay_domains I've removed dom.org.au from the sql, that removed the error, but, mail still gets delivered localy Nov 19 12:21:37 geko postfix/qmgr[24491]: 8770E382B93: from=<[email protected]>, size=1845, nrcpt=1 (queue active) Nov 19 12:22:46 geko postfix/lmtp[29684]: 8770E382B93: to=<[email protected]>, orig_to=<[email protected]>, relay=127.0.0.1[127.0.0.1]:10024, delay=70, delays=1.4/42/0.26/27, dsn=2.0.0, status=sent (250 2.0.0 from MTA(smtp:[127.0.0.1]:10025): 250 2.0.0 Ok: queued as 44247382BA8) Nov 19 12:22:46 geko postfix/qmgr[24491]: 8770E382B93: removed what is the proper way to relay virtual domains ? grep virtual main.cf virtual_transport = lmtp:unix:private/dovecot-lmtp virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf virtual_mailbox_base = /var/mail/vhosts virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_mailbox_limit = $message_size_limit virtual_minimum_uid = 5000 virtual_gid_maps = static:5000 virtual_uid_maps = static:5000
