Re: [exim] rejecting emails based on recipent domain

Pàgina inicial
Delete this message
Reply to this message
Autor: Peter Bowyer
Data:  
A: Exim Users Mailing List
Assumpte: Re: [exim] rejecting emails based on recipent domain
On Mon, 6 Dec 2004 09:21:29 +0000, Subhi S Hashwa <lists@???> wrote:
> Monday, December 6, 2004, 9:12:51 AM, Peter Bowyer wrote:
>
>
>
> > On Mon, 6 Dec 2004 09:08:54 +0000, Subhi S Hashwa <lists@???> wrote:
> >> Hello exim-users,
> >>
> >> 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.
> >>
> >> any ideas?
> >>
> >> deny    message       = "Domain no longer in use."
> >> deny    domains       = xxx.com

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

>
> > ACL syntax is discussed in the docs at
> > http://www.exim.org/exim-html-4.40/doc/html/spec_38.html#IX2352
>
> Many thanks, the reason I was using the quotes is to have a multiline
> error message.


I have no comment to make on the quotes - it's the extra 'deny' that's
causing your problem. Please check the ACL sytntax in the docs.

Peter