Goblin <[EMAIL PROTECTED]> wrote on Wed, 15 Nov 2000:
> This does not accomplish that. Can someone help?
> 
> send-hook '~t ^.*@domain.com$' \
>         my_hdr From: User <[EMAIL PROTECTED]> \
>         set signature=~/.sig_domain

If you want to execute multiple commands, you must put a ; in between
them.  Also, you must take care that the ; is handled as a command
separator only when the hook executes, not when the hook is parsed and
added.

I usually have only one command per hook.  If it's just two commands,
I create two identical hooks with differing commands, but any more than
that and I create a separate muttrc-file and set the hook to do a
source-command on that file.


Hope this helps,
Mikko
-- 
// Mikko Hänninen, aka. Wizzu  // [EMAIL PROTECTED] //  http://www.wizzu.com /
// The Corrs list maintainer  //  net.freak   //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Mr. Worf, scan that ship."  "Aye Captain. 300 dpi?"

Reply via email to