<div dir="ltr"><div><div>From the logs I can see that milter is discarding the mail.<br></div>I don't have much of the knowledge about sendmail and milter configuration.<br></div>In this case amavis is trying to quarantine the mail but milter is telling sendmail to discard it.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Nov 20, 2013 at 3:43 AM, Stephen Davies via amavis-users <span dir="ltr"><<a href="mailto:amavis-users@amavis.org" target="_blank">amavis-users@amavis.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I thought that I had configured amavis to quarantine bad header mails but the<br>
quarantine is not happening.<br>
<br>
The following mail log entries show that the bad header is detected and<br>
apparently quarantined but there are no badh??? files in /var/virusmails.<br>
<br>
What configuration glich could lead to this behaviour?<br>
<br>
Cheers and thanks,<br>
Stephen<br>
<br>
PS. Comparable banned quarantine is working as expected.<br>
<br>
Nov 20 05:39:30 server sendmail[4148]: rAJJ9Q6x004148: from=<>, size=328,<br>
class=0, nrcpts=1, msgid=<<a href="mailto:201311191909.rAJJ9Q6x004148@server.benparts.com.au">201311191909.rAJJ9Q6x004148@server.benparts.com.au</a>>,<br>
proto=SMTP, daemon=MTA, relay=<a href="http://mm-168-146-121-178.dynamic.pppoe.mgts.by" target="_blank">mm-168-146-121-178.dynamic.pppoe.mgts.by</a><br>
[178.121.146.168] (may be forged)<br>
Nov 20 05:39:30 server amavis[12111]: (12111) Request: AM.PDP<br>
/var/amavis/tmp/afrAJJ9Q6x004148: <> -> <<a href="mailto:john@benparts.com.au">john@benparts.com.au</a>><br>
Nov 20 05:39:30 server amavis[12111]: (12111) Checking: Pgs1-MflCzLG AM.PDP-<br>
SOCK [178.121.146.168] <> -> <<a href="mailto:john@benparts.com.au">john@benparts.com.au</a>><br>
Nov 20 05:39:31 server amavis[12111]: (12111) local delivery: <> -> bad-<br>
header-quarantine, mbx=/var/virusmails/badh-Pgs1-MflCzLG<br>
Nov 20 05:39:31 server amavis[12111]: (12111) Blocked BAD-HEADER-0<br>
{DiscardedInbound,Quarantined}, AM.PDP-SOCK [178.121.146.168] [46.60.149.217]<br>
<> -> <<a href="mailto:john@benparts.com.au">john@benparts.com.au</a>>, quarantine: badh-Pgs1-MflCzLG, Queue-ID:<br>
rAJJ9Q6x004148, mail_id: Pgs1-MflCzLG, Hits: -, size: 532, 25 ms<br>
Nov 20 05:39:31 server sendmail[4148]: rAJJ9Q6x004148: Milter: data, discard<br>
Nov 20 05:39:31 server sendmail[4148]: rAJJ9Q6x004148: discarded<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
=============================================================================<br>
Stephen Davies Consulting P/L Phone: 08-8177 1595<br>
Adelaide, South Australia. Mobile:040 304 0583<br>
Records & Collections Management.<br>
</font></span></blockquote></div><br></div>