iain at brightbooks.co.uk
2009-Oct-15 14:42 UTC
[Dovecot] Deliver - can't connect to .../auth-master
Dovecot version 1.1.11 Hi all, I'm having real trouble getting Getmail, which is configured to pick up mail from my ISPs mailhost, to put the mail in our local Maildirs, through Deliver. We're using virtual users so, if I am understanding correctly, Deliver needs to fetch this information from /var/run/dovecot/auth-master. The trouble is that Deliver doesn't seem to have the correct privileges to do so. Whenever Getmail tries to pass the mail to Deliver, the line: Oct 15 15:21:04 Domain deliver(user at domain.com): Can't connect to auth server at /var/run/dovecot/auth-master: No such file or directory appears in the Mail.err log. So far I've tried: # - Changing the privileges of the whole /var/run/dovecot/ folder, and its sub folders. I understand that this is only a workaround, as Dovecot changes the privileges back on restart, however it doesn't seem to work anyway. It changes the log result from 'No such file or directory' to 'Permission denied' (and sometimes 'Connection refused'). # - I tried setting the location of auth-master to /home/manager/dovecot in the dovecot-postfix.conf config files (and the dovecot.conf config, just in case), so I could control access to it, and its permissions, more closely. Again, no luck. The log file still shows that it is trying to access it through /var/run/dovecot ~ not sure why (I even went to the lengths of doing a search for /var/run/dovecot in the config files, to make sure I hadn't missed a rogue mention; nothing). Interestingly the file auth-master is created in the correct folder I've configured, but the log results still stay the same. Thanks in advance for any help getting this up and running.
On Thu, 2009-10-15 at 15:42 +0100, iain at brightbooks.co.uk wrote:> Deliver. We're using virtual users so, if I am understanding correctly, > Deliver needs to fetch this information from /var/run/dovecot/auth-master. > The trouble is that Deliver doesn't seem to have the correct privileges to > do so. Whenever Getmail tries to pass the mail to Deliver, the line: > > Oct 15 15:21:04 Domain deliver(user at domain.com): Can't connect to auth > server at /var/run/dovecot/auth-master: No such file or directoryIt doesn't say "permission denied", it says "no such file or directory". Did you check that it really exists in that exact same directory?> So far I've tried: > # - Changing the privileges of the whole /var/run/dovecot/ folder,It's +rx by everyone by default already, so there's no need to change it.> # - I tried setting the location of auth-master to /home/manager/dovecot > in the dovecot-postfix.conf config files (and the dovecot.conf config, > just in case), so I could control access to it, and its permissions, more > closely. Again, no luck. The log file still shows that it is trying to > access it through /var/run/dovecot ~ not sure why (I even went to the > lengths of doing a search for /var/run/dovecot in the config files, to > make sure I hadn't missed a rogue mention; nothing). Interestingly the > file auth-master is created in the correct folder I've configured, but the > log results still stay the same.You didn't say what exactly you changed, so I've no idea what you did. Post your dovecot -n output. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20091015/59ad65b4/attachment-0002.bin>