>
> > if "I DON'T KNOW WHAT TO ASK" then
>
> You could use
> 'if $message_body matches "^Content-Type:.+?boundary=" then'
>
> I think that is basically what you want.
> You then also might need to look for lines starting with begin 666 to
> catch uuencoded inline attachments.
>
Hi,
yes, this is basically what I want, but it does not work. I have added
the following to my system_filter:
if $message_body matches "^Content-Type:.+?boundary="
then
logfile /var/log/exim/attachment.log 0644
logwrite "$tod_log $message_id with attachment ($1)"
logwrite "$tod_log subject : $rheader_subject"
logwrite "$tod_log recipients : $recipients"
logwrite "$tod_log return path : $return_path"
logwrite "------------------------------------------------------------------------------"
seen
endif
but nothing will be logged to the attachment.log file.
--
Regards,
Jens Strohschnitter
-------------------------------------
*!!!LINUX LINUX LINUX LINUX LINUX!!!*
* http://www.jens-strohschnitter.de *
-------------------------------------
Set the controls for
the heart of the sun
-------------------------------------