root@server.domain.com - How can i read this emails?

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
38

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,396
Location
Maastricht
Probably will ben send to /dev/null but you should be able to see this in your exim logs.
You can change the mail receiver in CSF.

I always use the old method.
Edit /etc/aliases and change:
#root: marc
to
root my@company.com
The just to be sure run newaliases and you need to restart Exim anyway.

You also have to use some new spamblocker exim.conf because with the old 2.0 exim.conf it will thrown errors and not deliver the mail.

It should also be possible with a .forward file in the /root folder but I just like the old method.
 

Migdiradmin

Verified User
Joined
Jan 5, 2020
Messages
38
Probably will ben send to /dev/null but you should be able to see this in your exim logs.
You can change the mail receiver in CSF.

I always use the old method.
Edit /etc/aliases and change:
#root: marc
to
root my@company.com
The just to be sure run newaliases and you need to restart Exim anyway.

You also have to use some new spamblocker exim.conf because with the old 2.0 exim.conf it will thrown errors and not deliver the mail.

It should also be possible with a .forward file in the /root folder but I just like the old method.
How to run command newaliases ?
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,396
Location
Maastricht
just type:
newaliases
and hit enter.

However I only use this to be sure. Sendmail needed it, but for Exim it should be already enough to restart Exim.
 
Top