[Exim] Restricting relaying to multiple domains

Top Page
Delete this message
Reply to this message
Author: Simon Bedford
Date:  
To: exim-users
Subject: [Exim] Restricting relaying to multiple domains
I am currently working on a system that uses more than one domain and I want
to be able to have different restrictions for each one, i.e. :-

domain1.com - allow mail to a list of addresses specified in a file,
postmaster, enquiries, hostmaster, abuseuser1, user2, user3, etc, etc

domain2.com - only allow mail to the rfc addresses, postmaster, hostmaster,
webmaster, abuse but not any users

domain3.com - same as domain2.com
domain4.com - same as domain2.com

I have looked at the virtual domain commands but wondered what the most
efficient way of doing this would be.

Thanks