<<< Date Index >>>     <<< Thread Index >>>

Re: signature based on recipients



On Thu, Jun 22, 2006 at 08:32:50PM +0200, Alain Bench wrote:
> Hello Wang,
> 
>  On Thursday, June 22, 2006 at 20:50:52 +0800, Wang ShaoChun wrote:
> 
> > different signature based on the recipient's address.
> >| send-hook . "set signature=.signature"
> >| send-hook "~t mutt-users@xxxxxxxx" "set signature=.mutt/ml-signature"
> 
>     Thank you. Additionally you can:
> 
>  -1) Use absolute paths, so it works from any $PWD.
>  -2) Drop the "~t", so it works also for CCs.
>  -3) Use strictest possible regexps, to avoid false positives.
> 
> | send-hook .                         "set signature=~/.signature"
> | send-hook ^mutt-users@mutt\\.org$   "set signature=~/.mutt/ml-signature"
> 
> 
> Bye!  Alain.
> -- 
> Everything about locales on Sven Mascheck's excellent site at new
> location <URL:http://www.in-ulm.de/~mascheck/locale/>. The little tester
> utility is at <URL:http://www.in-ulm.de/~mascheck/locale/checklocale.c>.

Good revision, Thank you!

-- 
Shaochun Wang <xxxx@xxxxxxxxx>
My web site:
        http://lcs.ios.ac.cn/~scwang