Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2003 09:13:41 +0100 (CET)
From:      Dirk-Willem van Gulik <dirkx@webweaving.org>
To:        BSD Freak <bsd-freak@mbox.com.au>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Procmail site-wide recipe's
Message-ID:  <20030211091127.V39612-100000@foem.leiden.webweaving.org>
In-Reply-To: <25589c92557674.255767425589c9@mbox.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 11 Feb 2003, BSD Freak wrote:

> I am running a 4.7-R/sendmail mail server. I currently use procmail on a
> few email accounts using a .forward in each home directory. 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.

Note that changes to that file take instant effect; i.e. no sendmail
restart so you want to be more careful than normal perhaps.

Dw.


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?20030211091127.V39612-100000>