At 09:27 AM 8/7/2001, Charles Cazabon wrote:
>Jerry Lynde <[EMAIL PROTECTED]> wrote:
> >
> > You did say specific user, yes? The FAQ covers making copies of every
> > user's email, not specifically one user... Either that or I'm still waking
> > up (or both.)
>
>This is what the Unix philosophy is all about -- you glue your tools
>together to do what you want.  QUEUE_EXTRA lets you keep copies of all
>mail; you then use grep (or whatever filter you want) to decide what to
>record.  You want to only keep a record of the fifth word of the second
>paragraph of each email you receive, except if the character set is
>Hungarian?  You can do that, easily, but it would be silly to expect
>qmail to have code to deal with that possibility.

Agreed... that's why I tweaked qmail-scanner. It scans every email anyway,
so with a teensy bit of Perl tinkering, I changed the local copy to check the
To and From headers against a db file for instances of the particular username
and send a copy to a different address if found.

I guess you could say the filter I'm using is Perl...

Anyway, I've got a chunk o code that does what I think it is you're asking 
about,
so if you want to check it out, let me know. Otherwise, happy grepping! :o)


Jerry Lynde
System Administrator
US Investigative Services
http://www.diligence.com
[EMAIL PROTECTED]
Phone: (406) 728-0001 x232
Fax: (406) 728-0006

Reply via email to