• Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

Relay messages by the Fallback-server

E

EdwardDekker

Guest
Hi,

I working on a project to relay my messages from a fallback server to a MX1 server.
And need the relay settings of Plesk for Postfix main.cf file

I send my "/var/spool/postfix/plesk" folder to the fallback server every 15 minutes by rsync.
I'll want to use the settings of Plesk to relay the e-mail to the fallback-server.

These are my settings and need some improvements to let it working for a good relay.

readme_directory = /usr/share/doc/postfix-2.9.3/README_FILES
transport_maps = hash:/var/spool/postfix/plesk/transport
smtpd_tls_cert_file = /etc/postfix/postfix_default.pem
smtpd_tls_key_file = $smtpd_tls_cert_file
smtpd_tls_security_level = may
smtpd_use_tls = yes
smtp_tls_security_level = may
smtp_use_tls = no
smtpd_timeout = 3600s
smtpd_proxy_timeout = 3600s
disable_vrfy_command = yes
mynetworks = 127.0.0.0/8 [::1]/128 91.184.21.33/32 91.184.21.34/32
smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated, check_client_access pcre:/var/spool/postfix/plesk/non_auth.re
smtpd_client_restrictions = permit_mynetworks, reject_rbl_client sbl.spamhaus.org
smtp_send_xforward_command = yes
smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128
smtpd_sasl_auth_enable = yes
smtpd_recipient_restrictions = permit_mynetworks, check_client_access pcre:/var/spool/postfix/plesk/no_relay.re, permit_sasl_authenticated, reject_unauth_destination, permit_mx_backup, reject
smtpd_milters = inet:localhost:12768
non_smtpd_milters = inet:localhost:12768
sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps
myhostname = fallback.edwarddekkerhosting.nl
mydestination = $myhostname, localhost.$mydomain, localhost
message_size_limit = 10240000
# Secure the Postfix Mail program.
smtpd_helo_required = yes
smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname
smtpd_tls_protocols = SSLv3, TLSv1
smtpd_tls_ciphers = high
smtpd_tls_exclude_ciphers = aNULL
smtpd_sasl_security_options = noplaintext
# End of PCI Compliance
 
Last edited by a moderator:
Back
Top