Alvaro, > 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).
For timestamps on log entries it is the syslogd daemon that is prepending them, not amavisd - so amavisd has no control over it. For a Date header field in notifications, the RFC 2822 timestamp format is used (hardwired in more recent versions of amavisd, regardless of the Date in a notification template). This format is a local time (not UTC), with a time zone. I don't know why you are seeing UTC times, perhaps amavisd is running chrooted and the time zone is not configured correctly in a chroot jail. Mark ------------------------------------------------------------------------- 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/
