Hello Tony,

>> is there a way to hold (and unhold) selectiv all Emails for one (or more)
>> Smarthost like queue_domains for selective Domains?
>Not straightforwardly, I think. You can add a redirect router before your
>smarthost router which grabs the addresses and uses :defer: to hold them
>on the queue.
the first step works... now i have the msg at the queue and i see it with
mailq... 
but if i try to deliver this deferred email i have an problem... i
thought with option -qf i can say exim to deliver all deferred emails.
but nothing happend...

This is the logfilepart...

2006-07-22 02:22:00 cwd=/etc/exim 2 args: exim -qf
2006-07-22 02:22:00 Start queue run: pid=2434 -qf
2006-07-22 02:22:00 1G455s-0000br-IN == [EMAIL PROTECTED]
R=smarthost_defer defer (-1):
2006-07-22 02:22:00 End queue run: pid=2434 -qf

Where is my error in reasoning ?

For the first test i created this router:

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

Exim debug mode says for this router:

 2348 calling smarthost_defer router
 2348 rda_interpret (string): :defer:
 2348 expanded: :defer:
 2348 file is not a filter file
 2348 parse_forward_list: :defer:
 2348 extract item: :defer:
 2348 smarthost_defer router: defer for [EMAIL PROTECTED]
 2348   message:
 2348 added retry item for R:gcs-online.de: errno=-1 more_errno=0 flags=0
 2348 post-process [EMAIL PROTECTED] (1)
 2348 LOG: MAIN
 2348   == [EMAIL PROTECTED] R=smarthost_defer defer (-1):


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