Alex, > Is there any way to hack into amavis to save all incomming/outgoing mail > subject? I want to save message_id and the subject.
Just uncomment the: [? [:header_field|Subject]||, Subject: [:dquote|[:header_field|Subject|100]]]# and [? %m ||, Message-ID: %m]# lines (by removing a '#' in the first column) in the log template, or edit the template as you like (see README.customize for a list of macros and macro evaluation rules). The default log template can either be edited near the end of a file 'amavisd' - search for "This text section governs how a main per-message amavisd-new log entry" or can be replaced entirely by assigning a replacement text to a variable $log_templ in amavisd.conf. Mark ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ AMaViS-user mailing list AMaViS-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/amavis-user Please visit http://www.ijs.si/software/amavisd/ regularly For administrativa requests please send email to rainer at openantivirus dot org