Re: Sendmail and spamassassin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jul 15, 2004 at 11:05:52PM +0200, Edwin Dicker wrote:
> Hi All,
> I have installed and configured sendmail ( nothing really complicated in the
> sendmail.mc file )
> I also have installed spamassassin RPM (spamassassin-2.63-8)
> I have noticed that spamd is running on my system but When I receive mail on
> my clients there is nothing in the headers of the mail which indicates that
> spamd hads processed it. What do I have to tell sendmail to let spamd
> process the incoming mail ?
> 
> Thanks in advance
> Edwin
You use procmail which is run by sendmail by default. A sample
.procmailrc file in your home directory follows:
+++++++++++++++++++++++++++++++++++++++++

PATH=$HOME/bin:/usr/bin:/global/bin:/usr/ucb:/bin:/usr/local/bin:
SHELL=/bin/sh
MAILDIR =       $HOME/Mail      # You'd better make sure it exists
LOGFILE =       $MAILDIR/procmail.log
LOCKFILE=       $HOME/.lockmail

INCLUDERC=/etc/mail/spamassassin/spamassassin-default.rc

:0
*^Subject:.*\[SPAM\] 
spamjunk

:0
*^To:.*fedora-list@xxxxxxxxxx 
fedora
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
spamassassin has been  configured so it puts [SPAM} in the subject of the mail
identified as spam. You decide what you spam level has to be to
trigger this. Spam is placed in a mailbox called spamjunk in the Mail
directory. Just for additional functionality this .procmailrc file puts
all fedora mail in a fedora mailbox. 
-- 
-------------------------------------------
Aaron Konstam
Computer Science
Trinity University
One Trinity Place.
San Antonio, TX 78212-7200

telephone: (210)-999-7484
email:akonstam@xxxxxxxxxxx



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux