Re: [Courier-imap] max value for maildirsize
Sam Varshavchik escreveu: 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_FIELDmaildir MYSQL_MAILDIR_FIELD CONCAT(domain,'/',maildir) MYSQL_NAME_FIELDname MYSQL_OPT 0 MYSQL_PASSWORD xxx #MYSQL_PORT 0 # Uncomment below if you want quota support. MYSQL_QUOTA_FIELD quota MYSQL_SERVERlocalhost # Default FreeBSD Socket #MYSQL_SOCKET /var/run/mysqld/mysqld.sock MYSQL_UID_FIELD '125' MYSQL_USERNAME postfix MYSQL_USER_TABLEmailbox #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. I'm running a 32bit platform. That's the only way? Felipe. - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
Sam Varshavchik escreveu: Felipe Neuwald writes: Sam Varshavchik escreveu: 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_FIELDmaildir MYSQL_MAILDIR_FIELD CONCAT(domain,'/',maildir) MYSQL_NAME_FIELDname MYSQL_OPT 0 MYSQL_PASSWORD xxx #MYSQL_PORT 0 # Uncomment below if you want quota support. MYSQL_QUOTA_FIELD quota MYSQL_SERVERlocalhost # Default FreeBSD Socket #MYSQL_SOCKET /var/run/mysqld/mysqld.sock MYSQL_UID_FIELD '125' MYSQL_USERNAME postfix MYSQL_USER_TABLEmailbox #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. I'm running a 32bit platform. That's the only way? Yes, until someone changes certain fundamental laws of physics in this universe, which limits signed 32 bit values to a maximum value of 2147483647. Ok, thanks. I'll talk to the man and request these new feature to the universe. 0:-) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
Le jeudi 31 janvier 2008, Jose Celestino a écrit : Words by Sam Varshavchik [Thu, Jan 31, 2008 at 07:08:11AM -0500]: Felipe Neuwald writes: 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. I'm running a 32bit platform. That's the only way? Yes, until someone changes certain fundamental laws of physics in this universe, which limits signed 32 bit values to a maximum value of 2147483647. Of course that you could use a long long. You know that, right? Provided that the target compiler supports it. AFAIK, Courier IMAP doesn't require gcc. -- Francis Galiegue, [EMAIL PROTECTED] [ATTENTION - CHANGEMENT D'ADRESSE !] 40 av Raymond Poincaré, 75016 PARIS +33178945570, +33683877875 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
Words by Sam Varshavchik [Thu, Jan 31, 2008 at 07:08:11AM -0500]: Felipe Neuwald writes: 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. I'm running a 32bit platform. That's the only way? Yes, until someone changes certain fundamental laws of physics in this universe, which limits signed 32 bit values to a maximum value of 2147483647. Of course that you could use a long long. You know that, right? -- Jose Celestino http://www.msversus.org/ ; http://techp.org/petition/show/1 http://www.vinc17.org/noswpat.en.html If you would have your slaves remain docile, teach them hymns. -- Ed Weathers (The Empty Box) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
Words by Francis Galiegue [Thu, Jan 31, 2008 at 03:59:36PM +0100]: Le jeudi 31 janvier 2008, Jose Celestino a écrit : Words by Sam Varshavchik [Thu, Jan 31, 2008 at 07:08:11AM -0500]: Felipe Neuwald writes: 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. I'm running a 32bit platform. That's the only way? Yes, until someone changes certain fundamental laws of physics in this universe, which limits signed 32 bit values to a maximum value of 2147483647. Of course that you could use a long long. You know that, right? Provided that the target compiler supports it. AFAIK, Courier IMAP doesn't require gcc. And being long long supported on C99 and assured to be 64 bits is of no value, of course. -- Jose Celestino http://www.msversus.org/ ; http://techp.org/petition/show/1 http://www.vinc17.org/noswpat.en.html If you would have your slaves remain docile, teach them hymns. -- Ed Weathers (The Empty Box) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
Le jeudi 31 janvier 2008, Jose Celestino a écrit : Words by Francis Galiegue [Thu, Jan 31, 2008 at 03:59:36PM +0100]: Le jeudi 31 janvier 2008, Jose Celestino a écrit : Words by Sam Varshavchik [Thu, Jan 31, 2008 at 07:08:11AM -0500]: Felipe Neuwald writes: 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. I'm running a 32bit platform. That's the only way? Yes, until someone changes certain fundamental laws of physics in this universe, which limits signed 32 bit values to a maximum value of 2147483647. Of course that you could use a long long. You know that, right? Provided that the target compiler supports it. AFAIK, Courier IMAP doesn't require gcc. And being long long supported on C99 and assured to be 64 bits is of no value, of course. Not all compilers support C99. In fact, gcc doesn't even support the whole standard. And, well, the problem is with MySQL to start with - which also happens not to require gcc anyway. -- Francis Galiegue, [EMAIL PROTECTED] [ATTENTION - CHANGEMENT D'ADRESSE !] 40 av Raymond Poincaré, 75016 PARIS +33178945570, +33683877875 - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap
Re: [Courier-imap] max value for maildirsize
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_FIELDmaildir MYSQL_MAILDIR_FIELD CONCAT(domain,'/',maildir) MYSQL_NAME_FIELDname MYSQL_OPT 0 MYSQL_PASSWORD xxx #MYSQL_PORT 0 # Uncomment below if you want quota support. MYSQL_QUOTA_FIELD quota MYSQL_SERVERlocalhost # Default FreeBSD Socket #MYSQL_SOCKET /var/run/mysqld/mysqld.sock MYSQL_UID_FIELD '125' MYSQL_USERNAME postfix MYSQL_USER_TABLEmailbox #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. 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/vse012070mrt/direct/01/___ Courier-imap mailing list Courier-imap@lists.sourceforge.net Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-imap