Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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

 
discard

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.