[exim] Accepting mail for one domain only

Pàgina inicial
Delete this message
Reply to this message
Autor: Carinus Carelse
Data:  
A: exim-users
Assumpte: [exim] Accepting mail for one domain only
I want to set exim up so that it only accepts mail for one domain and
not any domain. I have the following set up but it will still send mail
to hotmail.com and I only want it to accept and relay for domain.com.
The reason for this is I want to run two copies of exim one on the
inside network card to send mail to the internet and one on the outside
network to accept mail from the internet the outside card I don't want
to accept mail for anything that is not meant for the inside network.

Here is what I have so far.


domainlist local_domains = domain.com
domainlist relay_to_domains = domain.com

acl_check_rcpt:
      accept domains = +local_domains : +relay_to_domains
        accept hosts   = +relay_from_hosts



Carinus