[Pkg-exim4-users] Configuring incoming mail to smart host

Andreas Metzler ametzler at downhill.at.eu.org
Tue Mar 27 17:52:48 UTC 2012


johnbakel at punt.nl wrote:
> I'm trying to configure this:
> * accept all mail for mydomain.example from Internet; 
> * deliver that mail to mail.otherdomain.example, without a MX record;
> * no relaying any other mail, from any IP; 
> * no local delivery, no local sending.

> Host mail.mydomain.example has A and MX record for mydomain.example.
> internal host server.otherdomain.example has a public A record, but no MX record for mydomain.example.

> conf.conf:
> dc_eximconfig_configtype='satellite'
> dc_other_hostnames='mydomain.example'
> dc_local_interfaces=''
> dc_readhost='mail.mydomain.example'
> dc_relay_domains='mydomain.example'
> dc_minimaldns='true'
> dc_relay_nets=''
> dc_smarthost='mail.otherdomain.example'
> CFILEMODE='644'
> dc_use_split_config='false'
> dc_hide_mailname='true'
> dc_mailname_in_oh='true'

> RCPT TO: <test at mydomain.example>
> 550 Unrouteable address

> How should I set parameters to make it work?

What happens with your setup is that exim checks whether there is a local
user named test (or something in /etc/aliases). Dropping mydomain.example
from dc_other_hostnames might work, use exim4 -bt some at address to
test.

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'




More information about the Pkg-exim4-users mailing list