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").
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.
I'm running Centos-5.1 on helen,
and haven't done anything to /etc/mail/sendmail.mc except add
define(`SMART_HOST', `smtp.eircom.net')dnl
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?
--
Timothy Murphy
e-mail: gayleard /at/ eircom.net
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland
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!