Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 22:37:34 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Jeff Jirsa <jeff@boris.st.hmc.edu>
Cc:        Adam Weinberger <monkey@crackula.com>, Ruben de Groot <fbsd-q@bzerk.org>, "Philip J. Koenig" <pjklist@ekahuna.com>, questions@FreeBSD.ORG
Subject:   Re: Sendmail library question/problem
Message-ID:  <20020612193734.GA699@hades.hell.gr>
In-Reply-To: <20020612104844.N61576-100000@boris.st.hmc.edu>
References:  <20020612103854.A14026@crackula.com> <20020612104844.N61576-100000@boris.st.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-06-12 10:54 -0700, Jeff Jirsa wrote:
> On Wed, 12 Jun 2002, Adam Weinberger wrote:
> 
> > sure it does. i use it.
> >
> > $ echo "|/usr/local/bin/spamassassin" > ~/.forward
> >
> > -Adam
> 
> Which works for you, individually, but not the entire site. His goal, it
> appears, is to do filtering on all mail coming into his server, not just
> his individual mail.

Add to sendmail.mc:

	FEATURE(`local_procmail')dnl
	MAILER(`procmail')dnl

Run as root:

	# cd /usr/local/etc
	# cat > procmailrc

	:0 f
	|/usr/local/bin/spamassassin

Done, and spamassassin is used site-wide :)

- Giorgos


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?20020612193734.GA699>