From: Oron Peled (oron_at_nonexisting.hamakor.org.il)
Date: Tue 31 Jan 2006 - 19:06:23 IST
On Tuesday, 31 בJanuary 2006 16:02, Shlomo Solomon wrote:
> > 2 - I don't know why these e-mails are being sent to
> > root_at_localhost.localdomain instead of root_at_shlomo1.solomon and get
Two important notes about mail:
1. localhost should resolve to your 127.0.0.1 loopback address. If mail
to this host isn't received correctly, than you still have mail
configuration problem (many other subsystems will try to send mail
to this address [e.g: think about cron jobs running for root]).
2. It's very bad idea to read mail as root (just like it's bad to
browse the web as root -- security, security). The correct solution
for this is to create a global mail alias from the local root to your
non-root user. In sendmail, simply update /etc/aliases and reload the
service (I suspect that postfix use the same file, but haven't checked).
-- Oron Peled Voice/Fax: +972-4-8228492 oron_at_actcom.co.il http://www.actcom.co.il/~oron ICQ UIN: 16527398 Microsoft want you to "Get the Facts". I suggest you better read the US court "FINDINGS OF FACT" first: http://usvms.gpo.gov/ms-findings2.html ================================To unsubscribe, send mail to linux-il-request_at_linux.org.il with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail linux-il-request_at_linux.org.il
This archive was generated by hypermail 2.1.7 : Tue 31 Jan 2006 - 19:18:39 IST