Bug#493526: Issue popped up when migrating wheezy->jessie

Daniel F. Smith dfsmith at us.ibm.com
Wed May 27 23:48:54 UTC 2015

Remarkably, I ran into this issue when upgrading from wheezy to jessie.

My machine runs in a corporate environment, and is the smarthost for some
virtual machines, but also has to use a smarthost to deliver SMTP mail
outside the company.

When receiving mail from the VM (say, vm.mycompany.com), the mail is bounced
back to the VM with this message on my host (host.mycompany.com)

    2015-05-27 16:25:45 H=relay.mycompany.com [x.x.x.x]
    F=<dfsmith at mycompany.com> rejected RCPT <dfsmith at host.mycompany.com>:
    relay not permitted

The problem can be fixed in dpkg-reconfigure exim4-config -> "Mail Server
configuration" by listing the local hostname (host.mycompany.com) in
addition to the other local domains accepted (which include mycompany.com). 
This is in contradiction to the wording on that page.

Suggest the wording is changed from "The local hostname
(host.mycompany.com) and 'localhost' are always added to the list given
here." to something more correct!  (E.g., "Add the local hostname here to
receive mail on this machine.  'localhost' is automatically added.",
assuming localhost is added---which I didn't test.)

More information about the Pkg-exim4-maintainers mailing list