On 10/26/2017 01:02 PM, Wietse Venema wrote:
Conz:
On 10/26/2017 11:20 AM, Benny Pedersen wrote:
On 26. okt. 2017 10.32.29 Conz <c...@b0x.nl> wrote:
Does anyone have any advice on how to accomplish this ?
no logs, no problem
why enable spf test on anyhing not port 25, post postconf -n with logs
that shows error
It's spamassassin amongst things that does the SPF checking for me, not
Postfix.
So there are no errors, just positive spam scoring.
The issue is that I need to both replace the Received header -and- still
dump the mail in the HOLD queue.
My bad for not being clear on that.
Make the clients submit mail through the submission service, then set
submission inet n - n - - smtpd
...
-o smtpd_end_of_data_restrictions=static:hold
Wietse
When I add that it returns a 4.3.5 configuration error right after the
DATA command during sending:
postfix/submission/smtpd[17688]: warning: specify one of
(check_client_access, check_reverse_client_hostname_access,
check_helo_access, check_sender_access, check_recipient_access,
check_etrn_access) before End-of-data restriction "static:hold"
Pasting my submission part below, those options are indeed not enabled.
All the restrictions are done with 'smtpd_recipient_restrictions' so i
never looked at the ones in master.cf. Also not entirely sure what the
$mua variables are supposed to be.
submission inet n - n - - smtpd
-o syslog_name=postfix/submission
-o smtpd_tls_security_level=encrypt
-o smtpd_sasl_auth_enable=yes
# -o smtpd_reject_unlisted_recipient=no
# -o smtpd_client_restrictions=$mua_client_restrictions
# -o smtpd_helo_restrictions=$mua_helo_restrictions
# -o smtpd_sender_restrictions=$mua_sender_restrictions
-o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
# -o milter_macro_daemon_name=ORIGINATING
-o cleanup_service_name=auth-cleanup
# -o smtpd_end_of_data_restrictions=static:hold