On 01/18/15 10:03, Edgar Pettijohn wrote:
>
> On 01/18/15 08:55, James Lockie wrote:
>> On 01/18/15 09:07, Edgar Pettijohn wrote:
>>>>> better make a bugreport at your distribution
>>>>> https://www.google.at/search?q=postfix+debian+chroot+problems
>>>> Assuming this is Debian, there's no bug report needed. It's an intentional
>>>> maintainer choice and not a bug.
>>>>
>>>> Scott K
>>>>
>>> I think its default in a lot of distros. I know it is in openbsd and I'm
>>> pretty sure freebsd also.
>>>
>> What would cause the "warning: SASL: Connect to
>> /var/spool/postfix/private/auth failed: No such file or directory" to come
>> back after working for a while?
>> I had to restart dovecot and postfix,
>> Is there any postfix debug tool like doveadm that I can run to test
>> authentication?
> I think what it comes down to is if you have turned off chroot or not. If
> not you need to think about the following lines:
>
> /etc/postfix/main.cf
> smtpd_sasl_type = dovecot
> smtpd_sasl_path = /var/spool/postfix/private/auth
>
> Because if you are chroot its really looking for
> /var/spool/postfix/var/spool/postfix/private/auth which doesn't exist most
> likely.
>
I turned off chroot, that is why it works for a while. :-(