From: Shlomo Solomon (shlomo.solomon_at_nonexisting.hamakor.org.il)
Date: Tue 31 Jan 2006 - 21:06:16 IST
Here's some more info, but I don't know what it means.
If I send mail to root_at_localhost.localdomain, it doesn't arrive (I get a
"could not be delivered" error mail from postfix as I already mentioned in my
previous posts). But if I send mail to root_at_localhost, it gets transformed to
root_at_localhost.shlomo1.solomon and it DOES get delivered.
On Tuesday 31 January 2006 20:00, Shlomo Solomon wrote:
> On Tuesday 31 January 2006 19:06, Oron Peled wrote:
> > 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
>
> I agree, but I have no idea why this is the case. localhost is defined
> in /etc/hosts. I also tried changing from localhost to
> localhost.localdomain but that didn't solve the problem.
>
> BTW - mail to root_at_shlomo1.solomon OR to root does arrive.
>
> Any ideas??
>
> > to this address [e.g: think about cron jobs running for root]).
>
> but I DO get mail from 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
>
> I guess you didn't see my previous post, but I already wrote that I have an
> alias and get root mail as solomon
>
> > service (I suspect that postfix use the same file, but haven't
> > checked).
>
> On Mandriva it's /etc/postfix/aliases, but according to postfix
> documentation it can also be /etc/aliases.
>
> I wonder if the "alias" mechanism could help here, although I doubt it. If
> I understand it correctly, alias is used only for user names, not for a
> fully defined user_at_host. Am I right?
-- Shlomo Solomon http://the-solomons.net Sent by KMail (KDE 3.4.2) on LINUX Mandriva 2006 ================================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 - 21:19:16 IST