Conz: > 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
My suggestion assumes that you have an already working submission service. For an explanation of the mua_mumble parameters in master.cf, see "man 5 master". Wietse