[Exim] router help needed

Startseite
Nachricht löschen
Nachricht beantworten
Autor: Jeffrey Wheat
Datum:  
To: exim-users
Betreff: [Exim] router help needed
Hi,

    I am trying to add a router to run right after dnslookup for checking
if an account is active or not. What I have below while it works, it only
freezes the mail, not bouncing it as I would have liked. Pointers or hints
are welcomed. This is exim 4.10.


# suspended account router
suspend_director:
driver = redirect
condition = ${lookup mysql{select username from accounts where username='${local_part}' and domain='${domain}' and active = 'n'}{$value}fail}
allow_fail
data = :fail: Account temporarily suspended.


Many thanks,
Jeff

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 10/15/2002