On 14/10/2020 16:02, IL Ka wrote:
> > The config file is active, however. 
>
> You can check your milter config with
>
> $  postconf smtpd_milters non_smtpd_milters milter_default_action
>
> or even
>
> $ postconf  | grep milter
>
> You can probably post output it here.
> Also, try to increase logging:
> http://www.postfix.org/DEBUG_README.html

I've been playing with postconf this afternoon.  It's fun, but not
telling me what I don't know.  (Here I've added a blank line between the
two for readability):

    [T] jeff@nantes-1:postfix $ postconf -P | grep milter
    submission/inet/milter_macro_daemon_name = ORIGINATING
    smtps/inet/milter_macro_daemon_name = ORIGINATING

    [T] jeff@nantes-1:postfix $ postconf | grep milter
    milter_command_timeout = 30s
    milter_connect_macros = j {daemon_name} v
    milter_connect_timeout = 30s
    milter_content_timeout = 300s
    milter_data_macros = i
    milter_default_action = accept
    milter_end_of_data_macros = i
    milter_end_of_header_macros = i
    milter_header_checks =
    milter_helo_macros = {tls_version} {cipher} {cipher_bits}
    {cert_subject} {cert_issuer}
    milter_macro_daemon_name = $myhostname
    milter_macro_defaults =
    milter_macro_v = $mail_name $mail_version
    milter_mail_macros = "i {mail_addr} {client_addr} {client_name}
    {auth_type} {auth_authen}"
    milter_protocol = 6
    milter_rcpt_macros = i {rcpt_addr} {rcpt_host} {rcpt_mailer}
    milter_unknown_command_macros =
    non_smtpd_milters = $smtpd_milters
    smtpd_milters = inet:127.0.0.1:8891
    [T] jeff@nantes-1:postfix $

If I add -vvv I can see that non_smtpd_milters is set to the correct
value (inet:127.0.0.1:8891).

I tried changing invocation to "smtpd -v" for both smtp and submission,
but the send transaction doesn't change in any obvious way.

-- 
Jeff Abrahamson
+33 6 24 40 01 57
+44 7920 594 255

http://p27.eu/jeff/
http://transport-nantes.com/

Reply via email to