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

Re: addressbook and aliasfile



* Michelle Konzack <linux4michelle@xxxxxxxxxx> [070116 18:48]:
> What I need is a function to WRITE to the database instead
> to the ALIAS file.

Use <pipe-message>. You need something like this:

macro index,pager A "<pipe-message>abook --add-email<return>" "add the
sender address to abook"

So you'll probably also want to write some script that filters your
e-mail and executes the right commands and information to add your alias
to the database. See e.g.
http://hermitte.free.fr/mutt/files/bin/abookadd.pl.html

mdb
-- 
Als er niet is gelachen,
was het niet serieus genoeg