>I'm slightly ashamed to ask this question in this haunt of geekdom,
>but how does one send email from one machine on a LAN to another?
>Basically, I want to forward the output of logwatch
>from machine 1 ("helen") to machine 2 ("alfred").
Ok, as I'm doing this on Fedora for a while thought I'd chip in.
>If I send email from helen to tim at alfred
>it finishes up in /var/spool/mail/tim on helen.
>If I send it to tim at alfred.gayleard.com (my local domain)
>it ends up in dead.letter on helen.
Edit /etc/aliases on "Helen"
scroll to end of aliases until you get to
# Person who should get root's mail
Uncomment root change marc to: tim at alfred.gayleard.com
Save changes, then from a cli as su, enter /usr/sbin/newaliases - press enter (this update it with changes made to aliases)
>I'm running Centos-5.1 on helen,
>and haven't done anything to /etc/mail/sendmail.mc except add
On "helen" add to hosts file
Alfred ip alfred.gayleard.com (so your mail won't waste it's time searhing the www for alfred)
>I'm running an IMAP/dovecot server on alfred,
>but I don't think that is relevant.
>I don't want to do anything very big (like changing from sendmail)
>as I can always get the email delivered by going via my ISP.
>But surely that should not be the best way for local mail?
It may, if you only have a small number of boxes.
"I'm open to correction on the above but it works for me."
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!