Re: send-hooks
I've found my stupidity. I know regex, so I should have seen this right away. ^@domain.com will always be a no-grok. Thanks anyway. On 11/08, Me rearranged the electrons to read: > Can someone help me? I've got the following lines in my .muttrc: > send-hook '~f ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' > send-hook '~t ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' > > with which I am trying to accomplish the following: I'd like that > when I reply to messages coming from domain.com, that my From: > header be modified like stated above. > > It isn't working, and I'd like some help please. > > Here's my version info: > > Mutt 1.3.9i (2000-09-21) > Copyright (C) 1996-2000 Michael R. Elkins and others. > Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. > Mutt is free software, and you are welcome to redistribute it > under certain conditions; type `mutt -vv' for details. > > System: Linux 2.4.0-test10p6-reis3.6.18 [using slang 10400] > Compile options: > DOMAIN="yahoo.com" > +DEBUG > -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE > +USE_FCNTL -USE_FLOCK > +USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL > +HAVE_REGCOMP -USE_GNU_REGEX > +HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET > -HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM > +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +SUN_ATTACHMENT > +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET > +HAVE_LANGINFO_YESEXPR > +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID > ISPELL="/usr/bin/ispell" > SENDMAIL="/usr/sbin/sendmail" > MAILPATH="/var/spool/mail" > SHAREDIR="/usr/share/mutt" > SYSCONFDIR="/usr/etc" > EXECSHELL="/bin/sh" > -MIXMASTER > To contact the developers, please mail to <[EMAIL PROTECTED]>. > To report a bug, please use the flea(1) utility. > > Your eyes are weary from staring at the CRT. You feel sleepy. Notice how > restful it is to watch the cursor blink. Close your eyes. The opinions > stated above are yours. You cannot imagine why you ever felt otherwise. > Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
send-hooks
Can someone help me? I've got the following lines in my .muttrc: send-hook '~f ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' send-hook '~t ^@domain\.com$' 'my_hdr From: User Name <[EMAIL PROTECTED]>' with which I am trying to accomplish the following: I'd like that when I reply to messages coming from domain.com, that my From: header be modified like stated above. It isn't working, and I'd like some help please. Here's my version info: Mutt 1.3.9i (2000-09-21) Copyright (C) 1996-2000 Michael R. Elkins and others. Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'. Mutt is free software, and you are welcome to redistribute it under certain conditions; type `mutt -vv' for details. System: Linux 2.4.0-test10p6-reis3.6.18 [using slang 10400] Compile options: DOMAIN="yahoo.com" +DEBUG -HOMESPOOL +USE_SETGID +USE_DOTLOCK +DL_STANDALONE +USE_FCNTL -USE_FLOCK +USE_POP +USE_IMAP -USE_GSS +USE_SSL -USE_SASL +HAVE_REGCOMP -USE_GNU_REGEX +HAVE_COLOR -HAVE_START_COLOR -HAVE_TYPEAHEAD -HAVE_BKGDSET -HAVE_CURS_SET -HAVE_META -HAVE_RESIZETERM +HAVE_PGP -BUFFY_SIZE -EXACT_ADDRESS +SUN_ATTACHMENT +ENABLE_NLS -LOCALES_HACK +HAVE_WC_FUNCS +HAVE_LANGINFO_CODESET +HAVE_LANGINFO_YESEXPR +HAVE_ICONV -ICONV_NONTRANS +HAVE_GETSID ISPELL="/usr/bin/ispell" SENDMAIL="/usr/sbin/sendmail" MAILPATH="/var/spool/mail" SHAREDIR="/usr/share/mutt" SYSCONFDIR="/usr/etc" EXECSHELL="/bin/sh" -MIXMASTER To contact the developers, please mail to <[EMAIL PROTECTED]>. To report a bug, please use the flea(1) utility. Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
Help with a multiline send-hook
I am trying to set the my_hdr and the signature as a result of a single hook. This does not accomplish that. Can someone help? send-hook '~t ^.*@domain.com$' \ my_hdr From: User <[EMAIL PROTECTED]> \ set signature=~/.sig_domain Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.
Another question for the .muttrc gods
Ok, so now I have the multiline commands thing working for a singular send-hook, like follows. send-hook '~t @domain.com$' "set signature=~/.sig_domain ; \ my_hdr From: User Name <[EMAIL PROTECTED]>" Now, I'd like to have two additional capabilities: 1. Define a macro for doing the multiple commands in the send-hook instead of the way it's done now. 2. Be able to match the ~t for multiple domains on the same line. #1, of course, is the most important, as I intend on using ~/.sig_domain for many dissimilar domains too. (let's say domain.com is my business, and I'd like to set my .sig accordingly when emailing any of my clients. Your eyes are weary from staring at the CRT. You feel sleepy. Notice how restful it is to watch the cursor blink. Close your eyes. The opinions stated above are yours. You cannot imagine why you ever felt otherwise.