Bill Moseley wrote:
I've got a Debain machine running exim acting as a MASQ machine on a pppoe
connection (e.g. the machine has two NICs).
The hostname is "burn". The domain, for this example, is "burn.foo.net"
The problem is if I send mail to outside machines:
echo "hello" | mail moseley@hank.org
gives this:
...error from remote mailer after MAIL FROM: ...
501 5.1.8 <moseley@burn.foo.net>... Domain of sender address
moseley@burn.foo.net does not exist
Which is correct, burn.foo.net does not resolve.
It really doesn't make a lot of sense that it would be qualifying that
address with your local domain.
The only guess I have is that you have something in /etc/email-addresses that is making it rewrite the address.
Otherwise, you'd need to post your /etc/exim/exim.conf and /etc/email-addresses files.