Alvaro Uría wrote:
> Hi all!
> 
> I've been looking how to change the default amavisd-new date format (UTC)
> on log entries and headers of emails, but I haven't found it.
> 
> I've seen the code on the amavisd perl script, and I've read the
> README.customize, but I don't know how to apply the change for using
> date_rfc2822_local (or %d).
> 
> Thanks in advance :-)
> 
> Best regards,
>   Alvaro.
> 
> PS: BTW, I'm using amavisd-new 2.4.4

At the end of amavisd, there are templates (search beginning with "This 
text section").  These templates are what you customize, by replacing, 
for example %d, with the desired time macro.  Search "%d" downward after 
you are at the first template, and you'll find a line that starts with

Date: %d

This should get your started.
MrC

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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