[BlueOnyx:24019] Re: 5210R wrong envelope-from address in outgoing mails via postfix

Michael Stauber mstauber at blueonyx.it
Thu Jun 18 08:17:54 -05 2020


Hi Ties,

> could you post your /etc/main.cf?
Here is main.cf from a 5210R without any comments or blank lines:

[root at jarvis ~]# cat /etc/postfix/main.cf|grep -v ^#|sed '/^\s*$/d'
compatibility_level = 2
queue_directory = /var/spool/postfix
command_directory = /usr/sbin
daemon_directory = /usr/libexec/postfix
data_directory = /var/lib/postfix
mail_owner = postfix
inet_interfaces = all
mydestination = $myhostname, localhost.$mydomain, localhost
unknown_local_recipient_reject_code = 550
alias_maps = hash:/etc/mail/aliases, hash:/etc/mail/aliases.mailman
alias_database = $alias_maps
debug_peer_level = 2
debugger_command =
         PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin
         ddd $daemon_directory/$process_name $process_id & sleep 5
sendmail_path = /usr/sbin/sendmail.postfix
newaliases_path = /usr/bin/newaliases.postfix
mailq_path = /usr/bin/mailq.postfix
setgid_group = postdrop
html_directory = no
manpage_directory = /usr/share/man
sample_directory = /usr/share/doc/blueonyx-postfix-3.5.2/samples
readme_directory = /usr/share/doc/blueonyx-postfix-3.5.2/README_FILES
meta_directory = /etc/postfix
shlib_directory = /usr/lib/postfix
mailbox_size_limit = 1000000000000
mydomain = smd.net
myhostname = jarvis.smd.net
mynetworks = 127.0.0.0/8 127.0.0.1/32 [::1]/128 208.77.151.216/32
message_size_limit = 102400000
default_destination_recipient_limit = 50
smtp_destination_recipient_limit = 50
relayhost =
postscreen_dnsbl_sites =
postscreen_dnsbl_action = ignore
smtpd_milters = unix:/run/milter-greylist/milter-greylist.sock
unix:/var/run/milter-geoip.sock unix:/run/spamass-milter/postfix/sock
inet:127.0.0.1:7358
smtpd_recipient_restrictions =
permit_sasl_authenticated,reject_non_fqdn_sender,reject_non_fqdn_recipient,reject_unknown_sender_domain,reject_unknown_recipient_domain,permit_mynetworks,reject_unauth_destination,reject_unauth_pipelining,reject_invalid_hostname,reject_non_fqdn_hostname,check_sender_access
hash:/etc/postfix/access,check_sender_access
hash:/etc/postfix/suspended_users,permit
owner_request_special = yes
smtpd_use_tls = yes
smtpd_tls_security_level = may
smtpd_tls_mandatory_ciphers = high
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3
smtpd_tls_loglevel = 1
smtpd_tls_received_header = yes
smtp_use_tls = yes
smtp_tls_CApath = /etc/pki/tls/certs
smtp_tls_CAfile = /etc/pki/tls/certs/ca-bundle.crt
smtp_tls_mandatory_ciphers = high
smtp_tls_mandatory_protocols = !SSLv2, !SSLv3
smtp_tls_note_starttls_offer = yes
mailbox_command = /usr/bin/procmail -a "$EXTENSION"
disable_vrfy_command = yes
smtpd_helo_required = yes
smtpd_sender_restrictions = reject_unknown_sender_domain
smtpd_client_restrictions = sleep 5
smtpd_delay_reject = yes
smtpd_error_sleep_time = 30
smtpd_soft_error_limit = 10
strict_rfc821_envelopes = yes
header_checks = regexp:/etc/postfix/header_checks
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_sasl_security_options = noanonymous
smtpd_sasl_type = cyrus
virtual_alias_domains = /etc/mail/local-host-names
virtual_alias_maps = hash:/etc/mail/aliases, hash:/etc/postfix/virtual,
hash:/etc/mail/aliases.mailman
canonical_maps = hash:/etc/postfix/canonical
milter_default_action = accept
milter_connect_macros = H, j, _, {daemon_name}, {daemon_port},
{if_name}, {if_addr}, {client_addr}
milter_protocol = 6
inet_protocols = all
smtpd_tls_chain_files = /etc/admserv/certs/key
/etc/admserv/certs/nginx_cert_ca_combined
tls_server_sni_maps = hash:/etc/postfix/vsite_ssl.map



-- 
With best regards

Michael Stauber



More information about the Blueonyx mailing list