|[an error occurred while processing this directive]||
Posted: 4 Aug 2003
Some items came to light when we were under a fairly large relay load... Several clients had viruses that were spewing relayed mail. We are an ISP with many downstream customers.
Illuminating the Problem...
Typing "MailCon" at the prompt will bring up the netmail monitoring screen, you can view how many messages are in the queue, get a feel for how much mail is going through your server, and view uptime.. In our case the queue was uncharacteristically large... we maintain between 50/100 queued, yesterday we were at 2700.
Now that we have an indicator what next... Who is spewing this mail..?
There are a couple of methods to determine the problem:
Final problem.. a busy queue, recycling every so often trying to spew the bad mail.. The just do it method for clearing the queue is to do an "ims unload" and delete everything in sys:/novonyx/mail/spool, then reload.. however there is a way without unloading ims..
List the queue by typing "Mail Queue" at the console, this will create a file sys:/novonyx/mail/dbf/queue.ims with all of the mail domains queued. Another thing that came to light was a tip from Matt Defoor... type "Mail Queue e" this will bring the file up in the editor...
To remove messages from the queue you can use "Mail Remove domain.com". This will delete a queued message. With this knowledge you can edit your queue.ims file and do a search and replace in front of each entry "[ 1]" replace with "mail remove", rename the file with a .ncf extension and you can run it like a batch file... I usually copy it to the root of sys: and name it dumpq.ncf, then run it with sys:\dumpq.ncf.
Hopefully you'll all find this useful someday.. NETMAIL ROCKS..!
For more tips see:
Here's a chance to share your experiences using NetMail. Just send us a tip about using (or installing, deploying, troubleshooting, etc.) NetMail, and if it looks like something we can use, we'll send you a Novell t-shirt, post your tip, and make you famous beyond your tamest dreams. Submit your tip here: http://www.novell.com/coolsolutions/netmail/features/tips/t_submit_a_tip_nm.html