At 14:12 2002-02-18 +1100, dennis wrote:
I'm new to the list/procmail so please forgive if I'm asking a silly
question I've been asked to look into mail/content filtering for our small
150+ person corp.
Is anyone using Procmail and Qmail in a relay/gateway server setup ?
I'm not running Qmail. Even so, you should keep in mind that Procmail is
an LDA - if you're setting up a gateway mail system (something that holds
and forwards mail, but isn't a repository for user mailboxes), you're going
to have to play tricks with the MTA config to get it to call Procmail as a
rule-invoked filter, because its normal method of invocation is for the
final delivery of messages (either as the MTA-configured LDA, or from a
.forward file).
I drafted up some notes on calling procmail from within sendmail rulesets
(entirely prior to the message ever being determined to be for local
delivery). I posted a URL for that (preliminary) material here a couple of
weeks back for others to review, though I haven't had any responses -
likely because very few people actually run procmail from within the MTA
rulesets (it isn't efficient to call a program which in turn must call the
MTA again to complete the delivery).
<http://www.professional.org/procmail/mailer.html>
This writeup is for sendmail, and is still awaiting review by my peers. I
do not run procmail in this configuration myself - a sufficient number of
people asked how to do something, and I went about documenting the sendmail
part of the configuration to demonstrate how it worked. The above MAY give
you some insights, or it might give you a headache.
How easy is it to write procmail filters ?
Most filters are quite easy to write. If you get into something
complicated, then, well, you're looking at additional complexity. You
should check out the procmail FAQs (see <http://www.procmail.org>
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail