<<< Date Index >>>     <<< Thread Index >>>

Re: Setting default from address according to recipients



Matthew R. Dempsky wrote:
> I'm trying to setup mutt to automatically change my default from
> address to matthew.dempsky@xxxxxxxxxxxxxxxxxxxx when emailing anyone
> with an @utdallas.edu address except our campus's LUG mailing list,
> utdlug@xxxxxxxxxxxxx

send-hook '~t @utdallas\.edu$ !~t ^utdlug@utdallas\.edu$' \
  'push <edit-from><kill-line>matthew.dempsky@xxxxxxxxxxxxxxxxxxxx<return>'


Toby

-- 
Signed/encrypted mail welcome.  GPG/PGP Key-Id: 0x15C5C2EA