johnbakel at punt.nl
2012-Mar-17 18:25 UTC
[Pkg-exim4-users] Configuring incoming mail to smart host
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? Thanks John
Regid Ichira
2012-Mar-17 22:29 UTC
[Pkg-exim4-users] Configuring incoming mail to smart host
--- On Sat, 3/17/12, johnbakel at punt.nl <johnbakel at punt.nl> wrote:> From: johnbakel at punt.nl <johnbakel at punt.nl> > Subject: [Pkg-exim4-users] Configuring incoming mail to smart host > To: pkg-exim4-users at lists.alioth.debian.org > Date: Saturday, March 17, 2012, 6:25 PM > 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? >I think you won''t be able to get what you want just by setting those parameters. You will have to read more of the Debian FAQ, and edit the proper configuration file.
Andreas Metzler
2012-Mar-27 17:52 UTC
[Pkg-exim4-users] Configuring incoming mail to smart host
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''