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 want to remove an old version of MySQL (using rpm) on a RHEL4 server and I found that a dovecot package depends on it. If dovecot is not needed then I could remove that too. How can I determine if dovecot is being used on this server? Are there any log files that would show its past use?

share|improve this question
up vote 3 down vote accepted

dovecot is a daemon that provides access to e-Mail via the POP3 and IMAP protocols. Is the server providing e-Mail services?

The logging location will depend on your configuration in /etc/syslog.conf. Often the default log location will be /var/log/maillog. Dovecot uses the mail logging facility.

If you want to see if dovecot is running, you can run ps aufx and look for the dovecot process.

share|improve this answer
ps aufx does not show dovecot. – Liam Jul 9 '10 at 14:53
If it is not running, it is fairly safe to say that it is not in use. – Warner Jul 9 '10 at 14:54
If dovecot was used would "dovecot" appear in /var/log/maillog ? – Liam Jul 9 '10 at 14:54
It depends on how syslog is configured to direct the mail facility. Potentially. – Warner Jul 9 '10 at 14:55
Troubleshooting a server that hasn't had much attention in a few years, and suffered a power outage recently. It is hard to say what should or should not be running on it until something breaks. No mentions in 1 month of logs is reassuring enough for me. Thanks for your help! – Liam Jul 9 '10 at 15:06

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.