Solved

How do I clear the mail log on a Cisco ASA?

Posted on 2008-10-10
5
710 Views
Last Modified: 2012-05-05
The mail log on my Cisco ASA is FULL (sitting at 3 million queued emails...)

From what I have seen the only way to clear the log is to reboot the firewall.  Is there another way from the console to clear the queue?
0
Comment
Question by:COSMTARFCU
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Pugglewuggle
Comment Utility
What do you mean the mail log?
Can you please post the output and command you ran so I can take a look?
As far as I know, ASA's don't keep a mail queue log...
Cheers! Let me know!
0
 

Author Comment

by:COSMTARFCU
Comment Utility
Let me clarify the problem, when our internet connection went down, I stopped recieiving emails from the ASA for when VPNs connect, or for when config changes are made.  When the internet connection came back up, I still didn't recieve anything.

I do a sh logging settings the mail logging: list log_vpn, had 3403569 messages, and I wasn't getting any emails when VPNs connected, or when changes to configs were made.

After rebooting it, a sh logging settings showed 1304, and I started getting emails again.

So, is there a way to clear the logs/queue without rebooting the ASA?

OR, is there something else to look for?
0
 
LVL 16

Expert Comment

by:2PiFL
Comment Utility
There is no "mail queue log", what you are seeing is the number of messages logged since the last reboot - so the only way to "clear" the counter is to reboot.
0
 

Author Comment

by:COSMTARFCU
Comment Utility
Ok, so, if it stops sending email, besides a reboot, what is it I need to look at in order to get it to start again?  
0
 
LVL 16

Accepted Solution

by:
2PiFL earned 500 total points
Comment Utility

I would try disabling the emailing of logs
Firewall(config)# no logging mail

and then re-enable it.  Look at step 8:

http://www.ciscopress.com/articles/article.asp?p=424447&seqNum=2

0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Have you experienced traffic destined through a Cisco ASA firewall disappears and you do not know if the traffic stops in the firewall or somewhere else? The solution is the capture feature. This feature was released in 6.2(1) and works in all firew…
From Cisco ASA version 8.3, the Network Address Translation (NAT) configuration has been completely redesigned and it may be helpful to have the syntax configuration for both at a glance. You may as well want to read official Cisco published AS…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

771 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now