Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am running a CentOS6 VM and I have been playing with Fail2ban, upon removing the service from my server I can see that it appears to be still posting logs to the /var/log/maillog

Here is a link a log snippet -

It's dumped out a fair amount since taking this snippet and I am just curious why and where it's pulling this from. Any advice would be appreciated.


share|improve this question
Did you stop the service? – Michael Hampton Sep 27 '13 at 19:03
up vote 0 down vote accepted

Just removing the software doesn't stop it from running. You need to explicitly stop the service, preferably before uninstalling it.

share|improve this answer
Hmmm. I tried re-installing the service and then stopped all, again yum removed fail2ban. However I am still getting similar log files added like above. – Steve Hamber Sep 27 '13 at 19:37
Those are queued emails. They'll either be delivered eventually or they won't. And please for the love of god don't ever use nano. – Michael Hampton Sep 27 '13 at 19:40
I will keep an eye on this. Many thanks. Nano? What is the issue here? I'm fairly new to Linux so is this a community hate? – Steve Hamber Sep 27 '13 at 19:44
nano truncates your display and corrupts your files. Not what you want when you're working with logs, configuration files, etc. – Michael Hampton Sep 27 '13 at 20:15

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.