Hi
I am trying to do what I thought would be a very simple thing and that is send mail using the mail command but not have it come from user@server.hostname but able to set the from address. The reason is nagios emails.
Seems the tricks I have found do not work on the freebsd mail binary.
my mail smtp daemon is exim.
exim itself supports -f sender but it doesnt allow me to set the subject on the command line, so I need to be able to specify the subject and from address on the command, thanks.
I am trying to do what I thought would be a very simple thing and that is send mail using the mail command but not have it come from user@server.hostname but able to set the from address. The reason is nagios emails.
Seems the tricks I have found do not work on the freebsd mail binary.
my mail smtp daemon is exim.
exim itself supports -f sender but it doesnt allow me to set the subject on the command line, so I need to be able to specify the subject and from address on the command, thanks.