[TriLUG] Re: Command line mail

Jeremy Portzer jeremyp at pobox.com
Wed Jun 11 11:04:19 EDT 2003


On Tue, 2003-06-10 at 23:45, James Manning wrote:

> FWIW, the -a argument for specifying additional headers works great
> for me for specifying the From: header
> 
>      -a      Specify additional header fields on the command line such
>              as "X-Loop: foo at bar" etc.  You have to use quotes if the
>              string contains spaces.  This argument may be specified
>              more than once, the headers will then be concatenated.
>              
> 
> -a "From: user at domain.com" worked
> -a "From: user" worked too, appended my hostname
> 

Hmm.  The standard "mailx" included with Red Hat Linux doesn't have this
nice -a option.  Where did you get the version you're running.

--Jeremy

-- 
/=====================================================================\
| Jeremy Portzer       jeremyp at pobox.com       trilug.org/~jeremy     |
| GPG Fingerprint: 712D 77C7 AB2D 2130 989F  E135 6F9F F7BC CC1A 7B92 |
\=====================================================================/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://www.trilug.org/pipermail/trilug/attachments/20030611/60253dff/attachment.pgp>


More information about the TriLUG mailing list