Wietse Venema via Postfix-users wrote in <4trq1c66rlzj...@spike.porcupine.org>: |Steffen Nurpmeso via Postfix-users: |> What if i would have multiple smtpd listening on different xy and |> each needs different settings? Would i need different main.cf's |> for each of those? |> And you say the local_header_rewrite_clients at least i can |> specifiy via -o, if i understand correctly. | |I think so. The SMTP server uses local_header_rewrite_clients to |determine whether the addres rewriting context is local or remote. |The result is used by cleanup and by some delivery agents. | |The sendmail command-line submission claims that the addres rewriting |context is local, unless the -G option is given (as it is in basic |post-queue Postfix content filter examples).
Ok i see now that the following works. "Belongs to cleanup", a-ha, i see and "understand" now. Thanks. 192.0.2.1:submission inet n - n - - smtpd -o syslog_name=vpnsub -o smtpd_sasl_auth_enable=no -o smtpd_relay_restrictions=permit_mynetworks,reject_unauth_destination -o local_header_rewrite_clients=permit_mynetworks,permit_tls_clientcerts -o cleanup_service_name=vpnsub_cleanup vpnsub_cleanup unix n - n - 0 cleanup -o {header_checks=regexp:{{/^Received:/ IGNORE}}} -o masquerade_domains=$mydomain I am a bit sad that the _NC milter thing did not spring into existence already with 3.9.0. 'But hoping for the future. And once more sorry for that LF in the milter, i would never have thought that plain LF happens in there, aka is even allowed. I explicitly asked on the IETF list, i looked into dkimpy code, i had looked a very little bit at a opensmtpd milter filter (mostly I-M-F aka 5322 parser though), no evidence that LF is whitespace. Maybe i did not look thoroughly enough, it was too late already in the end, and then there was that decimal 10 and without it it worked, only one option was left. But it is nice to bang against that wall, actually :) Thanks for postfix. Not too long for a decade, and counting. --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) _______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org