Hi all,
Our company is planning to migrate from on-prem
Postfix(SMTP)/Cyrus(IMAP) stack to https://fastmail.com
Everything has been set up on Fastmail side and messages have been
migrated to placeholder accounts with imapsync. What's essentially left
to do is a final impasync run on delta followed by DNS changes (MX,
DKIM, SPF etc.).
The on-prem Cyrus will be shut down but Postifx will need to start
forwarding all internal emails (from various LAN servers and services)
to Fastmail using the new MX records. It shouldn't need any additional
information about the Fastmail recipients.
A bit of general info:
Postfix version - 2.9.6
myexampledomain.co.uk - local LAN domain not used for emails
myexampledomain.com - public domain primarily used for emails
The closest thing I've found is "Postfix email firewall/gateway" under
https://www.postfix.org/STANDARD_CONFIGURATION_README.html#stand_alone
PLANNED CHANGES in /etc/postfix/main.cf
mydomain = myexampledomain.co.uk -> mydomain = myexampledomain.com
mydestination = mailserver localhost.localdomain... -> mydestination =
local_recipient_maps = hash:/etc/postfix/local_recipients $alias_maps ->
local_recipient_maps =
local_transport = local:$myhostname -> local_transport = error:local
mail delivery is disabled
"Comment out the local delivery agent" -> ???
mynetworks = 127.0.0.0/8 192.168.8.0/22 [::1]/128 [fe80::]/64 -> leave
relay_domains = $mydestination -> myexampledomain.com
parent_domain_matches_subdomains =
debug_peer_list,fast_flush_domains,mynetworks,permit_mx_backup_networks,qmqpd_authorized_clients,smtpd_access_maps
-> parent_domain_matches_subdomains = debug_peer_list smtpd_access_maps
smtpd_relay_restrictions = leave blank, since internal emails are not
going to generate any spam
relay_recipient_maps = leave blank
transport_maps = leave blank
virtual_alias_maps = hash:/etc/postfix/virtual
/etc/postfix/virtual -> replace references to myexampledomain.co.uk
with myexampledomain.com
Also - what to do with other bits such as STARTTLS and DKIM?
Even a little hint or direction would be much appreciated.
---
Adam
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org