At 03:53 PM 5/28/02 +0100, Tony Hoyle wrote:
>> -----Original Message-----
>> From: Phydeaux [mailto:[EMAIL PROTECTED]]
>> Sent: 28 May 2002 13:45
>> To: [EMAIL PROTECTED]
>> Subject: Re: [SAtalk] stopping headers where to: and from: 
>> are not part
>> of my domain
>> 
>> 
>> The rule would be even more handy if it could be checked against
>> all local domains. We've got several hundred running here. For us,
>> sendmail.cw is a handy file that lists all local domains. I'm sure
>> other mailers have equally interesting files.
>> 
>Unfortunately they're not consistently named, so you'd have to have
>the filename specified in the config.  In Exim it isn't even always
>a separate file.
>
>Then there's the 'allow domains for which we are a valid MX' rule,
>which is quite common on large installations (surprisingly, spammers don't
>attempt to create a bogus domain to get around this kind of rule... if
>they ever did it would rapidly become a depreciated option!).
>

Perhaps the end user could supply a local delivery name
and this could be parsed into parts for rules checking.

i.e.
header    IS_ADDRESSED_TO_ME   To =~ /$local_email/
describe  IS_ADDRESSED_TO_ME   To: contains your email address
score     IS_ADDRESSED_TO_ME   -3.0

header    IS_FROM_MY_DOMAIN   From =~ /$local_domain/
describe  IS_FROM_MY_DOMAIN   From someone in your domain
score     IS_FROM_MY_DOMAIN   -3.0


A similar test could be applied to the body but using your name.


Scott Nelson <[EMAIL PROTECTED]>


_______________________________________________________________

Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm

_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to