Paul van der Vlis:
Is there a way to get it refused before-queue?
Op 16-11-2022 om 15:36 schreef Wietse Venema:
Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it.
On 16.11.22 17:12, Paul van der Vlis wrote:
root@hosting:~# echo "Test virus body" | mutt -a eicar.com.txt -s
"This is virus6" -- p...@vandervlis.nl
Nov 16 14:10:41 server clamav-milter[5258]: Message C6E2F880CEC from
<r...@hosting.vandervlis.nl> to <p...@vandervlis.nl> with subject
'This is virus6' message-id '<y3thtmy529ngk...@hosting.vandervlis.nl>'
date 'Wed, 16 Nov 2022 14:10:38 +0100' infected by Eicar-Signature
Nov 16 14:10:41 server postfix/cleanup[61285]: C6E2F880CEC:
milter-hold: END-OF-MESSAGE from hosting.vandervlis.nl[91.198.178.59]:
milter triggers HOLD action; from=<r...@hosting.vandervlis.nl>
^^^^^^^^^^^^^^^^^^^^^^^^^^^
to=<p...@vandervlis.nl> proto=ESMTP helo=<hosting.vandervlis.nl>
from clamav-milter.conf man page:
OnInfected STRING
Action to be performed on infected messages
Default: Quarantine
set it to reject:
OnInfected Reject
--
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I'm not interested in your website anymore.
If you need cookies, bake them yourself.