Marc Owen wrote:

> I got a stupid little question about sendmail. The '-f' and '-F'
> parameters ('-f' = from, '-F' = full name) doesn't seem to go along too
> well. I'm trying to send mail from a procmail-script with smt like
> 
> ... | $SENDMAIL -oi -t -F"Marc Owen" [EMAIL PROTECTED]
> 
> If I specify the '-f' parameter, if gives '[EMAIL PROTECTED]' (without
> fullname), no matter what I put behind the '-F'. If I drop the '-f' and
> only use the '-F', I get the correct fullname, but my mailadres gets my
> local domain name (useless since I want my smarthosts' domain, gmx.net).
> The use of those parameters (actually most of them) is not described very
> well in the man-pages, nor included with (my versendmail.
> 
> How can I specify my mailaddress AND my fullname directly through a script
> with sendmail?

Use -f to set the envelope sender address (which should only be an
email address, without a full name), then specify the appropriate
`From:' header in the data you feed to sendmail.

-- 
Glynn Clements <[EMAIL PROTECTED]>

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to