[NTLUG:Discuss] changing FROM or REPYTO in mail

Fred James fredjame at concentric.net
Tue Sep 3 12:20:28 CDT 2002


Sorry - someone on this list answered this question before, and I 
implemented a working solution based on that answer, but I have lost 
both the answer and the implementation - my bad.

I can not remember for sure, but it seems to me the idea was to include 
in the text file a line at the beginning, something like "From: ....(and 
there I get lost again)".  Then if I use the following command:
"cat filename | mailx -s "subject line" address" the "From" address is 
set to whatever I put in that first line of the text file.  (not trying 
to spoof here, just trying to get replies to me rather than to the 
server I send the email from - no I don't want to alias all root mail to 
me, just certain ones.

If someone could refresh my memory, I should be greatly appreciative.

-- 
small is beautiful






More information about the Discuss mailing list