cancelmsg can not cancel a message without a DSN (if requested by the message).
It is somehow tricky to remove it from the queue directly because that will confuse courierd. Otherwise courierd doesn't have a flag or something that helps it to know that this message has to be removed unconditionally. It needs some special attention from someone knowing exactly how to add such a flag. Sam? ;) On Sat, Sep 13, 2003 at 01:26:12PM -0700, Colin Dick wrote: > Hi all, > Thanks again for all the help with optimization to try to reduce / > speed up the processing of my mail queue which at one point contained over > 200,000 messages. I am now at about 70,000 and still reducing. > > In any event, one of the things I attempted to was to write a > program to parse the queue for specific deliveries and run: > > /usr/lib/courier/bin/cancelmsg <qid> > > for the specific id's. I thought this was a great step as I have > a whack of messages to a common address that don't need to be delivered. > However, I see now that bounces are being sent for every message I have > marked to delete. > This has not helped to clean my queue as now, instead of the > initial message, I have a bunch of bounces being generated and populating > the queue. So I am no further ahead with that theory. > Is there a way to cancelmsg immediately with no bounce? This > would be a much more effective way to clear the queue. The perl script > that was included by Mircea Damian also used the deletemsg utility so it > was no more help. > I have tried to follow the process of a message as listed at > http://www.courier-mta.org/queue.html, however, it gets pretty confusing > and have yet to sort out how to build a utility to go into the > /usr/lib/courier/var/msgq, msgs, tmp directories and delete the > appropriate files. Has anyone done this already? > > If possible, please reply to my email address as well as this > list. I am getting the maillist as a digest and if I can get a response > before the digest is sent, it would be appreciated. Thanks in advance for > any help you can provide. Have a good day. > -- Mircea Damian Data Network Manager - Internet & Data E-mail: [EMAIL PROTECTED] Astral Telecom Bucuresti ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ courier-users mailing list [EMAIL PROTECTED] Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
