-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 * Patrick Schoenfeld <[EMAIL PROTECTED]> [10-24-07 10:42]: > I want to write a script that _asks_ the user, if he wants to send a return > receipt (note how that differs from your assumption that a macro would be > suffice. For me it wouldn't because w/o the question _I_ would forget to send > the return receipt). Something like this can automatically be triggered only > by message > hooks. But as the solution is extern (= a script), how do i call it from > within > the message hook? I added a hook like this: > > message-hook "~h Return-Receipt-To:" "|/home/schoenfeld/.mutt/return_receipt" > > And even though the specified file is a valid executable script mutt says > (when > I open this mail in the pager): > > |/home/schoenfeld/.mutt/return_receipt: Unknown command
first *guess* w/b that ~/.mutt/return_receipt script was not executable, but you have really presented little information. - -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4-svn4472 (GNU/Linux) iD8DBQFHH1sdClSjbQz1U5oRAoShAJ0RkvztBrLo1jW8fqfKCWtR1EgaaQCgpm9x 7rhYW+Z8Cfdy2Tku3GQovZU= =uIe1 -----END PGP SIGNATURE-----