-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
> What is the proper syntax to call sendmail (or mail) with to set the From: address?
- From man sendmail:
-f sender
Set the envelope sender address. This is the
address where delivery problems are sent to, unless
the message contains an Errors-To: message header.
-F full_name
Set the sender full name. This is used only with
messages that have no From: message header.
If you want to do it all on the command line, try it like this:
sendmail -f"[EMAIL PROTECTED]" -F"[EMAIL PROTECTED]" < messagefile
Note that this assumes your message doesn't have a from header already added to
it (seems likely based on the situation you describe.
- --
Jim Holthaus (pronunciation: HOLT house)
[EMAIL PROTECTED]
PGP Public Key at http://www.holthaus.com/jim/pgpkey.html
Learn about PGP at http://www.holthaus.com/jim/pgp.html
-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.1
iQA/AwUBOf3IOX3IcJJ+eC/CEQL+4wCgs2R3wzk4M4Q+lNzJP693pGbk3fcAoOFV
cOkVedK4GKfmoy3vkjMI3Vs3
=ykfB
-----END PGP SIGNATURE-----
Keep in touch with http://mandrakeforum.com:
Subscribe the "[EMAIL PROTECTED]" mailing list.