Ricardo Kleemann wrote:
Thank you, Rodrigo.

As I believe that most of your 200,000 messages are from
the same source  and/or created for the same
reason/problem I think you could try to look  at some of
them at random. I bet you will quickly recognize some
pattern.


What do you suggest I look for?

A pattern. Capturing "mailq"s output to a file would be a good place to start, so that you can examine the queue contents without waiting for the program to run on each pass.


Once you have that, you can do something like:

grep '^daemon' /tmp/mailq.output | sort | uniq -c

That'll give you a count of each sender. See if there are hundreds of thousands of messages from one sender that you can nuke. If you get a large number of senders that are blank, then your queue is full of DSNs.

Is there any way to slow down the rate of incoming messages
while increasing the rate of outgoing messages?

You can decrease the maximum number of SMTP sessions by decreasing MAXDAEMONS in etc/courier/esmtpd.




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to