Subject: Re: cy2-sql - need configuration help (Step closer)
To: OBATA Akio <obata@lins.jp>
From: None <phil@bsdnexus.com>
List: pkgsrc-users
Date: 06/29/2006 15:28:38
ok, so I got the service working, however, it now has a horrendous issue
when it comes to authenticating:

# telnet localhost imap
* OK mail.bsdnexus.com Cyrus IMAP4 v2.2.12 server ready
1 login "foo" "bar"
* BYE Fatal error: Virtual memory exhausted
Connection closed by foreign host.

How on earth did I exhaust the virtual memory?

# tail /var/log/messages
Jun 29 15:22:12 grace imap[19520]: Fatal error: Virtual memory exhausted

Ok - so how do I increase the virtual memory? OR find out what's causing
the VM to get eaten up?

I really appreciate the help

Phil.



> On Thu, 29 Jun 2006 12:50:14 +0100 (BST), phil@bsdnexus.com wrote:
>> sasl_pwcheck_method: auxprop
>> sasl_auxprop_plugin: sql
>> sasl_sql_engine: mysql
>> sasl_sql_hostnames: localhost
>> sasl_sql_user: user
>> sasl_sql_passwd: pass
>> sasl_sql_database: maildb
>> sasl_sql_select: select clear from users where username=3D'%u' and dom=
ain
>> =3D'%r'
>
> It seems to be OK.
>
>> however, cyrusIMAP seems to refuse to start when I do this.
>>
>> Can't seem to find any log with helpful info - where am I going wrong?
>
> Debug level log?
>
> --
> "Of course I love NetBSD":-)
> OBATA Akio / obata@lins.jp
>
>