Web lists-archives.com

Re: root@localhost mail not forwarding in Exim




Yes, this indeed was the problem!

For some reason the mail was being sent to "user" even though I had no user named that.

Thanks a bunch! I have had this problem for quite a while and never could figure out how to fix it.



On Thu, Mar 2, 2017 at 5:34 AM, Bonno Bloksma <b.bloksma@xxxxxx> wrote:
Hi,

>[....]
> so, if I want to use mail.example.com as my fqdn, and the old fqdn was something.else and root@xxxxxxxxxxxxxx was redirecting mail to me@xxxxxxxxxxxxxx ... then what do I need to change in Exim to make this happen?

Is it maybe the aliases setting?
Probably you edited the \etc\aliases file, it defines where to forward mail to. There will be a line like:
root: me
or
root: me@xxxxxxxxxxxxxxxx
After saving the file it needs to be processed by the command
 newaliases
If you skip this file then mail to root will go to the old forward address and will fail if that no longer exists.

Bonno Bloksma