On Mon, 30 Apr 2007 or thereabouts, Wilkinson, Alex came forth with:

> If I have an email address in the body of an email such as:

>     [EMAIL PROTECTED]

> Is there a magic function that can add this email address to my $alias_file ?
> I am only aware of being able to add aliases' from the "From:" header.

Hi,

I use mail2muttalias.py for this. It is available here:

http://pyropus.ca/software/mail2muttalias/

It is call from a macro such as:

macro index A  |'mail2muttalias.py ~/.mutt/aliases'\n \
               "Create new alias from the actual message"

Hope this helps.

-- 
Regards,

Roland

PGP Key 0xDA39319B = BCF0 1214 BAE9 5A3D 46FC 21A6 360D 9398 DA39 319B

Attachment: signature.asc
Description: Digital signature

Reply via email to