LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   FROM Address in server generated messages (https://www.linuxquestions.org/questions/linux-general-1/from-address-in-server-generated-messages-175561/)

kiddies 04-28-2004 12:08 PM

FROM Address in server generated messages
 
Hi,

Some of my scripts send e-mail alerts when they fail.

Does anyone know how I can change the mailfrom address. It always comes out as root@localhost.localdomain

Thanks

trickykid 04-28-2004 12:17 PM

You'll need to change your machines hostname and domain its associated/setup as, etc.

kiddies 04-28-2004 12:24 PM

I've tried that doesnt seem to make a difference, i want to try and manipulate it in the script if possible


All times are GMT -5. The time now is 01:45 AM.