on Thu, 31 Jan
2008 23:57:23 -0800
> >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.
OK, you are correct. I had not looked closely at what sendmail was doing.
Looking at an IP trace I see it is not using what is in te email but something
it generated.
> >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.
It appears it will generate a from if it is not specified. I don't know of any
options that will turn this on or off, only things that change the name it
generates.
> >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.
While I do have sendmail v8.12 installed it does not affect the already
installed sendmail v2.03. I can run either version and do run v2.03 when I
want to test something to see what happens.
--
Robert Blair
=====================================================
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 <<
>> Next Message >>
Return to [ 01 |
February |
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.