[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to use "intelligent" signature generator with mutt?



Wojciech Zabolotny wrote:
> I'd like to use the perl script to generate the signature for my mail messages,
> depending on the addressee. For example: when the address ends with ".pl" the
> signature is in Polish etc.
> Now I have the signature var set to "~/.generate_signature|".
> Is it possible to transfer addressees' list to the ".generate_signature"
> script, as additional parameters? (eg. by setting:
> set signature="~/.generate_signature $to |"
> or something like this?)
> I couldn't find such functionality in mutt documentation :-(.

No I don't think it is.

Instead you can make a wrapper program around your editor that intelligently
adds a signiture if it's not present and tell mutt to use that program as
your editor for mail messages.

-- 
see shy jo


Reply to: