COSMTARFCU
asked on
How do I clear the mail log on a Cisco ASA?
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?
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?
ASKER
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?
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?
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.
ASKER
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?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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!