Re: [exim] Hold Smarthosts

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Stefan Klatt
Datum:  
To: exim-users@exim.org
Betreff: Re: [exim] Hold Smarthosts
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 == cac@???
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 cac@???
2348 message:
2348 added retry item for R:gcs-online.de: errno=-1 more_errno=0 flags=0
2348 post-process cac@??? (1)
2348 LOG: MAIN
2348 == cac@??? 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: stefan.klatt@???
Handy:        +49-172-6807809        2:244/1140@fidonet
Fax/BBS:    +49-69-67808-835         2:244/1144@fidonet