Hi John,
You should be able to put that deny condition in the rcpt ACL :)
I don't think that would be the best approach (in general) to stopping
spam. You might like to consider something like this -
http://duncanthrax.net/exiscan-acl/ (plus SpamAssassin).
Cheers,
Andrew.
John Johnson wrote:
>
> ----- Original Message ----- From: "Mike Meredith"
> <mike.meredith@???>
> To: <exim-users@???>
> Sent: Wednesday, September 29, 2004 2:17 AM
> Subject: Re: [exim] New To Exim need Anti-spam help
>
>
>> On Wed, 29 Sep 2004 09:08:15 +0100, Matthew Byng-Maddick wrote:
>>
>>> On Sat, May 28, 2005 at 08:56:17PM -0700, John Johnson wrote:
>>> > Hi, I am new to Exim I have been a qmail user for a long time and
>>> I see
>>> > that the Exim ACL's are very good and I can do a lot. What I
>>> would > like
>>> > to do is stop spam that is addressed to my to from me, we really
>>> know
>>> > it's not me but I need to make exim know this so I can stop this spam
>>
>
>>
>> deny condition = ${if eq
>> {$sender_address}{$local_part@$domain}{yes}{no}}
>> hosts = !+relay_hosts
>> message = We do not accept mail where sender equals recipient
>>
>> And strangely enough, it doesn't block mailing list mail! It's also
>> not a
>> particularly good anti-spam measure.
>
>
> Where in the exim config would this go? You will have to excuse me I
> am very new to exim, qmail never had a config like this :)
>
>
>>> Here's a tip on SPF: it's fundamentally broken, and you don't want
>>> to use
>>> it for anything.
>>
>>
>> That's a matter of opinion. However, there's very effective anti-spam
>> measures in checking HELO/EHLO parameters, etc. Do the simple stuff
>> first.
>>
>>> http://slett.net/spam-filtering-for-mx/ is a very good read, and you
>>
>
> Thanks very much, I will check EVERYTHING I can spf I know has it's
> supporters
> and I just wanted to look into it more.
>
> -John
>
>
>