On Wed, Sep 20, 2006 at 08:47:18AM +0100, Jenny Hopkins wrote:
Hullo there,
Hi
All mail for root, admin, postgres etc on my server are aliased to jenny, so it gets sent to jenny@localhost.
How can I request it is sent to jenny@ordinary-email-address instead?
Sounds like you need to edit /etc/aliases (depending on your server setup, should work for most machines) and change the line that looks something like
root: jenny
to
root: jenny@ordinary-email-address
depending on your mail server setup it may (or may not) forward your mail to the correct place. The best way to test before changing the config would be to run
mail -s "test message" jenny@ordinary-email-address (hit enter, and type the body of your message, put a . on a line by itself to finish the mail)
to make sure that the box is configured to send mail to the outside world first. One other thing, I'm fairly certain that all MTA software will reread /etc/aliases without being poked, but you may need to restart the mail daemon.
I never remember to go and read mail on the server.
Or you could install an imap or pop server on the machine and point your mail client at it, can be especially useful if the machine breaks for some reason and can't send mail as you notice that you either can't connect to it any more or that you at least get the messages (or notice a lack of them).
Adam