Bob Tennent <[email protected]> wrote:
> I used to use ~b pathname to save an outgoing message to a
> specific file. This no longer works. I know I can set record
> for *all* outgoing messages but it's often convenient to
> "record" a particular message to a particular file. Can this
> be fixed or is there some alternative way of achieving what
> I want?
Works for me on the s-nail master branch, be it several months old
or freshly updated. I just had to
set expandaddr
On my first try without the setting, I received an error msg pointing me
to this variable. man s-nail says:
Message recipients (as specified on the command line or defined in ‘To:’,
‘Cc:’ or ‘Bcc:’) may not only be email addressees but can also be names
of mailboxes and even complete shell command pipe specifications. Proper
quoting may be necessary, e.g., to embed whitespace characters. If the
variable expandaddr is not set then only network addresses (see
mailaddr(7) for a description of mail addresses) and aliases may be used,
though.
If the variable expandaddr is set the following rules are used to clas‐
sify recipient addresses: Any name which starts with a vertical bar ‘|’
character specifies a pipe – the command string following the ‘|’ is exe‐
cuted and the message is sent to its standard input; Likewise, any name
that starts with the character ‘/’ (slash) or the character sequence ‘./’
(dot slash) is treated as a file, regardless of the remaining content.
Any other name which contains an at sign ‘@’ character is treated as a
network address; Any other name which starts with a plus sign ‘+’ charac‐
ter specifies a mailbox name; Any other name which contains a slash ‘/’
character but no exclamation mark ‘!’ or percent sign ‘%’ character
before also specifies a mailbox name; What remains is treated as a net‐
work address.
Martin
------------------------------------------------------------------------------
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users