I don't know if this will help but if you are using Perl, there
is a perl module Mail::Audit that might help you out.  I was 
just reading about it in the Perl Journal.  The author of the 
module even mentions how to reference your script in a .qmail
file.  From what I read it is a powerful mail filter toolkit
that is meant to be a replacement for procmail

I haven't tried it, only read about it.

Hope that could help in some way.

Jeff

On Thu, 21 Sep 2000, Eric Cox wrote:

> Gary Richardson wrote:
> > 
> > Hey,
> > 
> > I'm still having troubles with the dotqmail scripting. I can not go
> > 
> > |scriptname
> > 
> > as someone suggested since my script simple prints the email address the
> > message is supposed to go to. Is there some way to use variables in the .qmail
> > files?
> > 
> > I want to do something like:
> > 
> > &`scriptname`
> > 
> > to have it forward to a specific address. Can I do this with a simple script or
> > am I going to have to reinject the message instead of redirecting it?
> 
> Hmmm.  this scenario brings up an interesting question.  Perhaps some 
> of the gurus on the list can shed some light. Would something like 
> this work?
> 
> Mail is delivered to [EMAIL PROTECTED] 
> 
> ~alias/.qmail-user1 contains:
> 
> |script that writes a username into ~alias/.qmail-user2
> &user2
> 
> 
> Eric
> 

Reply via email to