[PLUG] Creating multiple email addresses for a system users.

null null giimale at gmail.com
Wed Sep 24 20:15:00 IST 2008


On Wed, Sep 24, 2008 at 2:18 PM, Meghanand Acharekar <vasco.debian at gmail.com
> wrote:

> Hi,
>
> I have written a perl/shell script on one of our servers which checks the
> server health and send alert emails to administrators.The script runs as a
> cron job under root privileges, it is working properly.But the email which
> we receive has From email address : root at server.name, Is there any way to
> change this email address ?
> Is this possible to chang 'from' email header ? If yes how ? and
> Is it possible to assign multiple email addresses to a single system user
> (not aliases)
>
>
>
> --
> Regards,
> मेघानंद नं. आचरेकर
> Meghanand N. Acharekar
> " A proud GNU\Linux User "
> Reg Linux User #397975
> Email : vasco.debian at gmail.com
> URL : www.debian.org
> --
> ______________________________________________________________________
> Pune GNU/Linux Users Group Mailing List:      (plug-mail at plug.org.in)
> List Information:  http://plug.org.in/cgi-bin/mailman/listinfo/plug-mail
> Send 'help' to plug-mail-request at plug.org.in for mailing instructions.


Does your script do the SMTP transaction? I guess not.
What utility are you using to send the mail? check its man page
Ex: sendmail -f user at addr should work I guess.

-- 
Cheers,
@


More information about the Plug-mail mailing list