Filetype/Filename Rules: strip attachment AND forward original mail to third address

Julian Field MailScanner at
Thu Apr 29 12:30:49 IST 2010

On 29/04/2010 12:01, Markus Wennrich wrote:
> So no idea? Anybody?
> Markus Wennrich wrote:
>> Hi
>> # Syntax is allow/deny/deny+delete/email-addresses, then regular expression,
>> #           then log text, then user report text.
>> #
>> # The "email-addresses" can be a space or comma-separated list of email
>> # addresses. If the rule hits, the message will be sent to these address(es)
>> # instead of the original recipients.
>> Is it possible, to deny a attachment (and have the mail sent to the
>> original recipient without the attachment) AND have the original mail
>> (with the attachment included) forwarded to another email-address?
>> For example:
>>    1) mail to user at with "fun.exe" attached comes in
>>    2) mail is sent to user at, but "fun.exe" has been replaced by
>> "stored.filename.message.txt"
>>    3) a copy of the original mail with fun.exe included is forwarded to
>> security-admins at
>> "clean" mails should not be forwarded
>> Is something like this possible?
Not currently, no.


Julian Field MEng CITP CEng
Buy the MailScanner book at

Need help customising MailScanner?
Contact me!
Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at and

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

More information about the MailScanner mailing list