Re: [exim] unblocking gmail

Top Page
Delete this message
Reply to this message
Author: W B Hacker
Date:  
To: exim users
Subject: Re: [exim] unblocking gmail
Randy Bush wrote:
>> So if you *really* want to block 'the real' *@yahoo.com' 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         = *@yahoo.com
>>   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