Paul van der Vlis:
> Hello Wietse and others:
>
> Op 16-11-2022 om 15:36 schreef Wietse Venema:
> > Paul van der Vlis:
> >> Is there a way to get it refused before-queue?
> >
> > Yes. IF A MILTER REJECTS A MESSAGE then Postfix will not accept it.
>
> So far I see the message is queued as C6E2F880CEC:
THEN, the Milter DID NOT REJECT the message.
Wietse
> root@hosting:~# echo "Test virus body" | mutt -a eicar.com.txt -s "This
> is virus6" -- [email protected]
> root@hosting:~# less /var/log/mail.log
> root@hosting:~# grep C6E2F880CEC /var/log/mail.log
> Nov 16 14:10:41 hosting postfix/smtp[2091127]: 9A98D22A1B:
> to=<[email protected]>, relay=server.vandervlis.nl[45.95.238.187]:25,
> delay=3.3, delays=0.02/0/0.12/3.2, dsn=2.0.0, status=sent (250 2.0.0 Ok:
> queued as C6E2F880CEC)
>
> root@server:~# grep C6E2F880CEC /var/log/mail.log
> Nov 16 14:10:41 server postfix/smtpd[61278]: C6E2F880CEC:
> client=hosting.vandervlis.nl[91.198.178.59]
> Nov 16 14:10:41 server postfix/cleanup[61285]: C6E2F880CEC:
> message-id=<[email protected]>
> Nov 16 14:10:41 server clamav-milter[5258]: Message C6E2F880CEC from
> <[email protected]> to <[email protected]> with subject 'This
> is virus6' message-id '<[email protected]>' 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=<[email protected]>
> to=<[email protected]> proto=ESMTP helo=<hosting.vandervlis.nl>
>
> With regards,
> Paul van der VLis
>
>
> --
> Paul van der Vlis Linux systeembeheer Groningen
> https://vandervlis.nl/
>