Randy Bush wrote:
>> So if you *really* want to block 'the real' [EMAIL PROTECTED]' and not just
>> forgeries of it
> 
> the opposite.  i want to accept from real yahoo smtp senders and not
> forgeries thereof.
> 
>> warn
>>   log_message     = MF5 Apparent forged Yahoo
>>   senders         = [EMAIL PROTECTED]
>>   condition       = ${if match  /* remove this line-wrap */
>>                    {$sender_host_name}{\Nyahoo.com$\N}{no}{yes}}
> 
> playing with variations of this now.
> 
> thanks
> 
> randy
> 

The general rule (not just with Exim) is to work on the minority case - 
IOW the forgery, the 'lie', the just-plain-wrongness.

Providing you hammer the bad-actors along the way, usually all the 
'accept' usage you need is one single, naked 'accept' verb as the last 
line of each acl_smtp_<phase> case-structure.

No conditionals required on that one.

It is the deny-class verbs that fry the bastards. And the 'warn' verbs 
that attach the electrodes.

;-)

Bill


-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to