How to perform archiving of headers only?

Sahil Tandon sahil at FreeBSD.org
Mon Jul 4 00:09:25 CEST 2011


On Sun, 2011-07-03 at 22:32:26 +0200, Alexander Hoogerhuis wrote:

> So, is there a quick way of getting amavisd-new to archive just
> headers from all passing emails, much like a local quarantine of
> spam, virii and other bad things?

Perhaps you can write something yourself using the information already
available via the $msginfo object.  As noted in amavisd-custom.conf:

 # some mail header fields are available through $msginfo->orig_header_fields
 # these may be multiline, may contain folding whitespace or comments;
 # alternatively, the whole original mail header is available in ->orig_header
 
-- 
Sahil Tandon <sahil at FreeBSD.org>


More information about the amavis-users mailing list