Firewall Wizards mailing list archives

smapd, procmail, and sendmail for hub filtering


From: "Sean A. Walberg" <sean () escape ca>
Date: Fri, 5 May 2000 21:00:46 -0500 (CDT)

In light of the recent email worms, I'd like to be able to filter out
stuff like attachments on my sendmail gateway.  All solutions point to
procmail, however they all use it as the local delivery mechanism.

However, my sendmail server doesn't have any mailboxes on it, as it
accepts the mail from the world and then resends it to internal machines
based on the domain (ie mailertables and MX), so I can't use the local
delivery feature.  The example in the procmail manpage for my
configuration requires an explicit domain, so it's only good for incoming
mail and the domains are static.

What I thought was to use smap to accept the mail, and then smapd would
pipe it through procmail which could filter and then pipe through sendmail
(instead of directly through sendmail).  Has anyone done this or know of
someone who has?  Is there a better way of doing what I'm attempting?

Thanks,

Sean

-------------------------------------------------------------------
Sean Walberg <sean () escape ca>            http://www.escape.ca/~sean
"Fore yeers ago I kudn't spel Engineer.  Now I are won."




Current thread: