[exim] Regarding handling suspened email accounts

Etusivu
Poista viesti
Vastaa
Lähettäjä: Sherin A
Päiväys:  
Vastaanottaja: exim-users
Aihe: [exim] Regarding handling suspened email accounts
Hello,

I have the following router setting or validating suspened accounts and
the perl validation is working fine.

  suspendedcheck:
    # check if sending user is suspened
    driver = redirect
    domains = +local_domains : $primary_hostname
    condition =${if eq
{${perl{is_suspended}{$domain_data}{$local_part}}}{yes}{no}}
    allow_fail
    allow_defer
    allow_freeze
    data = :fail: Suspended account
    no_more


But the problem is this email is still sending to transport and delivering
to the inbox. Do it suppoes to simply fail ?


Regards
Sherin A