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?

link|improve this question

50% accept rate
feedback

1 Answer

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.

link|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
feedback

Your Answer

 
or
required, but never shown

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