LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 04-04-2018, 12:58 PM   #1
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Dovecot permission errors


Since getting the basics of postfix+dovecot up and running on Tumbleweed 20180326 (recently updated to the 20180401), I've noticed that the mail logs are filled with sequences of errors like:
Code:
Apr  4 12:10:12 mailsvr dovecot[1881]: master: Fatal: execv(/usr/lib/dovecot/stats) failed: Permission denied
Apr  4 12:10:12 mailsvr dovecot[1881]: stats: Fatal: master: service(stats): child 29347 returned error 84 (exec() failed)
Apr  4 12:10:12 mailsvr dovecot[1821]: master: Error: service(stats): command startup failed, throttling for 60 secs
This sequence seems to appear in the log file about every minute.

There are a lot of discussions on the internet about dovecot login problems that seem to be related to permissions but I haven't seen anything specifically that might be a fix for this. One thread thought it might be due to apparmor or SElinux and that particular problem was, actually, fixed by bouncing apparmor. (Tried that... no joy.)

The directory of dovecot sockets looks like this:
Code:
mailsvr:/var/run/dovecot # ll
total 8
srw------- 1 root    root      0 Apr  3 18:30 anvil
srw------- 1 root    root      0 Apr  3 18:30 anvil-auth-penalty
srw------- 1 dovecot root      0 Apr  3 18:30 auth-client
srw------- 1 dovecot root      0 Apr  3 18:30 auth-login
srw------- 1 root    root      0 Apr  3 18:30 auth-master
-rw------- 1 root    root     32 Apr  3 18:35 auth-token-secret.dat
srw-rw-rw- 1 dovecot root      0 Apr  3 18:30 auth-userdb
srw------- 1 dovecot root      0 Apr  3 18:30 auth-worker
srw------- 1 root    root      0 Apr  3 18:30 config
srw-rw---- 1 root    dovecot   0 Apr  3 18:30 dict
srw-rw---- 1 root    dovecot   0 Apr  3 18:30 dict-async
srw------- 1 root    root      0 Apr  3 18:30 director-admin
srw------- 1 root    root      0 Apr  3 18:30 director-userdb
srw-rw-rw- 1 root    root      0 Apr  3 18:30 dns-client
srw------- 1 root    root      0 Apr  3 18:30 doveadm-server
lrwxrwxrwx 1 root    root     25 Apr  3 18:30 dovecot.conf -> /etc/dovecot/dovecot.conf
drwxr-xr-x 2 root    root     40 Apr  3 18:30 empty
srw-rw---- 1 root    dovecot   0 Apr  3 18:30 imap-hibernate
srw------- 1 root    root      0 Apr  3 18:30 imap-master
srw-rw-rw- 1 root    root      0 Apr  3 18:30 imap-urlauth
srw------- 1 dovecot root      0 Apr  3 18:30 imap-urlauth-worker
srw-rw-rw- 1 root    root      0 Apr  3 18:30 indexer
srw------- 1 dovecot root      0 Apr  3 18:30 indexer-worker
srw------- 1 dovecot root      0 Apr  3 18:30 ipc
srw------- 1 root    root      0 Apr  3 18:30 log-errors
drwxr-x--- 2 root    dovecot 100 Apr  3 18:30 login
srw------- 1 root    root      0 Apr  3 18:30 master
-rw------- 1 root    root      5 Apr  3 18:30 master.pid
srw------- 1 root    root      0 Apr  3 18:30 old-stats
prw------- 1 root    root      0 Apr  3 18:30 old-stats-mail
prw------- 1 root    root      0 Apr  3 18:30 old-stats-user
srw------- 1 root    root      0 Apr  3 18:30 replication-notify
prw------- 1 root    root      0 Apr  3 18:30 replication-notify-fifo
srw------- 1 dovecot root      0 Apr  3 18:30 replicator
srw------- 1 root    root      0 Apr  3 18:30 stats-reader
srw-rw---- 1 root    dovecot   0 Apr  3 18:30 stats-writer
drwxr-x--- 2 root    dovecot  80 Apr  3 18:30 token-login
Frankly, I think the ownership of all the sockets look goofy but they might seem that way to me after seeing all the problems people have been having with dovecot permissions. Some people found that they were able to fix the problem by changing the permissions in the /var/run/dovecot directory but that such a fix is not surviving a reboot.

I suspect these errors are the cause of the poor performance I'm having reading mail with every mail client I have installed---Evolution works but slowly, T-bird and Kmail are complete losses. I'm thinking that those "throttling for 60 secs" messages are the cause of the slowness---messages that seem to display quickly were probably selected just before that 60 sec interval expired, others seem to take as long as a minute (I haven't put a stopwatch on the process).

Any ideas? Pointer to an excellent tutorial on Dovecot's innards and permissions needs?

--
Rick
 
Old 04-07-2018, 08:49 PM   #2
rnturn
Senior Member
 
Registered: Jan 2003
Location: Illinois (SW Chicago 'burbs)
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,795

Original Poster
Rep: Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550Reputation: 550
Quote:
Originally Posted by rnturn View Post
Since getting the basics of postfix+dovecot up and running on Tumbleweed 20180326 (recently updated to the 20180401), I've noticed that the mail logs are filled with sequences of errors like:

<snip>
Problem solved by installing courier and procmail. I had been using courier for years but was disappointed when Tumbleweed didn't include either a maildrop package or include it with the courier package. But the basic procmail setup to talk to maildir-style mailboxes works just fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmail gives dovecot permissions errors, but desktop clients work? dffx Linux - Software 1 11-24-2012 01:43 AM
dovecot-lda/postfix permission issues deathclaw Linux - Server 3 06-22-2012 11:56 AM
Postfix Dovecot Permission issue? cnapagoda Linux - Newbie 1 05-28-2010 10:11 AM
Dovecot permission denied error when performing chdir jlinkels Linux - Server 1 11-01-2008 05:29 PM
450 errors sending mail on centos+ostfix+dovecot+amavisd via webmail interface sneakyimp Linux - Software 2 06-03-2008 02:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 01:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration