Re: [Dovecot] dovecot is working, sort of

2013-08-18 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 16 Aug 2013, LuKreme wrote: I have two kinds of accounts on the machine, local (shell) accounts in /home/ and virtual (MySQL) accounts in /usr/local/virtual. I tried to add the hid/gid args in the sql block, but the syntax was incorrect.

Re: [Dovecot] dovecot is working, sort of

2013-08-16 Thread LuKreme
On 16 Aug 2013, at 00:51 , Steffen Kaiser wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Thu, 15 Aug 2013, LuKreme wrote: > >> Him. I did put > >> userdb { >> driver = static >> args = uid=vpopmail gid=postfix >> } >> >> into dovecot.conf, but that's made no difference > >

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 15 Aug 2013, LuKreme wrote: Him. I did put userdb { driver = static args = uid=vpopmail gid=postfix } into dovecot.conf, but that's made no difference er, what do you want to do? first you write: userdb { driver = passwd } userdb

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 04:32 , Rob Sterenborg (lists) wrote: > userdb { > driver = static > args = uid=vmail gid=vmail home=/var/mail/virtual/%d/%n > } > > I guess you should be able to adapt this to your SQL config. Him. I did put userdb { driver = static args = uid=vpopmail gid=postfix }

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Rob Sterenborg (lists)
On 08/15/2013 10:50 AM, LuKreme wrote: "Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting)" These are all virtual users with a hid of 89. How do I tell dovecot that? $ cat /etc/dovecot/dovecot-sql.conf.ext driver = mysql connect = host=localhost

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 02:05 , LuKreme wrote: > I think I'll wait on my next stupid question until morning. Or not. "Error: user lists@*munged*: Couldn't drop privileges: User is missing UID (see mail_uid setting)" These are all virtual users with a hid of 89. How do I tell dovecot that? $ cat

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread LuKreme
On 15 Aug 2013, at 01:14 , Tom Hendrikx wrote: > I see a typo there, and the error message is referring to it. Maybe try > password=dovecot? You'll never believe this, but I *just* saw this less than a minute ago and came over to my mail to post my 'doh' message. Sigh. I think I'll wait on m

Re: [Dovecot] dovecot is working, sort of

2013-08-15 Thread Tom Hendrikx
On 08/15/2013 07:13 AM, LuKreme wrote: > I have dovecot setup and authenticating away for local users, but > when I try to add MySQL users from postfix admin, not only does that > fail, but all authentication fails. > > and I get the following errors for *ALL* attempts to connect, not > just sql

[Dovecot] dovecot is working, sort of

2013-08-14 Thread LuKreme
I have dovecot setup and authenticating away for local users, but when I try to add MySQL users from postfix admin, not only does that fail, but all authentication fails. This configuration does not work: doveconf -n # 2.2.5: /usr/local/etc/dovecot/dovecot.conf # OS: FreeBSD 9.1-RELEASE i386