Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 23rd June 2012, 07:48
kafmil kafmil is offline
Junior Member
 
Join Date: Jun 2012
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Dovecot Dict permission error

I found an issue that I am struggling to find an answer for. I am getting this error:
Code:
Jun 12 10:03:48 vds1 dovecot: imap(webmaster@<mydomainname>.com.au): 
Error: net_connect_unix(/var/run/dovecot/dict) failed: Permission denied (euid=97(dovecot) egid=89(postfix)
 missing +r perm: /var/run/dovecot/dict, euid is not dir owner)
Jun 12 10:03:48 vds1 dovecot: imap(webmaster@<mydomainname>.com.au): 
Error: Internal quota calculation error
I can chown the file /var/run/dovecot/dict to dovecot, however when I restart dovecot, it reverts back to root as the owner. If I don't restart dovecot, everything works well, I am guessing this is still a config issue here. I am chowning and not restarting for now, but will keep looking for a proper solution.

Any ideas out there?
Reply With Quote
Sponsored Links
  #2  
Old 24th February 2014, 13:28
SavageCore SavageCore is offline
Junior Member
 
Join Date: Feb 2014
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I know this is old but I just found it via google so posting here to help anyone else that may come across it.

The solution is to set unix_listener in
PHP Code:
/etc/dovecot/dovecot.conf 
as follows:

PHP Code:
service dict {
  
unix_listener dict {
    
mode 0660
    user 
mail
    group 
mail
  
}

Changing permissions to match so for example Kafmil's would be

PHP Code:
service dict {
  
unix_listener dict {
    
mode 0660
    user 
dovecot
    group 
postfix
  
}

As the error log tells us that's who is running the dict.

Thanks
Reply With Quote
Reply

Bookmarks

Tags
dict, dovecot, permission

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't send/recieve email postfix/smtpd archbird Installation/Configuration 6 8th November 2010 15:48
ISPConfig 3: Monitor Module & Logfiles - All setup correctly? Master One Installation/Configuration 2 10th July 2009 19:51
log files cruz Technical 3 15th May 2007 15:35
Installation Fails... :( cyberstorm Installation/Configuration 1 15th January 2006 19:07
Could not make OpenSSL yontengyatso Installation/Configuration 3 3rd November 2005 11:50


All times are GMT +2. The time now is 22:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.