[Dovecot] Dovecot install problem
I am trying to set up a new web and mail server i have postfix now working but dovecot will not allow me to login and retrieve the emails so below isa portion of the log file
passwd-file /var/mail/vhosts/xxxx.net/shadow: stat() failed: Permission denied passwd-file(xxxxx@xxxx.net,::ffff:0.0.0.0): no passwd file: /var/mail/vhosts/xxxx.net/shadow
Dovecot -n output # 1.0.7: /etc/dovecot.conf login_dir: /var/run/dovecot/login login_executable(default): /usr/libexec/dovecot/imap-login login_executable(imap): /usr/libexec/dovecot/imap-login login_executable(pop3): /usr/libexec/dovecot/pop3-login mail_location: Maildir:/var/mail/vhosts/%d/%n mail_executable(default): /usr/libexec/dovecot/imap mail_executable(imap): /usr/libexec/dovecot/imap mail_executable(pop3): /usr/libexec/dovecot/pop3 mail_plugin_dir(default): /usr/lib/dovecot/imap mail_plugin_dir(imap): /usr/lib/dovecot/imap mail_plugin_dir(pop3): /usr/lib/dovecot/pop3 auth default: mechanisms: plain login CRAM-MD5 verbose: yes debug: yes debug_passwords: yes passdb: driver: passwd-file args: /var/mail/vhosts/%d/shadow userdb: driver: passwd-file args: /var/mail/vhosts/%d/passwd socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
The passwd shadow file -rw-r----- 1 root root 210 May 24 21:39 passwd -rw-r----- 1 root root 327 May 24 21:39 shadow
So who whould own these files? What should the perrmissions be?
On 2010-05-30 2:04 PM, David wrote:
Dovecot -n output # 1.0.7: /etc/dovecot.conf
You really should upgrade, especially if you're just starting out... 1.0.7 is really, really really old, current is 1.2.11, and 2.0 is now in beta - way too many improvements to go into, just do it.
socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
The passwd shadow file -rw-r----- 1 root root 210 May 24 21:39 passwd -rw-r----- 1 root root 327 May 24 21:39 shadow
So who whould own these files? What should the perrmissions be?
Hint: what is the purpose of the socket section and user/group settings above?
--
Best regards,
Charles
I did a yum install and a yum update and that is what centos installed
how do I get a newer version
Sent from David's iPhone
On May 31, 2010, at 11:23 AM, Charles Marcus <CMarcus@Media- Brokers.com> wrote:
On 2010-05-30 2:04 PM, David wrote:
Dovecot -n output # 1.0.7: /etc/dovecot.conf
You really should upgrade, especially if you're just starting out... 1.0.7 is really, really really old, current is 1.2.11, and 2.0 is
now in beta - way too many improvements to go into, just do it.socket: type: listen client: path: /var/spool/postfix/private/auth mode: 432 user: postfix group: postfix
The passwd shadow file -rw-r----- 1 root root 210 May 24 21:39 passwd -rw-r----- 1 root root 327 May 24 21:39 shadow
So who whould own these files? What should the perrmissions be?
Hint: what is the purpose of the socket section and user/group
settings above?--
Best regards,
Charles
You really should upgrade, especially if you're just starting out... 1.0.7 is really, really really old, current is 1.2.11, and 2.0 is
now in beta - way too many improvements to go into, just do it.
ok let me ask this question how do I upgrade if when I do a yum
upgrade there is no packages to upgrade or so it says
undrstand I have not worked with Linux for many a year and I am
really rough on my understand of bash and the shell but I am learning.
on another note I did get postfix and dovecot working I moved the
passwd and shadow files to a different folder and everything started
working right
I don't know why the original location was locked but hey it works now
On 2010-05-31 11:36 AM, Timo Sirainen wrote:
On su, 2010-05-30 at 14:04 -0400, David wrote:
passwd-file /var/mail/vhosts/xxxx.net/shadow: stat() failed: Permission denied
According to your dovecot -n output auth process runs as root.
? I guess I'm blind Timo - how did you determine this?
I though the socket options user/group = postfix meant it was running as user/group postfix?
--
Best regards,
Charles
On ma, 2010-05-31 at 11:57 -0400, Charles Marcus wrote:
On 2010-05-31 11:36 AM, Timo Sirainen wrote:
On su, 2010-05-30 at 14:04 -0400, David wrote:
passwd-file /var/mail/vhosts/xxxx.net/shadow: stat() failed: Permission denied
According to your dovecot -n output auth process runs as root.
? I guess I'm blind Timo - how did you determine this?
There is no "user" setting listed and default auth user is root.
I though the socket options user/group = postfix meant it was running as user/group postfix?
The socket settings only specify the socket's owner/group/permissions (so it's about what clients can connect to it). Hopefully v2.0's dovecot -n output is clearer in future. :)
On 2010-05-31 12:00 PM, Timo Sirainen wrote:
On ma, 2010-05-31 at 11:57 -0400, Charles Marcus wrote:
On 2010-05-31 11:36 AM, Timo Sirainen wrote:
On su, 2010-05-30 at 14:04 -0400, David wrote:
passwd-file /var/mail/vhosts/xxxx.net/shadow: stat() failed: Permission denied
According to your dovecot -n output auth process runs as root.
? I guess I'm blind Timo - how did you determine this?
There is no "user" setting listed and default auth user is root.
I though the socket options user/group = postfix meant it was running as user/group postfix?
The socket settings only specify the socket's owner/group/permissions (so it's about what clients can connect to it). Hopefully v2.0's dovecot -n output is clearer in future. :)
Oh, right - duh... sorry for the noise...
--
Best regards,
Charles
participants (4)
-
Charles Marcus
-
David
-
David Schornak
-
Timo Sirainen