mail confusion
Les Mikesell
lesmikesell at gmail.com
Mon Nov 7 04:24:26 UTC 2005
On Sun, 2005-11-06 at 21:20, Jay Moore wrote:
> >
> > That would be true if the mail were being submitted from "root". If the
> > submission is from "root at localhost.localdomain" then the bare minimum
> > requirement would be masquerading (without "root" as an EXPOSED_USER)
> > to map that to "root at something.else". Without knowing exactly how the
> > mail is being submitted there's no way to know whether that would work.
>
> The mail is being submitted by 'smartd', the smartmontools daemon...
> according to the docs, they use 'mail' (don't know why). Since smartd
> runs (at least starts) as root, I guess the message *is* being submitted
> from root.
Smartd has an option to invoke your own mail program. If you
don't want to fix things in the mail transport you can
send the output to a script or program that adds your
choice of a 'From: address' before sending.
--
Les Mikesell
lesmikesell at gmail.com
More information about the users
mailing list