Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 12:43:23 +0100
From:      dick hoogendijk <dick@nagual.st>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: Procmail site-wide recipe's
Message-ID:  <20030212114323.GA7890@nagual.st>
In-Reply-To: <20030211091127.V39612-100000@foem.leiden.webweaving.org>
References:  <25589c92557674.255767425589c9@mbox.com.au> <20030211091127.V39612-100000@foem.leiden.webweaving.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11 Feb Dirk-Willem van Gulik wrote:
> On Tue, 11 Feb 2003, BSD Freak wrote:
> > Does anyone know how I can make a procmail recipe apply to all users
> > on the mail server?
> 
> Add to your sendmail.mc file

> 	MAILER(procmail)

> then add to your mailer table something like:

> 	domain1.com	procmail:/etc/maps/domain1.com.map
> 	domain2.com	procmail:/etc/maps/domain2.com.map

> And the latter, domain1.com.map is your global map for that domain.

I don't understand why you should involve the mailertable function for
this.
I've "mailer(procmail)" in sendmail.cf and procmail is automatically
used for local delivery. Am I to understand that your solution is for
/outgoing/ procmail messages?

-- 
dick -- http://www.nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.7 ++ Debian GNU/Linux (Woody)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030212114323.GA7890>