[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] contrib to select mail server based on From: in draft
From: |
David Levine |
Subject: |
Re: [Nmh-workers] contrib to select mail server based on From: in draft |
Date: |
Tue, 31 May 2016 22:08:43 -0400 |
Conrad wrote:
> Do you have anything set up to automatically alter From addresses when
> replying?
Here's the relevant part of my replcomps:
%<(nonnull(getmyaddr{to}))From: %(myname) <%(getmyaddr{to})>\
%?(nonnull(getmyaddr{cc}))From: %(myname) <%(getmyaddr{cc})>%>
If one of my addresses isn't in the To: or Cc:, it puts a blank line in the
draft.
I fill that in manually (using an editor macro).
This comes in handy for show what that will do:
$ fmttest -format "$(grep From: $(mhpath +)/replcomps)" -message +inbox last
David