>>>I wonder how I can change a log template in such a way that 
>>>amavis logs me the MIME parts it finds in a message as it 
>>>does in the higher log levels. I would like to see that 
>>>information, but not all other timing etc. parameters that 
>>>get thrown out at higher levels.
>>>      
>>>
>>Find this code in amavisd:
>>
>>   do_log(2, "%s %s Content-Type: %s", $part->base_name, $placement, $mt);
>>
>>and replace the 2 (which is the log level at which to print out the log
>>entry) with a 0.
>>    
>>
Hmmm, what I originally wanted was to have the *filenames* of the 
extracted files. Amavisd now tells me that ist has extracted some parts 
and the mime type, but no name :

Feb 12 18:00:24 palmaiola amavis[2268]: (02268-01-4) Checking: 
b3Zv+68l4Jsj [194.25.134.17] <> -> <...>
Feb 12 18:00:24 palmaiola amavis[2268]: (02268-01-4) Extracting mime 
components
Feb 12 18:00:24 palmaiola amavis[2268]: (02268-01-4) p003 1 
Content-Type: multipart/report

That's all. Bug or feature ? I think I remember the filenames being 
displayed as part of this output.

Jakob Curdes


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
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