<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi there,<br>
<br>
I've setup amavisd-new with amavisd-milter (amavisd-new 2.11.1,
amavisd-milter 1.7.1, Postfix 3.5.6).</p>
<p> I'm using D_REJECT for $final_virus_destination. If I use telnet
I can see that it does reject correctly:</p>
<blockquote>
<p>Connected to mail.no-uce.de.<br>
Escape character is '^]'.<br>
220 mail.no-uce.de ESMTP Postfix<br>
EHLO example.com<br>
250-mail.no-uce.de<br>
250-PIPELINING<br>
250-SIZE<br>
250-VRFY<br>
250-ETRN<br>
250-STARTTLS<br>
250-ENHANCEDSTATUSCODES<br>
250-8BITMIME<br>
250-DSN<br>
250-SMTPUTF8<br>
250 CHUNKING<br>
MAIL FROM:<a class="moz-txt-link-rfc2396E" href="mailto:someone@example.com"><someone@example.com></a><br>
250 2.1.0 Ok<br>
RCPT TO:<a class="moz-txt-link-rfc2396E" href="mailto:himself@jeanbruenn.info"><himself@jeanbruenn.info></a><br>
250 2.1.5 Ok<br>
DATA<br>
354 End data with <CR><LF>.<CR><LF><br>
<< EICAR SIGNATURE HERE >><br>
<br>
.<br>
<b>554 5.7.0 Reject, id=06986-07 - INFECTED: Eicar-Signature</b><br>
quit<br>
221 2.0.0 Bye<br>
Connection closed by foreign host.<br>
</p>
</blockquote>
<p>So that seems to work.</p>
<p> If I use my gmail address and send an E-Mail from gmail to my
server I can see it rejected in the logs:</p>
<blockquote>
<p>AugĀ 8 01:00:00 mail amavis[6987]: (06987-07) Blocked INFECTED
(Eicar-Signature) {<b>RejectedInbound</b>}, AM.PDP-SOCK
[209.85.208.41] [209.85.208.41] <a class="moz-txt-link-rfc2396E" href="mailto:xxx@gmail.com"><xxx@gmail.com></a> ->
<a class="moz-txt-link-rfc2396E" href="mailto:himself@jeanbruenn.info"><himself@jeanbruenn.info></a>, Queue-ID: C2D7113F99D,
Message-ID:
<a class="moz-txt-link-rfc2396E" href="mailto:CAHJLFye_NLns9UekM=mEXNxbb8EfyXbO0a7+N99kyQQtPXLqYw@mail.gmail.com"><CAHJLFye_NLns9UekM=mEXNxbb8EfyXbO0a7+N99kyQQtPXLqYw@mail.gmail.com></a>,
mail_id: QNMup7dScVzw, Hits: -, size: 3173,
dkim_sd=20161025:gmail.com, 462 ms<br>
AugĀ 8 01:00:00 mail postfix/cleanup[7313]: C2D7113F99D:
milter-reject: END-OF-MESSAGE from
mail-ed1-f41.google.com[209.85.208.41]:<b> 5.7.0 Reject</b>,
id=06987-07 - INFECTED: Eicar-Signature;
from=<a class="moz-txt-link-rfc2396E" href="mailto:xxx@gmail.com"><xxx@gmail.com></a> to=<a class="moz-txt-link-rfc2396E" href="mailto:himself@jeanbruenn.info"><himself@jeanbruenn.info></a>
proto=ESMTP helo=<mail-ed1-f41.google.com></p>
</blockquote>
<p>(and no, xxx@ is not my real gmail address :-))</p>
<p>So that seems to work as well.</p>
<p><br>
</p>
<p>But: I never get anything (DSN?) in my gmail mail. So I'm
wondering if I configured something wrongly on my side or if
google just discards some specific DSNs.</p>
<p>If I send an E-Mail from gmail to a non-existing mail address I
get a message in my gmail inbox, that that address does not exist.
<br>
</p>
<p>I was searching in all folders of that gmail web account but I
couldn't find it anywhere.</p>
<p><br>
</p>
<p>I'm curious: anyone else observed this behavior with gmail? If
google does not inform their users about mails that were rejected,
this might be very problematic, hence I'm a bit confused and
wondering if I configured something wrong.<br>
</p>
<p>Jean<br>
</p>
<p><br>
</p>
</body>
</html>