[exim] Regarding handling suspened email accounts

Góra strony
Delete this message
Reply to this message
Autor: Sherin A
Data:  
Dla: exim-users
Temat: [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