Felipe Neuwald writes:

Hi Folks.

I'm running courier-imap 4.3.0,2 and courier-authlib 0.60.2 in a FreeBSD 6.3-STABLE box. I'm getting user information from a MySQL database, and here is my authmysqlrc file:

#DEFAULT_DOMAIN         domain.tld
MYSQL_CRYPT_PWFIELD     password
MYSQL_DATABASE          postfix
MYSQL_GID_FIELD         '125'
MYSQL_HOME_FIELD        '/usr/local/virtual'
MYSQL_LOGIN_FIELD       username
#MYSQL_MAILDIR_FIELD    maildir
MYSQL_MAILDIR_FIELD     CONCAT(domain,'/',maildir)
MYSQL_NAME_FIELD        name
MYSQL_OPT               0
MYSQL_PASSWORD          xxxxxxx
#MYSQL_PORT             0
# Uncomment below if you want quota support.
MYSQL_QUOTA_FIELD       quota
MYSQL_SERVER            localhost
# Default FreeBSD Socket
#MYSQL_SOCKET           /var/run/mysqld/mysqld.sock
MYSQL_UID_FIELD         '125'
MYSQL_USERNAME          postfix
MYSQL_USER_TABLE        mailbox
#MYSQL_WHERE_CLAUSE     server='example.domain.com'

I changed the quota field from INT(10) to BIGINT(20), cause the MySQL INT field max value is |2147483647. But, when I change the quota field to a bigger value than ||2147483647, I only got ||2147483647 on maildirsize file.

Does anybody knows how can I fix this?

Upgrade to a 64 bit platform.

On some platforms, it is possible to enable 64 bit file size support by using some custom flags when compiling code, usually by defining _FILE_OFFSET_BITS=64 or _LARGE_FILES=1. If that's the case, you will need to reconfigure and recompile everything, with those custom flags.

Attachment: pgpkNyyJyk2fm.pgp
Description: PGP signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Courier-imap mailing list
Courier-imap@lists.sourceforge.net
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap

Reply via email to