[iso-8859-1] Jonis Maurin Cear� �rites:

Hi!
I'm trying to use spamassasin but it doesn't work :/
Anybody can help-me?
I also have tryied to use like xfilter but doesn't work too :/

now i'm trying thsi, but don't work:

DEFAULTDELIVERY="| /usr/bin/spamassassin | /usr/lib/courier/bin/maildrop"



All e-mails are delivered right, but no one are detected by spamassassin...

i sent a spam mail test, but spamassasin don't detected...

wehn i try this:

$ cat gtube.txt | /usr/bin/spamassassin



Spamassassin works fine...



whats wrong? :(


This is my actual .mailfilter file


# Import Variables
#
import HOME
import SENDER
import RECIPIENT

# Virus Scan

if ($SENDER ne "")
{
FROM=$SENDER
}
else
{
FROM="unknown"
}

xfilter "/usr/sbin/amavis $FROM $RECIPIENT"

if (/^Subject:.*VIRUS IN*/)
{
exception {
to "Maildir/.Virus"
}
}

#If a virus was detected the mail goes to Maildir/.Virus
#and no further checking is done for that piece of mail.

#If no viruses are found then Spam Assasin is called next;

# Spam Assassin

xfilter "/usr/bin/spamassassin -x"

if (/^X-Spam-Flag: *YES/)
{
to "Maildir/.Spam"
}

Hope this help.

--
Svetozar Mihailov



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to