Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: Dovecot problem
PostPosted: Wed Jan 05, 2011 10:15 pm 
Offline
Junior Member

Joined: Mon Apr 26, 2010 12:20 am
Posts: 22
Website: http://www.halloforigin.com
I recently attempted installing an email server with Postfix, Dovecot and MySQL on Ubuntu 10.04 from this guide, but ran into a problem when I sent a test email. After I sent the email via the mailx command, I got this output in /var/log/mail.log:

Code:
Jan  5 19:46:51 halloforigin dovecot: deliver(noreply@halloforigin.com): userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory


So afterward, I created the auth-master file and chmodded it to 777, but the output was as follows:

Code:
Jan  5 20:03:58 halloforigin dovecot: deliver(noreply@halloforigin.com): userdb lookup: connect(/var/run/dovecot/auth-master) failed: Connection refused


Do I need to chmod the file or add content into the file or something? I've followed the guide word-for-word, but I'm a tad lost on this one.


Top
   
 Post subject: Re: Dovecot problem
PostPosted: Thu Jan 06, 2011 10:11 am 
Offline
Senior Member

Joined: Fri Dec 10, 2010 6:21 am
Posts: 144
Zowayixx wrote:
I recently attempted installing an email server with Postfix, Dovecot and MySQL on Ubuntu 10.04 from this guide, but ran into a problem when I sent a test email. After I sent the email via the mailx command, I got this output in /var/log/mail.log:

Code:
Jan  5 19:46:51 halloforigin dovecot: deliver(noreply@halloforigin.com): userdb lookup: connect(/var/run/dovecot/auth-master) failed: No such file or directory


So afterward, I created the auth-master file and chmodded it to 777, but the output was as follows:

Code:
Jan  5 20:03:58 halloforigin dovecot: deliver(noreply@halloforigin.com): userdb lookup: connect(/var/run/dovecot/auth-master) failed: Connection refused


Do I need to chmod the file or add content into the file or something? I've followed the guide word-for-word, but I'm a tad lost on this one.


I'm not really a dovecot expert but it my take is that /var/run/dovecot/auth-master is supposed to be a socket where it can communicate with some authentication related process (here's where my lack of dovecot expertise kicks in).


The permissions will matter, but this is not supposed to be a regular file.

Actually, it appears that dovecot is expected to create the socket on its own.

In the configuration in the linked article the path as well as permissions are specified:


Quote:
socket listen {
master {
path = /var/run/dovecot/auth-master
mode = 0600
user = vmail
}
....
}



If there was no /var/run/dovecot/auth-master at all I would think that either your configuration does not match what that article describes or there are more errors (the error described above would then only be a side effect of the real problem).


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group