Solved Configuring sendmail to redirect all outgoing mail to one address


Active Member

Reaction score: 12
Messages: 173

Until recently, my test server VM had sendmail set so that any outgoing mail to any address at all would always be sent to my e-mail address. However, that seems to have stopped working and delivery is now attempted to the envelope to. None of the configuration files seem to have been edited according to the mod times.

I've had a frustrating time trying to find decent sendmail documentation on line, but have drawn a blank. Does anyone know how I can alias all outgoing mail to one address? I just can't remember how I did it before.

Update: I finally found out I need to create /etc/mail/mailertable with one line:
.        me@domain