> > Hi, Is there a way to log specific headers of mails marked 
> as spam in 
> > amavisd-new
> 
> Not really. You can log Message-Id (macro %m),  the first 
> Resent-Message-ID (macro %r), and the Subject (macro %j) by 
> including these macros in the $log_templ or in 
> $log_recip_templ. Other header fields are not available as 
> macros, so you will have to hack the code to fetch them
> (e.g.: $entity->head->get('In-Reply-To',0) ) and insert them 
> in the main log entry.
> 

Not knowing exactly what your intent is for logging such headers, I'll toss
out a suggestion if you are using Postfix.  You can add a header_check using
WARN as an action if you want to simply log specific headers.



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
AMaViS-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/

Reply via email to