Hello Bob,

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?

Like Martin said, you need to set *expandaddr*.

  (continue)
  ~@
  # Be aware that "\" must be escaped: "\\", "\$HOME"
  #1      filename:    
  ~p
  -------
  Message contains:
  Subject: Re: moin

  (continue)
  ~b ./OUT
  "./OUT": *expandaddr* doesn't allow file or pipe address
  ~:set expandaddr=restrict,fail
  (continue)
  ~b ./OUT
  *expandaddr*: "restrict" and "fail" are mutual!
  "./OUT": *expandaddr* doesn't allow file or pipe address
  ~:set expandaddr=restrict     
  (continue)
  ~b ./OUT                 
  .
  ?0[ +mbox]? 

I hope that S-nail addresses the Common Vulnerabilities and
Exposures® CVE 2014-7844 a bit better than what has been proposed
for mailx.  With "restrict" you can still have all the security
except when you are interactive and have visual control of what
you are doing.

Does this satisfy your question?
I am open to further suggestions.

--steffen

------------------------------------------------------------------------------
_______________________________________________
S-nail-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/s-nail-users

Reply via email to