Re: [Exim] From the FAQ: Q9802

Top Page
Delete this message
Reply to this message
Author: William Thompson
Date:  
To: Gary van Blerk
CC: exim-users
Subject: Re: [Exim] From the FAQ: Q9802
> Reading the FAQ I came across ?Q9802:??How do I configure Exim so that
> it sends mail to the outside world only from a restricted list of our
> local users??
>
> I thought that was really nice. But surely this would be kind of
> pointless if people could just give out their email address via web
> pages etc and still get email? How could you prevent the email coming
> back to your server without killing the users email access altogether?


BTDT. I did this in ACLs but you can probably do it with routers. Simply
check the sender's domain as ! +local_domains and the recipient's domain as
+local_domains. If that's true (be careful about null senders) check the
recipient's address to see if they're allowed to do this.