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

Re: script for generating hooks



On 02/16/08, Peter Münster wrote:
> Hello,
> 
> Before making some scripts, I would like to know, if someone has already
> done, what I'm looking for, or something similar:
> 
> A script, that generates fcc- and save-hooks automatically from aliases
> 
> Example:
> alias user1 user1@xxxxxxx (Name)
> alias user2 user2@xxxxxxx (Name)
> alias twousers user1, user2
> 
> And the following hooks will be generated:
> 
> fcc-save-hook user1@foo\.org +user1
> fcc-save-hook user2@foo\.org +user2
> fcc-hook ~C user1@foo\.org ~C user2@foo\.org +twousers
> save-hook ~L user1@foo\.org ~L user2@foo\.org +twousers
> 
> Cheers, Peter
> 
> -- 
> http://pmrb.free.fr/contact/
> 

Maybe that would be part of the answer to a question I have.

What hook would you use to set your sig based on the initial user you
have chosen? 

IE, if I send an email to mutt-users@xxxxxxxx I want one sig. If I do a
personal email I might want something else.

-- 
respectfully,
 -------------------------------------
|                         Joseph | IT |
 -------------------------------------

Attachment: signature.asc
Description: Digital signature