Solved

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

Posted on 2008-10-10
5
722 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 12

Expert Comment

by:Pugglewuggle
ID: 22693160
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
ID: 22710976
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
ID: 22712072
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
ID: 22712131
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
ID: 22712282

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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
There’s a movement in Information Technology (IT), and while it’s hard to define, it is gaining momentum. Some call it “stream-lined IT;” others call it “thin-model IT.”
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…
Suggested Courses

707 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