• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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