On Fri, 24 May 2002, Cedric Fontaine wrote:
> In fact, the script does work and does its jobs... But when Qmail
> delivers the mail to my script, it assumes that the mail is not
> successfully delivered and puts the mail in queue. But the mail is
> fully delivered...
> That means that my script parses the mail cause it received it. And
> some hours later, Qmail refeed my script and assumes that the mail is
> not fully delivered and goes on for hours and hours...

qmail uses the exit code to determine what happened to the message. Try 
ending your script with exit(99); that tells qmail that you're done with 
the message and never want to see it again.


PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to