You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@spamassassin.apache.org by Nigel Frankcom <ni...@blue-canoe.net> on 2006/10/31 11:23:13 UTC

Re: How to score mail to a defined address when not coming from a defined IP list

On Tue, 31 Oct 2006 11:19:40 +0100, "Fabio" <fa...@libero.it>
wrote:

>Hi,
>I have a small site with some users and a sendmail mailing lists that contain all users. This mailing list is used almost exclusively by internal users, sending mail to all other users.
>Unfortunately, I receive a lot of spam (about 60% of total spam) to this address, and this is bad because all users get the spams.
>
>I'd like to add a custum rule that add a score (say 2.5) if a message is destinated to this address AND not come from a list of my IPs.
>
>I am using SA 3.1 with MailScanner.
>
>So the questions are:
>1) What do you think of the effectiveness of this rule?
>2) Do you know a better way for achieving the same result?
>3) Is there a function that parse the Received field and return the originating IP? Which is it?
>
>Thanks, 
>  Fabio
>
Is there an option to allow only those on the list to post to it? I
don't know about SM but mine certainly has that option.

Nigel