in reply to Parse Email

You could have procmail(1) feed all or only certain incoming mails to your script - that would work without any inherent polling. Better yet, you could replace procmail with Mail::Audit and plug your own stuff right into that. The latter is probably the best solution; if you need some extra help with your mail mangling (unlikely), check out the myriad of Mail::* modules. <p align="right>Makeshifts last the longest.

Replies are listed 'Best First'.
Re: Re: Parse Email
by Anonymous Monk on Jun 09, 2002 at 20:39 UTC
    I was reviewing Mail::Audit and sounds like it could fit the bill. It included a program called popread. If I understand correctly, this polls my pop mailbox and feeds my e-mail to Mail::Audit, right?

    Also, in the future if I wanted to setup my own mailserver, would it be easy to pipe the e-mail from the mailserver directly to Mail::Audit?

    Thanks
      Yes and yes. The latter is actually Mail::Audit's raison d'être.

      Makeshifts last the longest.