amavisd-submit

Mark Martinec Mark.Martinec+amavis at ijs.si
Mon Jan 23 17:14:35 CET 2012


> 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


More information about the amavis-users mailing list