Re: [exim] rejecting emails based on recipent domain

Top Page
Delete this message
Reply to this message
Author: Tim Jackson
Date:  
To: exim-users
Subject: Re: [exim] rejecting emails based on recipent domain
On 6 Dec 2004, Subhi S Hashwa wrote:

> I am trying to 'suspend' domain mail delivery, basically reject
> everything at smtp. I put the following in acl_check_rcpt ACL, but it
> now rejects everything not just that domain.


> deny    message       = "Domain no longer in use."
> deny    domains       = xxx.com


That's two separate rules, the first of which rejects everything. You
want:

deny message = "Domain no longer in use"
     domain  = example.com