Hi
I have a some problem with setup
opendkim+opendmarc+amavisd-milter


---- main.cf-------
smtpd_milters = inet:localhost:10028,inet:localhost:10027,inet:localhost:10029


When I try local telnet 25 i get many many logs like:
......
Oct 17 13:59:01 mail2 postfix/10028/smtpd[60000]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60001]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60002]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60003]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60004]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60005]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60006]: connect from localhost[127.0.0.1] Oct 17 13:59:01 mail2 postfix/10028/smtpd[60007]: connect from localhost[127.0.0.1]
...

When I send localy mail i get many logs like:
...
Oct 17 13:52:41 mail2 postfix/10028/smtpd[57064]: connect from localhost[127.0.0.1] Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter inet:localhost:10028: can't read SMFIC_OPTNEG reply packet header: Connection timed out Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter inet:localhost:10028: read error in initial handshake Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: warning: milter inet:localhost:10027: unexpected reply "[" in initial handshake Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: lost connection after CONNECT from localhost[127.0.0.1] Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: disconnect from localhost[127.0.0.1] commands=0/0 Oct 17 13:52:41 mail2 postfix/10028/smtpd[57065]: connect from localhost[127.0.0.1] Oct 17 13:52:41 mail2 postfix/10028/smtpd[57062]: warning: milter inet:localhost:10028: can't read SMFIC_OPTNEG reply packet header: Connection timed out Oct 17 13:52:41 mail2 postfix/10028/smtpd[57062]: warning: milter inet:localhost:10028: read error in initial handshake Oct 17 13:52:41 mail2 postfix/10028/smtpd[57062]: warning: milter inet:localhost:10027: unexpected reply "[" in initial handshake Oct 17 13:52:41 mail2 postfix/10028/smtpd[57062]: lost connection after CONNECT from localhost[127.0.0.1] Oct 17 13:52:41 mail2 postfix/10028/smtpd[57062]: disconnect from localhost[127.0.0.1] commands=0/0
....

/etc/default/opendkim:
SOCKET="inet:10028@localhost"

/etc/opendkim.conf:
Canonicalization        relaxed/simple
Mode                    v
OversignHeaders         From
AuthservID              HOSTNAME
UserID                  opendkim
UMask                   007
Socket                  inet:10028@localhost
PidFile                 /run/opendkim/opendkim.pid
TrustAnchorFile         /usr/share/dns/root.key

I use amavis for sign DKIM but validate opendkim+dmarc in postfix via milter

When I diable opendkim via miler works fine .... but this is not the solutions

any idea ?

Server: Ubuntu 22.04.3 LTS
postfix: 3.6.4
--
_______________________________________________
Postfix-users mailing list -- postfix-users@postfix.org
To unsubscribe send an email to postfix-users-le...@postfix.org

Reply via email to