johnbakel at punt.nl
2012-Mar-17 22:32 UTC
[Pkg-exim4-users] Configuring incoming mail to smart host
I''ll reply to my own mail for those who have the same problem. On Sat 17/03/12 19:25 , 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.> RCPT TO: > 550 Unrouteable addressThe issue appears to be the setting of host and domain name and possibly some other related settings. Answer found here: http://forum.linode.com/archive/o_t/t_8271/only_ at mydomain.com_=_unrouteable_address.html hostname -f should show FQDN: mydomain.example set new value: hostname -f mydomain.example sysctl should show proper values: kernel.domainname = mydomain.example kernel.hostname = mail show value: /sbin/sysctl -a set new value: /sbin/sysctl -w kernel.domainname="mydomain.example" (changing kernel.hostname name didn''t work for me, I used a panel to change it.)