Re: [exim] DNS Lookup - Temporary Local Problem.

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Grant Peel
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] DNS Lookup - Temporary Local Problem.

----- Original Message -----
From: "Tony Finch" <dot@???>
To: "Grant Peel" <gpeel@???>
Cc: <exim-users@???>
Sent: Tuesday, September 30, 2008 10:33 AM
Subject: Re: [exim] DNS Lookup - Temporary Local Problem.


> On Fri, 26 Sep 2008, Grant Peel wrote:
>>
>> I just spent the last two days trying to figure out why my greylisiting
>> stopped worked, vast amounts of clients were getting a 'Temporary Local
>> Problem" ... As it turned out, a domain in one of my host lists had
>> expred (ie the domain expired). Once I removed this domain from the
>> hostlist, (/etc/virtual/domains) things started working again. Is there
>> a know that can be set to ignore an error of this type?
>
> Yes. See
> http://www.exim.org/exim-html-current/doc/html/spec_html/ch10.html#SECTtemdnserr
>
> Tony.
> --
> <fanf@???> <dot@???> http://dotat.at/ ${sg{\N${sg{\
> N\}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}\
> \N}{([^N]*)(.)(.)(.*)}{\$1\$3\$2\$1\$3\n\$2\$3\$4\$3\n\$3\$2\$4}}
>
> --
> ## 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/
>
>


Tony,

If I read the article correctly, Would that mean I should add hosts =
+ignore_unknown to all the the defer statements in the Greylist acl
statemements?

for example, this:

        defer   ! hosts         = +whitelist
                ! hosts         = +relay_from_hosts
                ! authenticated = *
                condition       = ${if eq{$acl_m2}{0}{yes}}
                condition       = ${lookup mysql{GREYLIST_ADD}{yes}{no}}
                message         = Now greylisted - please try again in 1 
minute.
                log_message     = ADDING TO GREYLIST
        defer   ! hosts         = +whitelist
                ! hosts         = +relay_from_hosts
                ! authenticated = *
                condition       = ${if eq{$acl_m2}{1}{yes}}
                message         = Still greylisted - please try again in 1 
minute.
                log_message     = STILL GREYLISTED
        defer
                ! hosts         = +whitelist
                ! hosts         = +relay_from_hosts
                ! authenticated = *
                condition       = ${lookup mysql{GREYLIST_UPDATE}{no}{no}}
                message         = Greylist update failed
                log_message     = GREYLIST UPDATE FAILED


Would change to this:

defer   ! hosts         = +whitelist
                ! hosts         = +ignore_unknown : +relay_from_hosts
                ! authenticated = *
                condition       = ${if eq{$acl_m2}{0}{yes}}
                condition       = ${lookup mysql{GREYLIST_ADD}{yes}{no}}
                message         = Now greylisted - please try again in 1 
minute.
                log_message     = ADDING TO GREYLIST
        defer   ! hosts         = +whitelist
                ! hosts         = +ignore_unknown : +relay_from_hosts
                ! authenticated = *
                condition       = ${if eq{$acl_m2}{1}{yes}}
                message         = Still greylisted - please try again in 1 
minute.
                log_message     = STILL GREYLISTED
        defer
                ! hosts         = +whitelist
                ! hosts         = +ignore_unknown : +relay_from_hosts
                ! authenticated = *
                condition       = ${lookup mysql{GREYLIST_UPDATE}{no}{no}}
                message         = Greylist update failed
                log_message     = GREYLIST UPDATE FAILED


Or is there something else I am missing?

-Grant