On Wed, Jun 25, 2003 at 05:46:21PM +0200, Gary van Blerk wrote:
[...]
> That worked really nicely. The problem I have is that I need to use that
> same list to determine who is allowed to receive email from outside our
> domain. The users not in the above list must still be able to receive
> and send mail to other users in our domain but must not be able to
> receive email from any other domains.
>
> I have come up with this but I would prefer if Exim could accept the
> message, then generate a bounce to the sender containing the reasons for
> the error.
[...]
Why don't you don't you do that in the RCPT acl? Exim won't generate a
bounce, but the bounce message generated by the sending SMTP server
will include the warning issued by your exim with the "message=..."
directive.
cu andreas