You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Zain Memon <za...@gmail.com> on 2005/02/05 08:37:56 UTC
Testing Amavis/SA
Hi.
I'm making a server to be put into a production environment with
postfix + razor + amavis + spamassassin, and I'm trying to make sure
its set up correctly. The test-messages are detected correctly, but
when I send myself an email with something like "FREE VIAGRA", it
passes as CLEAN. Is this normal?
Also, is there some way I can check what the score each message gets?
I've gone through the oogles of lines in "amavisd debug-sa", but I
don't find the score the message gets before it passes as clean.
Re: Testing Amavis/SA
Posted by Richard Ozer <ro...@ois-online.com>.
I meant to say main thing to check is that "SA" knows the location of your central
local.cf....
Richard Ozer wrote:
> That's right.. It's a little tricky testing w/ Amavis. Best thing to do
> is run amavisd with the DEBUG-SA switch, look for errors, and watch
> messages get processed. Get a throwaway account and send an email with
> a GTUBE in it to force a high score. Make sure you do that with a
> throwaway account... it'll blacklist it. Main thing to check is that
> amavis knows the location of your central local.cf file and can find all
> your custom rules. Amavis will not write spam headers until the score
> crosses the threshold you have set in amavisd.conf.
>
> You may want to also consider adding clamd antivirus or one of the other
> antivirus products as well... it's a good way to take the virus
> processing load off your mail server.
>
> RO
>
> John Andersen wrote:
>
>> On Friday 04 February 2005 10:37 pm, Zain Memon wrote:
>>
>>> Hi.
>>>
>>> I'm making a server to be put into a production environment with
>>> postfix + razor + amavis + spamassassin, and I'm trying to make sure
>>> its set up correctly. The test-messages are detected correctly, but
>>> when I send myself an email with something like "FREE VIAGRA", it
>>> passes as CLEAN. Is this normal?
>>>
>>> Also, is there some way I can check what the score each message gets?
>>> I've gone through the oogles of lines in "amavisd debug-sa", but I
>>> don't find the score the message gets before it passes as clean.
>>
>>
>>
>> Did you send if from an account on this mail server or from some
>> throw away account outside?
>>
>> SA usually gives a modicum of trust to mail originating on its
>> own server...
>>
Re: Testing Amavis/SA
Posted by Richard Ozer <ro...@ois-online.com>.
That's right.. It's a little tricky testing w/ Amavis. Best thing to do is run amavisd
with the DEBUG-SA switch, look for errors, and watch messages get processed. Get a
throwaway account and send an email with a GTUBE in it to force a high score. Make sure
you do that with a throwaway account... it'll blacklist it. Main thing to check is that
amavis knows the location of your central local.cf file and can find all your custom
rules. Amavis will not write spam headers until the score crosses the threshold you
have set in amavisd.conf.
You may want to also consider adding clamd antivirus or one of the other antivirus
products as well... it's a good way to take the virus processing load off your mail server.
RO
John Andersen wrote:
> On Friday 04 February 2005 10:37 pm, Zain Memon wrote:
>
>>Hi.
>>
>>I'm making a server to be put into a production environment with
>>postfix + razor + amavis + spamassassin, and I'm trying to make sure
>>its set up correctly. The test-messages are detected correctly, but
>>when I send myself an email with something like "FREE VIAGRA", it
>>passes as CLEAN. Is this normal?
>>
>>Also, is there some way I can check what the score each message gets?
>>I've gone through the oogles of lines in "amavisd debug-sa", but I
>>don't find the score the message gets before it passes as clean.
>
>
> Did you send if from an account on this mail server or from some
> throw away account outside?
>
> SA usually gives a modicum of trust to mail originating on its
> own server...
>
Re: Testing Amavis/SA
Posted by John Andersen <js...@pen.homeip.net>.
On Friday 04 February 2005 10:37 pm, Zain Memon wrote:
> Hi.
>
> I'm making a server to be put into a production environment with
> postfix + razor + amavis + spamassassin, and I'm trying to make sure
> its set up correctly. The test-messages are detected correctly, but
> when I send myself an email with something like "FREE VIAGRA", it
> passes as CLEAN. Is this normal?
>
> Also, is there some way I can check what the score each message gets?
> I've gone through the oogles of lines in "amavisd debug-sa", but I
> don't find the score the message gets before it passes as clean.
Did you send if from an account on this mail server or from some
throw away account outside?
SA usually gives a modicum of trust to mail originating on its
own server...
--
_____________________________________
John Andersen