try to make the postfix milter part better searched and some debugging to opendkim and turn off the sending of reports

This commit is contained in:
Stephen Smoogen 2020-10-06 12:20:09 -04:00
parent 47d4923de9
commit 522c62c273
3 changed files with 8 additions and 10 deletions

View file

@ -691,8 +691,3 @@ inet_protocols = ipv4
# send any email. ;(
smtpd_recipient_restrictions = permit_mynetworks, reject_unauth_destination
# Milter configuration
milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters

View file

@ -786,9 +786,11 @@ tls_random_source = dev:/dev/urandom
tls_eecdh_strong_curve = prime256v1
tls_eecdh_ultra_curve = secp384r1
## Other configs from standard
smtpd_milters = inet:localhost:8891
milter_default_action = accept
# Milter configuration
milter_default_action = accept
milter_protocol = 6
smtpd_milters = inet:127.0.0.1:8891
non_smtpd_milters = $smtpd_milters
# Deny email from some domains
smtpd_sender_restrictions = regexp:/etc/postfix/sender_access
@ -802,3 +804,4 @@ message_size_limit = 20971520
# as outlined http://www.postfix.org/SMTPD_ACCESS_README.html
# At least one is required to receive email
smtpd_relay_restrictions = permit_mynetworks, reject_unauth_destination

View file

@ -61,12 +61,12 @@ Umask 002
## This specifies a text file in which to store DKIM transaction statistics.
## OpenDKIM must be manually compiled with --enable-stats to enable this feature.
# Statistics /var/spool/opendkim/stats.dat
Statistics /var/spool/opendkim/stats.dat
## Specifies whether or not the filter should generate report mail back
## to senders when verification fails and an address for such a purpose
## is provided. See opendkim.conf(5) for details.
SendReports yes
SendReports no
## Specifies the sending address to be used on From: headers of outgoing
## failure reports. By default, the e-mail address of the user executing