said:
Hi,
>As I have mentioned before and Steven has disagreed the -t switch does
>not have parameters.
What I said is the parameter is optional. It works for me either way.
>You use the -t switch to instruct sendmail to get
>the To: and From: from the email headers.
Not the From:, according to the docs. The bare -t causes the To:, Cc: and
Bcc: headers to be pulled from the message.
>You can use the -f to override
>the From:
You must use the -f unless your system configuration allows sendmail to
grab the right values from the environment. In my case omitting the -f
cause sendmail to set the envelope sender to steven@localhost.
>sendmail -a file-name -f from-address -t (supply the from and get
>the to from the email headers)
>or
>sendmail -a file-name -t (get the from and to from the email headers)
These all work, as do a number of other variations. The command line
parser is picky about spaces, but I suspect that v8.x is much less picky.
Steven
--
----------------------------------------------------------------------
"Steven Levine" MR2/ICE 3.00 beta 10pre #10183 eCS/Warp/DIY/14.103a_W4 etc.
www.scoug.com irc.ca.webbnet.info #scoug (Wed 7pm PST)
----------------------------------------------------------------------
=====================================================
To unsubscribe from this list, send an email message
to "steward@scoug.com". In the body of the message,
put the command "unsubscribe scoug-help".
For problems, contact the list owner at
"postmaster@scoug.com".
=====================================================
<< Previous Message <<
Return to [ 31 |
January |
2008 ]
The Southern California OS/2 User Group
P.O. Box 26904
Santa Ana, CA 92799-6904, USA
Copyright 2001 the Southern California OS/2 User Group. ALL RIGHTS
RESERVED.
SCOUG, Warp Expo West, and Warpfest are trademarks of the Southern California OS/2 User Group.
OS/2, Workplace Shell, and IBM are registered trademarks of International
Business Machines Corporation.
All other trademarks remain the property of their respective owners.