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: [EMAIL PROTECTED]
Handy:          +49-172-6807809         2:244/[EMAIL PROTECTED]
Fax/BBS:        +49-69-67808-835                2:244/[EMAIL PROTECTED]



-- 
## List details at http://www.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://www.exim.org/eximwiki/

Reply via email to