Routing mail based on attachment extension
Julian Field
MailScanner at ecs.soton.ac.uk
Thu Jan 31 09:33:14 GMT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Bo Bulger wrote:
> Good day,
>
> Would I use a rule or a custom function to accomplish the following issue?
The simple answer is "yes". A Custom Function would do it. You would
have to play with the recipients list depending on what you found in the
attachments directory. It could be done at almost any stage after the
virus scanning has been done. I mess with the recipients list in other
places, so you can see how I do it. If you can't find any code that does
that bit, I've definitely got some here (my local auto-spam-deletion
code does it in a Custom Function). Surfing the attachments directory is
the easy bit.
What would you do with messages with multiple recipients?
>
> I want to route a message sent to mailbox1, if the message contains a
> specific attachment type, send the message to mailbox2.
>
> Example, message to mailbox1 contains attachment.eml. Do not send to
> mailbox1, instead send to mailbox2.
>
> It seems similar to spam or blacklist quarantine, but I am looking for
> something that is per mailbox and per attachment.
>
> This is my first post to the mailing list. Please correct me if I have
> not followed posting standards.
>
> Bo Bulger
Jules
- --
Julian Field MEng CITP CEng
www.MailScanner.info
Buy the MailScanner book at www.MailScanner.info/store
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
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.7.0 (Build 1012)
Comment: (pgp-secured)
Charset: ISO-8859-1
wj4DBQFHoZXaEfZZRxQVtlQRAjqPAKDTIKpHm0sczLkg5c/DH12f+2iT3QCSA6Lj
6Q0zB5tAk3xa2rh023vHew==
=wtlp
-----END PGP SIGNATURE-----
--
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