signature only when one specific (alternate) address

This is a discussion on signature only when one specific (alternate) address within the Mutt forums in Other Technologies category; Hallo! I have many alternates addresses: me at domain1.com me-again at domain2.com another-me at domain3.com I want to use a specific signature ~/Mutt/the-signature only when mailing as (me at domain1.com). I cannot make the using of signature folder-specific, because I received in the same folder mails for all 3 addresses. I have in my .muttrc: send-hook . "unset signature" send-hook "~f domain1.com" "set signature=~/Mutt/signature" but it doesn't work I'ved change it in: send-hook "~f me@domain1.com " "set signature=~/Mutt/signature" but it still doesn't help :-( What can I do? Regards, Vlad Ghitulescu...

Go Back   Application Development Forum > Other Technologies > Mutt

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 05-04-2004, 08:21 AM
Vlad Ghitulescu
Guest
 
Default signature only when one specific (alternate) address

Hallo!


I have many alternates addresses:

me at domain1.com
me-again at domain2.com
another-me at domain3.com

I want to use a specific signature ~/Mutt/the-signature only when
mailing as (me at domain1.com).
I cannot make the using of signature folder-specific, because I
received in the same folder mails for all 3 addresses.

I have in my .muttrc:

send-hook . "unset signature"
send-hook "~f domain1.com" "set signature=~/Mutt/signature"

but it doesn't work

I'ved change it in:

send-hook "~f me@domain1.com" "set signature=~/Mutt/signature"

but it still doesn't help :-(

What can I do?


Regards,
Vlad Ghitulescu
Reply With Quote
  #2  
Old 05-05-2004, 01:49 AM
Sahil Tandon
Guest
 
Default Re: signature only when one specific (alternate) address

* Vlad Ghitulescu <Vlad.Linux@gmx.de> [4 May 2004 05:21:54 -0700]:

> send-hook . "unset signature"
> send-hook "~f domain1.com" "set signature=~/Mutt/signature"


Is your default header you@domain1.com? If not, and you're changing it to be
so after/during editing a message, that might be your problem.

From the manual:

| Note: the send-hook's are only executed ONCE after getting the initial
| list of recipients. Adding a recipient after replying or editing the
| message will NOT cause any send-hook to be executed. Also note that
| my_hdr commands which modify recipient headers, or the message's
| subject, don't have any effect on the current message when executed
| from a send-hook.

--
Sahil Tandon <sahil@despammed.com>
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 05:33 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.