nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] contrib to select mail server based on From: in draft

2016-05-31 21:09:04
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

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers

<Prev in Thread] Current Thread [Next in Thread>