Hey Ian,
I am running apache 2 on Fedora Core 5
Apache version is irrelevant to email issues.
Can I assume that sendmail is running, as all inbound emails are correctly collected and sorted to the relevant users mail folder.
You can assume some MTA is running. It doesn’t have to be sendmail (though it probably is, since that’s the default MTA for Fedora systems).
I have gone through Webmin and installed the Dovecot module. The problem that I now have is that I am unable to find the Dovecot server PID file and also the dovecot config file. Do I have to make these myself or do I have to run something on the server to do this.
If you had to install the dovecot Webmin module separately, you’re Webmin version needs to be upgraded. The Dovecot module has been included in Webmin for several revisions.
I have gone through Webmin and installed the Dovecot module. The problem that I now have is that I am unable to find the Dovecot server PID file and also the dovecot config file. Do I have to make these myself or do I have to run something on the server to do this.
I had no problem installing the virtualmin.wbm file. This has worked a treat, but when I tried the same with Dovecot, the file locations did not match the default location on the module configuration file.
Are you sure you have Dovecot installed? The Dovecot Webmin module is not Dovecot, it is merely a configuration tool for Dovecot (same with nearly all modules of Webmin).
If you installed Dovecot using the OS standard RPM package, then the standard locations should be correct. But, if you’re running a really old Webmin, and/or one that is confused about your OS version (which your next post seems to indicate might be the case), then it might have incorrect information.
Have restarted the server, to no effect.
Try just restarting the relevant service. Not much to be gained by restarting the whole system, if you haven’t actually changed any of the bootup services using chkconfig (or the Webmin Bootup and Shutdown module). To see if dovecot is running:
service dovecot status
Will tell you if it is running (same with sendmail, if you replace “dovecot” with “sendmail”). Similarly, the following will start a service that isn’t running:
service dovecot start
And this will cause it to be started on subsequent reboots:
chkconfig --level 345 dovecot on
You can find where all of the packaged files from dovecot are located using the following command:
rpm -ql dovecot
(Assuming you installed dovecot from an RPM provided by your OS. If you installed from source tarball, I strongly suggest you rethink that decision.)