Re: [Exim] some local email users can only send to other loc…

Top Page
Delete this message
Reply to this message
Author: Philip Hazel
Date:  
To: Jeremy C. Reed
CC: exim-users
Subject: Re: [Exim] some local email users can only send to other local email accounts
On Tue, 16 Apr 2002, Jeremy C. Reed wrote:

> I have a working solution by simply adding to my only router (lookuphost):
>
> # 16/Apr/2002 reed - some users can't email to outside world
> senders = ! /usr/pkg/etc/exim/not-allowed-to-email-outside
>
> But the error is "unrouteable mail domain" which may be unfriendly for teh
> users.


In Exim 4 you could simply stick a redirect router before the normal
one, to send back a fail message to those users.

In Exim 3 you would have to put in a domainlist router for those banned
addresses, and route them to a pipe transport with "return_output" set.
Then make the pipe return the error message.

--
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.