0

From the python-libmilter I am trying to run the test milter.

The milter is listening (I can connect via telnet to localhost 5000)

I enabled the milter in the postfix config:

milter_protocol = 6
milter_default_action = accept
smtpd_milters = tcp:127.0.0.1:5000 unix:/var/run/opendkim/opendkim.sock
non_smtpd_milters = tcp:127.0.0.1:5000 unix:/var/run/opendkim/opendkim.sock

Thus, the testmilter should be called before the opendkim milter.
(postfix was of course restarted)

However, I don't get any log from the testmilter when I send an email.
Why is that?

Alexander
  • 267
  • 2
  • 8

1 Answers1

0

It must be inet:127.0.0.1:5000 instead of tcp:127.0.0.1:5000 (emphasis on inet vs tcp)

Alexander
  • 267
  • 2
  • 8