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

Re: execute command while new mail arrives



* Michael Kjorling <michael@xxxxxxxxxxxx> [2005-03-08 09:51:10 +0000]:

> On 2005-03-08 10:46 +0100, ferdy_news@xxxxxx wrote:
> > In case someone is interested in: I made a very, very dirty hack in
> > mutt-cvs sources to accomplish my wish. I grep'd for beep() and
> > located it in curs_main.c. I simply exchanged the beep() with an
> > pure 
> >  
> >     system("osd_print newmail &"); 
> 
> Have you considered passing the mail to formail via a procmail recipe,
> or some similar setup, to extract the information you want and pass it
> to an external application?

Well, your suggestion sounds good. But on my local machine where
mutt is running there is no fetchmail, procmail running. I use
mutt's own possibility to connect to my imaps-server running on my
router and that's it. 

May be I should think about running a local fetchmail and procmail
to get my mail from the imapserver... I'll think about it.

-- 
Best regards,

Fred Thiele