amavisd-submit

Stephen Davies sdavies at sdc.com.au
Wed Jan 25 01:15:48 CET 2012


OOPS! I thought I had already updated to 2.7.0.

Any way, I now have updated and still get basically the same error in the mail 
log.

Jan 25 10:37:08 mustang amavis[10065]: (94LsvbC_Hm) Request: AM.PDP  
/var/amavis/amavis-94LsvbC_Hm: <didavies at sdc.com.au> -> <scldad at sdc.com.au>
Jan 25 10:37:08 mustang amavis[10065]: (94LsvbC_Hm) Checking: NtuVROSKEmIh 
AM.PDP-SOCK [165.228.168.21] <didavies at sdc.com.au> -> <scldad at sdc.com.au>
Jan 25 10:37:08 mustang amavis[10065]: (94LsvbC_Hm) local delivery: <> -> bad-
header-quarantine, mbx=/var/virusmails/badh-NtuVROSKEmIh
Jan 25 10:37:08 mustang amavis[10065]: (94LsvbC_Hm) Passed BAD-HEADER-6 
{AcceptedInbound,Quarantined}, AM.PDP-SOCK [165.228.168.21] [165.228.168.21] 
<didavies at sdc.com.au> -> <scldad at sdc.com.au>, quarantine: badh-NtuVROSKEmIh, 
Message-ID: <20120123054446.30266.65501 at server.benparts.com.au>, mail_id: 
NtuVROSKEmIh, Hits: -, size: 3692, 55 ms
Jan 25 10:37:08 mustang amavis[10065]: (94LsvbC_Hm) extra modules loaded: 
unicore/lib/Nt/De.pl, unicore/lib/Perl/SpacePer.pl

Attached is a tarball with a sample quarantined bad header and the email used 
in the test.

The command used was:

./amavisd-submit didavies at sdc.com.au scldad at sdc.com.au < /tmp/test.mbox

(BTW, if I leave off the domains in the above command, I get open relay 
errors).

-bash-4.1$ amavisd -V
amavisd-new-2.7.0 (20110701)

HTH,
Stephen

On Tue, 24 Jan 2012 02:44:35 AM Mark Martinec wrote:
> > I am trying to use amavisd-submit to test some mods to amavisd but,
> > regardless of what I provide as test messages, I always get a bad header
> > error such as:
> > 
> > Jan 23 16:38:03 mustang amavis[13023]: (e7zbyK0JXG) AM.PDP
> > /var/amavis/amavis-e7zbyK0JXG: <john at benparts.com.au> ->
> > <sdavies at sdc.com.au> Jan 23 16:38:03 mustang amavis[13023]: (e7zbyK0JXG)
> > Checking: 0FIOLG4hEeMz AM.PDP-SOCK [165.228.168.21]
> > <john at benparts.com.au> -> <sdavies at sdc.com.au> Jan 23 16:38:03 mustang
> > amavis[13023]: (e7zbyK0JXG) cached
> > 0346b61fbc4b35ba7a6371dd32f4625b from <john at benparts.com.au> (1,0)
> > Jan 23 16:38:03 mustang amavis[13023]: (e7zbyK0JXG) local delivery: <> ->
> > bad- header-quarantine, mbx=/var/virusmails/badh-0FIOLG4hEeMz
> > Jan 23 16:38:03 mustang amavis[13023]: (e7zbyK0JXG) Passed BAD-HEADER,
> > AM.PDP- SOCK [165.228.168.21] [165.228.168.21] <john at benparts.com.au> ->
> > <sdavies at sdc.com.au>, quarantine: badh-0FIOLG4hEeMz, Message-ID:
> > <20120123054446.30266.65501 at server.benparts.com.au>, mail_id:
> > 0FIOLG4hEeMz, Hits: -, size: 3692, 38 ms
> 
> To facilitate troubleshooting, first disable caching of results:
> $enable_global_cache = 0 (or upgrade amavisd to 2.7.0 which no longer uses
> caching or results).
> 
> If the problem persists, please show the full log of the event, after first
> making sure the message to be submitted looks fine.
> 
>   Mark

-- 
=============================================================================
Stephen Davies Consulting P/L                             Voice: 08-8177 1595
Adelaide, South Australia.                                Fax  : 08-8177 0133
Records & Collections Management.                         Mobile:040 304 0583
-------------- next part --------------
A non-text attachment was scrubbed...
Name: amavisd-submit.tgz
Type: application/x-compressed-tar
Size: 1601 bytes
Desc: not available
URL: <http://lists.amavis.org/pipermail/amavis-users/attachments/20120125/e22e6bd6/attachment.bin>


More information about the amavis-users mailing list