Re: [exim] selective greylisting

Páxina inicial
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Ian Eiloart
Data:  
Para: Nathan Huesken, Exim Mailinglist
Asunto: Re: [exim] selective greylisting


--On 24 January 2009 16:34:09 +0100 Nathan Huesken <exim@???>
wrote:

> On Sat, Jan 24, 2009 at 02:40:17PM +0000, Jeremy Harris wrote:
>> Nathan Huesken wrote:
>> > 1. $local_part and $domain do not seem to be set. Is this normal for
>> > acl_smtp_data lists? How can I get them?
>>
>> By the time you're at data phase there could have been multiple
>> recipients. Which one would you find relevant?
>
> I see the probelem ...
> When I look at my spam mail, 99% of the time it has only 1 recipient.
> So how can I change the rule, that it only greylists if the mail has only
> 1 recipient and how do I get the recipient?


You can save the recipient to an acl variable at RCPT TO time. For every
ACCEPT ACL, say:

accept
    set acl_m_last_rcpt = $local_part@$domain
    ...


>
>>
>> > 2. some senders (like googlemail) always change there
>> > $sender_host_address and by that do not get through.
>>
>> That is one of the problems with greylisting.
>>
>> - Jeremy
>
> Well, than I can no use the $sender_host_address. What is about
> $sender_helo_name? Does that change to? Thanks!
> Nathan




--
Ian Eiloart
IT Services, University of Sussex
x3148