Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Oct 2006 17:49:12 -0500
From:      Jonathan Horne <freebsd@dfwlp.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: sendmail + spamassassin
Message-ID:  <200610081749.13045.freebsd@dfwlp.com>
In-Reply-To: <1160340747.1028.8.camel@arwen>
References:  <1160340747.1028.8.camel@arwen>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday 08 October 2006 15:52, dick hoogendijk wrote:
> What is the best way to integrate spamassasin with sendmail?
> MIMEDefang?

i do this:

add this to /etc/make.conf:
SENDMAIL_CFLAGS=-I/usr/local/include -DSASL=2
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2

cd /usr/ports/security/cyrus-sasl2-saslauthd; make install clean

cd /usr/src/lib/libsm; make clean; make obj; make depend; make
cd /usr/src/lib/libsmutil; make clean; make obj; make depend; make
cd /usr/src/usr.sbin/sendmail; make clean; make obj; make depend; make; make 
install

cd /usr/ports/mail/dovecot; make install clean

cd /usr/ports/mail/spamass-milter; make install clean


the last part there, will install spamassassin as well as spamass-milter.  
along with settings things to be able to start in /etc/rc.conf (and 
configuring other .conf files as necessary), this will get you everything you 
need for a mail service (of course, if you already have a favorite pop3/imap 
solution in place, omit the dovecot sugesstion).

if you do end up interested in seeing how i set my server up, line by line, i 
have a document here that you might like:

http://dfwlpiki.dfwlp.org/index.php/Deploying_a_FreeBSD_Server#Configuring_Mail_Services

cheers,
jonathan



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