I have just installed my mail server on a Ubuntu Linux V.7.10 box with sendmail and dovecot imap from the Ubuntu packages. Each time the machines boots, I get the following messages: Starting mail server: dovecotWarning: Fixing permissions of /var/run/dovecot to be world readable Warning: Corrected permissions for login directory /var/run/dovecot/login After the boot the permissions visible are: drwxr-xr-x root root /var/run/dovecot drwxr-x--- root dovecot /var/run/dovecot/login What permissions do I need to set so that the warnings do not appear?
Hi, On 11/12/2007, Dr. Ashok N. Ullal <ashok.ullal at dikg-tuebingen.de> wrote:> After the boot the permissions visible are: > drwxr-xr-x root root /var/run/dovecot > drwxr-x--- root dovecot /var/run/dovecot/login > > What permissions do I need to set so that the warnings do not appear? >It needs to be owned by a non-root user. Otherwise, compromising the server could result in compromising your box, and dovecot won't allow that. Try adding a non-priv'd user to your system; one that doesn't have access to anything, and is not usedby any other program. Then set the permission of dovecot to that user. Regards, Ronald. -- Ronald MacDonald http://www.rmacd.com/ 0777 235 1655
On Tue, 2007-12-11 at 16:38 +0100, Dr. Ashok N. Ullal wrote:> I have just installed my mail server on a Ubuntu Linux V.7.10 box with > sendmail and dovecot imap from the Ubuntu packages. Each time the > machines boots, I get the following messages: > > Starting mail server: > dovecotWarning: Fixing permissions of /var/run/dovecot to be world readable > Warning: Corrected permissions for login directory /var/run/dovecot/loginWhat Dovecot version do you have? These probably happen because /var/run/* gets deleted when booting. Some old Dovecot versions gave these warnings at startup when it created those directories itself, but if you have v1.0.0 or newer, the problem is something else. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20071221/05a2a99d/attachment-0002.bin>