Jason R. Mastaler wrote: > "Jesse D. Guardiani" <[EMAIL PROTECTED]> writes: > >> Would it be conceivable to set those flags with tmda-pending BEFORE >> handing the message off to sendmail? Or would that cause problems if >> the delivery failed? > > Right. I think it's better to set the flag once the message is truly > delivered instead of before we know for sure.
OK. No prob. I've rewritten part of my qadmin-tmda to include a $no_show variable. After every 'delete' or 'approve' action it passes the message IDs of the messages acted upon, via the $no_show variable, to my queue display function. The queue display function calls tmda-pending -T and stores the output in an array. Then it removes any message IDs in the $no_show variable from the storage array and parses the array into an HTML table. The $no_show var is self cleaning too, so once the message is actually gone from the maildir (or the status has been modified), qadmin-tmda will remove that message ID from the $no_show var. Works pretty well. The only thing that bugs me is that 200 message IDs will be passed from the client to the server if you delete that many messages at once. But I can solve that with by storing $no_show in a flat file in the user's home dir rather than just passing it via GET, so I guess it's no big deal. Thanks for the feedback. -- Jesse Guardiani, Systems Administrator WingNET Internet Services, P.O. Box 2605 // Cleveland, TN 37320-2605 423-559-LINK (v) 423-559-5145 (f) http://www.wingnet.net We are actively looking for companies that do a lot of long distance faxing and want to cut their long distance bill by up to 50%. Contact [EMAIL PROTECTED] for more info. _________________________________________________ tmda-workers mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-workers
