Hello,

I try to get mail refused when there is a virus in it, like with "reject_invalid_hostname" in smtpd_recipient_restrictions.

Clamav-milter works on port 10026, but the mail is always added to the queue. There it is deleted.

This is what I use at the moment in main.cf:
-----
milter_protocol = 6
smtpd_milters =
  { inet:localhost:10026, connect_timeout=30s, default_action=reject }
  { inet:localhost:8891,  connect_timeout=30s, default_action=accept }
non_smtpd_milters = $smtpd_milters
----

Is there a way to get it refused before-queue?

With regards,
Paul van der VLis


--
Paul van der Vlis Linux systeembeheer Groningen
https://vandervlis.nl/

Reply via email to