Then is there any way to tell what this file is going to be called 
once it is delivered?  There's got to be some mechanism for doing 
this.

If the first line of my .qmail file is vdelivermail, and the second line 
runs the perl script, I would assume that it has already been 
delivered by the time it gets there.  Of course this assumption is 
probably wildly incorrect.

Possibly any other ideas on how to achieve the same goal?  I need 
to run a perl script on every piece of mail that gets delivered to a 
local user as soon as it comes in.  I'm using vchkpw for the virtual 
domain stuff. 

--James
----------------------------------------------
ASCII Ribbon campaign against HTML E-Mail  / \
load "linux",8,1


> On Sat, 14 Aug 1999, James W. Blackwell wrote:
> 
> > Greetings,
> > 
> > I need to be able to access the filename (ie, 
> > 934495102.12993.qmail:2,) of the message just saved  from within 
> > a perl script launched by the .qmail-[username] file.
> > 
> > I see there are several environmental variables that are set in the
> > shell, but not for the filename.
> 
> That's because the .qmail file contains DELIVERY instructions.  qmail
> can't tell you the filename when it hasn't delivered the message yet.
> 
> > 
> > Any help would be greatly appreciated.
> > 
> > TIA,
> > --James
> > 
> > 
> 
> ---------------------------------
> Timothy L. Mayo                               mailto:[EMAIL PROTECTED]
> Senior Systems Administrator
> localconnect(sm)
> http://www.localconnect.net/
> 
> The National Business Network Inc.    http://www.nb.net/
> One Monroeville Center, Suite 850
> Monroeville, PA  15146
> (412) 810-8888 Phone
> (412) 810-8886 Fax

Reply via email to