Quoth pouya+lists.9f...@nohup.io:
> I should take a closer look but I seem to recall some special handling
> of From: lines in acme Mail.
Yes -- acme Mail does set its own From lines,
among other things that annoyed me.
(That's why I rewrote it as Nail: less cleverness,
less code, and thread
> Quoth pouya+lists.9f...@nohup.io:
>> Upas/marshal already supports that by setting the upasname env
>> variable, or did you mean to have it as a flag or taken from the
>> headers in the input?
>
> I was thinking that
>
> echo From: foo; message | upas/marshal
>
> should be roughly
Quoth pouya+lists.9f...@nohup.io:
> Upas/marshal already supports that by setting the upasname env
> variable, or did you mean to have it as a flag or taken from the
> headers in the input?
I was thinking that
echo From: foo; message | upas/marshal
should be roughly equivalent to:
Thank you all for your feedback.
I have combined my answers to a few responses below.
> [pouya+lists.9f...@nohup.io]
>> I was looking for a way to send emails from different addresses with
>> Acme Mail
[9f...@hamnavoe.com]
> That's what /mail/box/$user/pipefrom is for. (Not specific to acme.)
>
> Please double-check this. When I add a From: in acme Mail it's always
> converted to a destination address.
Perhaps that's a quirk of acme Mail? Works for me with Nail and
marshal(1).
--
9fans: 9fans
Permalink:
28.01.2021 11:09:20 Alex Musolino :
I'd love this functionality in marshal. Would it then also work in
Nail?
(No crazy filtering in Nail?)
Would a potential marshal patch be applied to 9front? I think it's a
nice
feature and prevents setting $upasname before starting [MN]ail. Also I
> I'd love this functionality in marshal. Would it then also work in Nail?
> (No crazy filtering in Nail?)
>
> Would a potential marshal patch be applied to 9front? I think it's a nice
> feature and prevents setting $upasname before starting [MN]ail. Also I
> don't think it would change
> I was looking for a way to send emails from different addresses with
> Acme Mail
That's what /mail/box/$user/pipefrom is for. (Not specific to acme.)
For example, my pipefrom includes this:
if (~ $dests *9fans@9fans.net*) {
sed '1,/^$/s/^(From: .*)/\1<9f...@hamnavoe.com>/'
|
Hey ori,
I'd love this functionality in marshal. Would it then also work in Nail?
(No crazy filtering in Nail?)
Would a potential marshal patch be applied to 9front? I think it's a nice
feature and prevents setting $upasname before starting [MN]ail. Also I
don't think it would change