Re: [exim] Where the postmaster is checking??

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Boris Kovalenko
Dátum:  
Címzett: Andris Peize, exim-users
CC: 
Tárgy: Re: [exim] Where the postmaster is checking??
Andris Peize wrote:
Hello!

    May be am I misundestanding something, but documentation on random says 
different things:


The idea here is to try to determine whether the remote host accepts all
local parts without checking. If it does, there is no point in doing
callouts for specific local parts. If the “random” check succeeds, the
result is saved in a cache record, and used to force the current and
subsequent callout checks to succeed without a connection being made,
until the cache record expires.

And my configuration works as expected here. yahoo.com for example
accepts all local parts, and I have no problems with yahoo.com. Again,
my question was "why there was a postmaster callout when it is not
configured"

> Boris Kovalenko wrote:
>
>>Hello!
>>
>>    I have two checks, first in acl_check_rcpt:
>>require verify        = sender/callout=40s,random,defer_ok

>
>
> This makes you reject all mail from senders whose domains do not accept
> random addresses (the good guys).
>
> Probably you intended to do this this instead:
>
> # hint the cache for case domain takes mail to unknown addresses
>
> warn verify = sender/callout=40s,random/no_details
>
> ...
> accept
> ...
> # no 2nd callout made in case first callout succeeded
> # first defer_ok for DNS slowness, second for SMTP slowness
>
> require verify =
> sender/defer_ok/callout=40s,maxwait=120\,defer_ok/no_details
>
> Make sure all your callout waits do not reach 300s
>
> RFC2505 suggests using 4xx responses over 5xx ones. In your case it
> could lead to less hassle with users.
>
> Exim has very good builtin test facility:
> exim -d -bhc ip_address // use their IP
>
>
> Regards,
> Andris
>
>
>



-- 
With respect,
    Boris