Awesome, incredibly fast, you are awesome 😉But, when I put this definition into master.cf (as you explained wisely 🙂 (postfix is overwhelming, in a positive way)) the X-Spamd-Result header is missing.
When I put it in main.cf, it works as expected. This is the part of master.cf which is in the _non-working_ config.
--- submission inet  n      -       n       -       -       smtpd  -o syslog_name=postfix/submission  -o smtpd_tls_security_level=may  -o smtpd_sasl_auth_enable=yes  -o smtpd_sasl_type=dovecot  -o smtpd_sasl_path=private/auth  -o smtpd_sasl_local_domain=$myhostname  -o smtpd_sasl_security_options=noanonymous  -o smtpd_tls_auth_only=yes  -o smtpd_tls_loglevel=3  -o smtpd_tls_received_header=yes  -o smtpd_tls_mandatory_protocols=!SSLv2,!SSLv3,!TLSv1,!TLSv1.1  -o smtpd_tls_protocols=!SSLv2,!SSLv3,!TLSv1,!TLSv1.1  -o smtpd_tls_eecdh_grade=strong -o smtpd_tls_mandatory_exclude_ciphers=MD5,DES,ADH,IDEA,RC2,RC4,PSD,SEED,SRP,3DES,eNULL,aNULL  -o smtpd_tls_exclude_ciphers=MD5,DES,ADH,IDEA,RC2,RC4,PSD,SEED,SRP,3DES,eNULL,aNULL
 -o { smtpd_milters = inet:localhost:10099 inet:localhost:11332 }  -o { non_smtpd_milters = inet:localhost:10099 inet:localhost:11332 } -o { milter_mail_macros = i {mail_addr} {client_addr} {client_name} {auth_authen} }
 -o milter_default_action=tempfail --- Maybe you wonder why I need to put it into master.cf? Because I have this entry in master.cf --- 10.4.0.2:10026 inet  n  -       n       -       -       smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_client_restrictions= -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks=127.0.0.1,10.4.0.1,10.4.0.2 ---If I put the milter entries into main.cf the milters get run twice, which obviously is not what is desirable.
Martin. This is my scenario https://www.ciphermail.com/documentation/gateway-administration-guide/network-architecture.html#content-scanner-with-redirect Am 30/03/2024 um 23:38 schrieb Wietse Venema via Postfix-users:
Martin Stenzel via Postfix-users:Hi group, I run rspamd on the same server in which the latest version of postfix runs on. Plus, there is ciphermail for the purpose of GPG signing. For rspamd functionality I have to define milter_mail_macros, but in master.cf, not in main.cf This is how the entry looks like -o milter_mail_macros=i,{mail_addr},{client_addr},{client_name},{auth_authen} master.cf does not "like" spaces.It does, in Postfix 3.0 and later. -o { milter_mail_macros = ..... } Relevant text fromhttps://www,postfix.org/master.5.html is below. Wietse Command name + arguments ... -o { name = value } (long form, Postfix >= 3.0) -o name=value (short form) Override the named main.cf configuration parameter. The parameter value can refer to other parameters as $name etc., just like in main.cf. See postconf(5) for syntax. ... NOTE 1: With the "long form" shown above, whitespace af- ter "{", around "=", and before "}" is ignored, and whitespace within the parameter value is preserved. _______________________________________________ Postfix-users mailing list --postfix-users@postfix.org To unsubscribe send an email topostfix-users-le...@postfix.org
-- Martin Stenzel · er/ihm · he/him m.sten...@mail.xy-space.de An der Drehscheibe 9 D-50733 Köln · Cologne Deutschland · Germany This message was checked by ESET Endpoint Antivirus for Linux. Detection Engine Version: 28978 (20240329).
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org