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

Conditionally removing signature



Hey,

I have the following configuration:

  send-hook .*          "source ~/.mutt/include/tumbolia"
  send-hook apache      "source ~/.mutt/include/apache"
  send-hook debian      "source ~/.mutt/include/debian"
  send-hook gnu         "source ~/.mutt/include/gnu"

Each one of these files contains something like the following:

  set signature = "~/.mutt/signature/tumbolia"

I want to create a macro that sends an email to myself, and does so without any
signature. But this must not remove the signature for emails sent to multiple
recipients when I am also one of the recipients.

I originally tried:

  send-hook nslater@xxxxxxxxxxxx "set signature="

This works, except when I am including more than one person.

I tried something like the following:

  macro index,pager M "<enter-command>set signature=<enter><mail>nslater<enter>"

Unfortunately, the send-hook commands above set it back again.

Any thoughts about how to do this?

Thanks,

-- 
Noah Slater, http://tumbolia.org/nslater