Re: send-hook for local addresses
Andy -- ...and then Andy Spiegl said... % % Hi Mutters, Hello! % % a short question: ... % But I would also like to define a send-hook that hooks when I send to % local addresses, i.e. mutt user1 instead of mutt [EMAIL PROTECTED]. % % How can I write the send-hook line for local addresses? I haven't tested it yet, and I don't know how clever the regex engine is for hooks, but have you tried send-hook [^@]* ... yet? % Thanks a lot, % Andy. HTH HAND :-D -- David T-G * It's easier to fight for one's principles (play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie (work) [EMAIL PROTECTED] http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg! msg25504/pgp0.pgp Description: PGP signature
Re: send-hook for local addresses
Hi David, I haven't tested it yet, and I don't know how clever the regex engine is for hooks, but have you tried send-hook [^@]* ... yet? No, I haven't. Great idea... and it worked! So mutts regex engine is really smart :-) Thanks, Andy. -- Dr. Andy Spiegl, Radio Marañón, Jaén, Perú E-Mail: [EMAIL PROTECTED], [EMAIL PROTECTED] URL: http://spiegl.de, http://radiomaranon.org.pe PGP/GPG: see headers o _ _ _ --- __o __o /\_ _ \\o (_)\__/o (_) -o) - _`\,__`\,__(_) (_)/_\_| \ _|/' \/ /\\ (_)/ (_) (_)/ (_) (_)(_) (_)(_)' _\o__\_v An artist cannot speak about art, any more than a plant can discuss horticulture.
Re: send-hook for local addresses - negated pattern
* Andy Spiegl [EMAIL PROTECTED] [2002-03-14 17:54]: I haven't tested it yet, and I don't know how clever the regex engine is for hooks, but have you tried send-hook [^@]* ... yet? No, I haven't. Great idea... and it worked! So mutts regex engine is really smart :-) send-hook ! @ 'set signature=~.sig/foo' note the '!' which negates the pattern. it's all in the manual... ;-) Sven [it just needs more examples] -- Sven Guckes [EMAIL PROTECTED] http://www.math.fu-berlin.de/~guckes/mutt/setup.html