[TriLUG] Command line mail

Tarus Balog tarus at sortova.com
Mon Jun 9 15:50:27 EDT 2003


Gang:

OpenNMS uses /bin/mail to send mail notifications. Since the actiond 
process runs as root, the mail appears sent from 
"root at myserver.mydomain".

They would like it to be something like "opennms at myserver.mydomain". So 
I have two questions:

1) I don't think this is possible with /bin/mail. I am right?

2) Is there another command line mail program that *would* allow one to 
set the "From" field? It would need to function similarly to /bin/mail 
to be a drop in replacement.

-T


----------
Tarus Balog
Consultant
Sortova Consulting Group, Inc. (www.sortova.com)
tarus at sortova.com - 919-696-7625




More information about the TriLUG mailing list