no v podstatě jo, jen bez toho 2FA:
main.cf:
relayhost = [smtp.gmail.com]:587
smtp_use_tls = yes
smtp_sasl_auth_enable = yes
smtp_sasl_security_options =
smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd
smtp_tls_CAfile = /etc/ssl/certs/ca-bundle.crt
smtp_header_checks = pcre:/etc/postfix/header_checks
/etc/postfix/header_checks:
# HEADER_CHECKS(5)
# header_checks - Postfix built-in content inspection
/^From:.*/ REPLACE From: oursecret mail <noreply@mojedome.na>