Re: [exim] Callout header_sender and defer_ok

Góra strony
Delete this message
Reply to this message
Autor: Silmar A. Marca
Data:  
Dla: Tony Finch
CC: exim-users
Temat: Re: [exim] Callout header_sender and defer_ok
The clause is in "data"... "acl_data_chk:" ....
I have two clauses: in mail and in data. Read the configuration:

acl_check_mail:
  deny    !verify       = sender/callout=120s,maxwait=300s,defer_ok,random
...
acl_check_data:
  deny  senders         = !:
        !verify         =
header_sender/callout=100s,maxwait=200s,defer_ok,random



I using the "<pombocorreio@www.linuxsecurity.com.br>" (this server is defer...)
to test it...
In first clause (in mail acl check) the "mail from:
<pombocorreio@www.linuxsecurity.com.br>" return OK. :-)
In second clause (in data acl check), the "From:
<pombocorreio@www.linuxsecurity.com.br>" not return OK. :-(

In second clause, the "defer_ok" not run!!!!!

Cordialmente, Silmar A. Marca
GrupoGSN - Desenvolvimento, Implantação e Verificação de Servidores
Profissionais baseados em Linux/Novell
http://www.grupogsn.com.br/~marca/
------------------------------------------------------------
Se algo não lhe faz mal (fisico, moral ou psicologicamente),
experimente! O máximo e você perder tempo! E tempo, e
o que você tem a vida toda pra perder.....
Mais vale um instante de prazer que uma eternidade fútil!
------------------------------------------------------------




Citando Tony Finch <dot@???>:

> On Fri, 14 Jan 2005, Silmar A. Marca wrote:
>
> > I using the condition:
> >
> > acl_data_chk:
> >   deny  senders         = !:
> >         !verify         =
> header_sender/callout=100s,maxwait=200s,defer_ok,random

> >
> > But, the "defer_ok" not run... All defer servers are bloked!
> >
> > Have the solution for this problem? I check the callout in rcpt clause, but
> if
> > sender_address is equal h_from, the message is deny for defer servers...
>
> You cannot check header_sender in the rcpt ACL, because the message header
> has not yet been received. (A look at your logs should have informed you
> that your configuration is incorrect.) You should move the clause to the
> data ACL.
>
> 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}}
>