Re: [Exim] Exim Help

Top Page
Delete this message
Reply to this message
Author: William Thompson
Date:  
To: Bhavesh Shah
CC: exim-users
Subject: Re: [Exim] Exim Help
> Hi John,
> Yes single email works fine.
> Here is the router configuration
>
> verify_check_specials:
>            driver = domainlist
>            condition = "${if eq local_part@$domain}{X@???}{yes}{no}}"
>            verify_only
>            fail_verify
>            route_list = *

>
> but for multiple recipient to block can you suggest what should my ACL or router should look like?
> Thanks and appreciate it.


I used to use a router (er director on 3.35) to do this and upon upgrading,
I went to the acl.  Here's my ACL (It's almost to the top of the acl)
deny    message = ${if !eq{$address_data}{}\
            {$address_data}\
            {$local_part@$domain is not a valid mailbox}\
           }
    log_message = Listed in bad_recipients
    domains = +local_domains
    recipients = lsearch*;/etc/exim4/bad_recipients


the domains is only there to keep me from goofing some things up and so the
acl doesn't check every rcpt to.