Solved

Exchange queue alert

Posted on 2010-11-29
8
1,158 Views
Last Modified: 2012-06-21
Hello - I have a client running Exchange 2007.  We employ GFI MailEssentials and MailSecurity.  I have a problem where the Exchange queue stalls and email flow fails ingress/egress.  I resolve the issue by restarting some of the GFI MailSecurity services.

Primarily, I'd like to know how I can kick off events when this scenario occurs...I'd like to setup an event that either restarts the whole server or specific services.  This client's dependence on email is growing and I see these issues affecting them negatively in the future.

I know that troubleshooting and resolving the issue with MailSecurity would be the first choice.  GFI is working on a new release that we believe will resolve this issue, but it's still in BETA.  That's not to say, however, that we would not employ a solution to this specific issue if someone has one.

Hope my explanation is clear.  Please inquire if more detail is needed.


Regards,

Digitap
0
Comment
Question by:digitap
  • 5
  • 2
8 Comments
 
LVL 18

Expert Comment

by:suriyaehnop
ID: 34231158
If GFI fail, then you may forward the outgoing to DNS as smart host.
0
 
LVL 33

Author Comment

by:digitap
ID: 34231549
I don't understand your inference to DNS.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 34231909
Thanks for the heads-up dude.

If my understanding is correct, this is what you are asking:
a) If exchange queue grows beyond a certain threshold, you'd want to restart A,B,C exchange service ?
OR
b) If exchange queue grows beyond a certain threshold, you'd want to log events which you can check in event viewer ?

Option-A is fraught with risks:
Lot many times legit emails will be clogging the queue and the queue will get flushed on its own accord after it resolves the DNS.
For example - someone is sending out an email blast and you have 100+ mails in the queue. Restarting services in such a scenario doesnt make sense.

If you are trying to come-up with a solution like that, you'd need some service / powershell combination which queries the queue and then does necessary tasks. I dont have an elegant method to do this yet.

I'd rather focus on the main issue first:
- why are emails sitting in the queue. Is it specific to a particular domain like @yahoo.com - and you are getting 5.5.1 / 5.5.4 etc errors.
- is it for a handful of domains.
It will be worthwhile to investigate.

I have a client who had a similar situation after one of their clients changed their mail-security software. I configured a smarthost on Exchange 2003 and had those specific domains relay through my Exchange server. This was a temporary solution, till the client could figure out why it was rejecting emails from us.

Let me know what you think ?
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 33

Author Comment

by:digitap
ID: 34232142
your understanding is close.  i believe we know the issue to be with our GFI products and restarting the services resolves the issue.  can't say we've ever had an issue resolving DNS causing an issue with email delivery.

when we encounter an email flow issue, we review the queue and fine over 900 email messages sitting there.  restart the services and email flows again causing the queue to decrease.

our problem is finding a way to monitor the queue so that we "know" when the queue is full allowing us to respond accordingly.

i'm hoping an update fixes this issue within our security software, but having a solution for this particular problem for future challenges would be nice.
0
 
LVL 28

Expert Comment

by:sunnyc7
ID: 34232273
Can you check the DNS in GFI mail essentials.

Here's a kbase.
http://kbase.gfi.com/showarticle.asp?id=KBID001770

I will post back when I come up with a Exchange 2007 queue monitor.
The usual way is Open Exchange > Toolbox > queue viewer.

0
 
LVL 33

Author Comment

by:digitap
ID: 34232403
this tests out properly.  however, the issue is with the mailsecurity product not mailessentials.
0
 
LVL 33

Accepted Solution

by:
digitap earned 0 total points
ID: 34302929
The GFI MailSecurity 2011 update appears to have fixed the stalled service.  Since this is the case, our client has requested we not spend any more time coming up with a queue monitoring solution.  As such, I'm closing this question.
0
 
LVL 33

Author Closing Comment

by:digitap
ID: 34332978
The GFI MailSecurity 2011 update appears to have fixed the stalled service.  Since this is the case, our client has requested we not spend any more time coming up with a queue monitoring solution.  As such, I'm closing this question.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A procedure for exporting installed hotfix details of remote computers using powershell
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question