Can anyone tell me how to integrate sendmail and spamassassin? All my
efforts till now have failed. Here's my info:
baby ~ # emerge -pv sendmail spamassassin procmail
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] mail-mta/sendmail-8.14.0 USE="sasl ssl tcpd -ipv6 -ldap
-mailwrapper -mbox -nis -sockets" 0 kB
[ebuild R ] mail-filter/spamassassin-3.1.8-r1 USE="berkdb doc mysql
ssl -ipv6 -ldap -postgres -qmail -sqlite -tools" 0 kB
[ebuild R ] mail-filter/procmail-3.22-r7 USE="-mbox (-selinux)" 0
kB
Total: 3 packages (3 reinstalls), Size of downloads: 0 kB
baby ~ # cat /etc/mail/sendmail.mc
divert(-1)
divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')dnl
VERSIONID(`$Id: sendmail.mc,v 1.2 2004/12/07 01:59:31 g2boojum Exp
$')dnl
OSTYPE(linux)dnl
DOMAIN(generic)dnl
#define(`confTO_IDENT',`0s')dnl
FEATURE(`smrsh',`/usr/sbin/smrsh')dnl
FEATURE(`local_lmtp',`/usr/sbin/mail.local')dnl
FEATURE(`access_db', `hash -T<TMPF> /etc/mail/access')dnl
FEATURE(local_procmail)dnl
MASQUERADE_AS(`espersunited.com')dnl
MASQUERADE_DOMAIN(`espersunited.com')dnl
FEATURE(`masquerade_entire_domain')dnl
MAILER(local)dnl
MAILER(smtp)dnl
MAILER(pop)dnl
MAILER(procmail)dnl
baby ~ # cat /etc/procmailrc
# Use maildir-style mailbox in user's home directory
DEFAULT=$HOME/.maildir/
DROPPRIVS=yes
#Uncomment the following lines to allow for logging
#
LOGFILE=/var/log/procmail
VERBOSE=ON
#
:0fw
# The following line tells Procmail to send messages to Spamassassin
only if they are less thatn 256000 bytes. Most spam falls well below
this size and a larger size could seriously affect performance.)
* < 256000
#
| /usr/bin/spamassassin -P
#
:0e
{
EXITCODE=$?
}
baby ~ #
baby ~ # /etc/init.d/spamd status
* status: started
baby ~ #
Please help!
--
[EMAIL PROTECTED] mailing list