Re: [vchkpw] vdelivermail EXITCODE problem

2003-10-01 Thread thomas.hendrich
Hi Anders,

thanks for that hint, I think I´ll give it a try next weekend.
To be honest, what I´ve done to get rid of that problem is let qmail do the whole 
stuff with interpreting the EXITCODE from my spamfilter script.

Instead of putting the .qmail file in 
/path-to-vpopmail/domains/domain1/emailadress1/.qmail ( here vdelivermail would do the 
delivery and the check for the EXITCODE ) I made a script to create a 
.qmail-emailadress1 in /path-to-vpopmail/domains/domain1/.qmail-emailadress1 ( here it 
is qmail that handles the .qmail file, starts my spamfilter script, gets the EXITCODE 
and then drops the mail into /path-to-vpopmail/domains/domain1/emailadress1/Maildir/ 
where vdelivermail gets it and delivers it.

It is somehow a little bit difficult but works fine for me.
If I have any experiences with that patch I´ll let you all know.

Thanks

Thomas

 Hi,

 On Tue, 2003-09-30 at 10:09, [EMAIL PROTECTED] wrote:
  So I upgraded to the last stable version 5.2.1 whereas the
  changelog said that within 5.2.1 the EXITCODE checks would be
  performed.

 Vpopmail 5.2.1 fails to catch exitcode 100. Here is a patch:
 http://fmail.dk/stuff/vpopmail-5.2.1-vdeliver-command-100.diff

 Hope this helps.

 /Anders





 



[vchkpw] vdelivermail EXITCODE problem

2003-09-30 Thread thomas.hendrich
Hi everybody,

yesterday I asked you if there is a problem in vdelivermail of handling EXITCODEs in 
.qmail files and I discovered that in my installed version 5.2 no checking of the 
EXITCODE was possible.

So I upgraded to the last stable version 5.2.1 whereas the changelog said that 
within 5.2.1 the EXITCODE checks would be performed.

Now over the night I discovered that a script started within a .qmail file before the 
deliver-to-Maildir instruction and returns an EXITCODE of 99 or 100 ( which value is 
not important ) the delivery of that mail is interrupted ( not stopped as it sould be 
) BUT the mail stays in the queue and the queue starts delivering mail again and again.
What I´m trying to say is that one single mail has been delivered about 200 times that 
night and everytime the script told vdelivermail to end the delivery and everytime the 
mail stayed within the qmail queue to be delivered some time later.

What I now want to know is if there must be another EXITCODE so that vdelivermail 
definetely kills that mail processing or if this is a bug in vdelivermail and I should 
upgrade to something higher ( i read in the changelog that several fixes to the 
EXITCODE thing have been made in 5.3.x but this versions are to be devel-state and I´m 
wondering if I should use devel-software on a running system.

Thanks for your help!

Thomas 



Re: [vchkpw] vdelivermail EXITCODE problem

2003-09-30 Thread Brah Mon
Something to look at:

it seems to stand out in my memory as ive had this same problem, but i dont
recall a resolve for it..
basically if you are having the same problem i was, then you cannot have
anything in your .qmail processing fork..
it must continue to run in the foreground or the mail will keep
re-spawning.. one day i ended up with 900 mysqld's running
due to vdelivermail-maildrop-mailfilter. and it only seemed to happen when
called by .qmail files.
if you are doing any processing in .qmail files, make sure they do not get
backgrounded or forked..

i think the man pages for either vdelivermail or qmail-command will have
more info about this..

- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, September 30, 2003 4:09 AM
Subject: [vchkpw] vdelivermail EXITCODE problem


Hi everybody,

yesterday I asked you if there is a problem in vdelivermail of handling
EXITCODEs in .qmail files and I discovered that in my installed version 5.2
no checking of the EXITCODE was possible.

So I upgraded to the last stable version 5.2.1 whereas the changelog said
that within 5.2.1 the EXITCODE checks would be performed.

Now over the night I discovered that a script started within a .qmail file
before the deliver-to-Maildir instruction and returns an EXITCODE of 99 or
100 ( which value is not important ) the delivery of that mail is
interrupted ( not stopped as it sould be ) BUT the mail stays in the queue
and the queue starts delivering mail again and again.
What I´m trying to say is that one single mail has been delivered about 200
times that night and everytime the script told vdelivermail to end the
delivery and everytime the mail stayed within the qmail queue to be
delivered some time later.

What I now want to know is if there must be another EXITCODE so that
vdelivermail definetely kills that mail processing or if this is a bug in
vdelivermail and I should upgrade to something higher ( i read in the
changelog that several fixes to the EXITCODE thing have been made in 5.3.x
but this versions are to be devel-state and I´m wondering if I should use
devel-software on a running system.

Thanks for your help!

Thomas






Re: [vchkpw] vdelivermail EXITCODE problem

2003-09-30 Thread Anders Brander
Hi,

On Tue, 2003-09-30 at 10:09, [EMAIL PROTECTED] wrote:
 So I upgraded to the last stable version 5.2.1 whereas the
 changelog said that within 5.2.1 the EXITCODE checks would be
 performed.

Vpopmail 5.2.1 fails to catch exitcode 100. Here is a patch:
http://fmail.dk/stuff/vpopmail-5.2.1-vdeliver-command-100.diff

Hope this helps.

/Anders