OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
content filtering at the local(8) level

From: Neale Pickett (nealewoozle.org)
Date: Tue Jan 04 2005 - 01:20:47 CST


I'm trying to set up a sitewide anti-virus filter which will quarantine
messages if they are suspected to be virus. I would like this to run
before the LDA, but after alias_maps is consulted, since I need the name
of the end-user in quarantine for the right user.

Lastly, I would prefer not to use mailbox_command, since I want the
filter to run as its own user, and would prefer not to have a suid root
wrapper around the LDA.

At this point I suspect I may have to write my program as a Postfix
transport, use the mailbox_transport parameter to send to it, and then
have it somehow invoke local(8) a second time, without the
mailbox_transport parameter specified. I'm hoping someone on this list
has an idea that's easier to implement :)

Thanks

Neale