Re: [exim] Hold Smarthosts

Top Page
Delete this message
Reply to this message
Author: Stefan Klatt
Date:  
To: exim-users@exim.org
Subject: Re: [exim] Hold Smarthosts
Hi Tony,

i found my error in reasoning....

i shoot myself in one foot.... i didn't realize that exim runs really as
different tasks with own debugging.

now i use the following router:

smarthost_defer:
  driver = redirect
  domains = ! +local_domains
  condition = ${if \
        and {{\
              !eq{${LDAP_OBJSENDSMTP}}{DEFERUSER}\
             }\
             {\
              or  {{\
                   and {\
                        {!eq{${LDAP_EXTIMER}}{}}\
                        {!eq{${LDAP_EXTIMER}}{0}}\
                       }\
                   }\
                   {\
                    eq{${LDAP_EXSMTPPOP}}{TRUE}\
                   }}\
             }}\
        {TRUE} {FALSE}}
  allow_defer
  data = :defer:
  no_more


if i call exim with

exim '-D DEFERUSER =
EXsmtp=1und1,uid=stefan,ou=email_user,dc=kronos,dc=local' -qf

it works, the router will be ignored and exim send the deferred emails
for this user.

Now i can realize SMTP after POP and time deferred SMTP calls controled
by LDAP informations.



Mit freundlichen Grüßen,

Stefan Klatt

CaC
Stefan Klatt                Certified Warp 4 Engineer
Triftstrasse 9                Certified Warp Server Engineer              
60528 Frankfurt                Enterasys Partner
                    Bintec Partner


Tel.:        +49-69-67808-915        email: stefan.klatt@???
Handy:        +49-172-6807809        2:244/1140@fidonet
Fax/BBS:    +49-69-67808-835         2:244/1144@fidonet