Does anybody know how to add to the topic of positively scanned message a text string (ie. by adding some perl lines into batemail code)?
Now it is possible to create seperate batemail-notice file but it would be great to add also a notification to the topic of the message (that 'bad attachment was found and removed).
It requires a fundamental redesign of batemail in order to accomplish it. The best method is to run into batemail and have batemail call procmail. When procmail spots the notice, it can make the necessary changes. The other method requires adding queuing to batemail so that changes can be made after you've reached the end of the message before sending the message on to the lda.