Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2002 15:21:45 -0500
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Giorgos Keramidas <keramida@ceid.upatras.gr>
Cc:        Jeff Jirsa <jeff@boris.st.hmc.edu>, 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:  <20020612202145.GC56055@dan.emsphone.com>
In-Reply-To: <20020612193734.GA699@hades.hell.gr>
References:  <20020612103854.A14026@crackula.com> <20020612104844.N61576-100000@boris.st.hmc.edu> <20020612193734.GA699@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Jun 12), Giorgos Keramidas said:
> 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 :)

This only applies to local users, which may or may not be the desired
result.  The milter applies to any email processed by sendmail
(incoming, outgoing, or relayed).

-- 
	Dan Nelson
	dnelson@allantgroup.com

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?20020612202145.GC56055>