* Tim Hasson <[EMAIL PROTECTED]> [2003-09-23 14:44]:
> I posted this patch a long while ago, and I posted it several times...

> Hope someone notices and somehow magically add it to the 
> documentation/faq/code..

> Actually, it would be nice as a configure option..

> Please see attachement..

I had problems with this patch (applied to 5.2.1 and 5.3.20), as the
strings written to open-smtp were cut off. So I changed the following to
make it work (example for 5.3.20):

--- vpopmail.c.orig     2003-07-01 18:43:50.000000000 +0200
+++ vpopmail.c  2003-07-01 18:43:55.000000000 +0200
@@ -2057,7 +2057,8 @@
     return(0);
   }
 
-  while ( fgets(TmpBuf1, 100, fs ) != NULL ) {
+  // alex changed buffer size from 100 to 150 to fix problem with QMAILQUEUE
+  while ( fgets(TmpBuf1, 150, fs ) != NULL ) {
     strncpy(TmpBuf2, TmpBuf1, BUFF_SIZE);
     tmpstr = strtok( TmpBuf2, ":");
     if ( strcmp( tmpstr, ipaddr ) != 0 ) {


My configure options are:

./configure --enable-roaming-users=y \
            --enable-relay-clear-minutes=60 \
            --enable-clear-passwd=y \
            --enable-logging=y \
            --enable-qmail-ext=y \
            --enable-sqwebmail-pass=y \
            --enable-domainquotas=y 

Can someone verify this?

Alex


-- 
Alex Pleiner
zeitform Internet Dienste         Fraunhoferstrasse 5
                                  64283 Darmstadt, Germany
http://www.zeitform.de            Tel.: +49 (0)6151 155-635
mailto:[EMAIL PROTECTED]        Fax:  +49 (0)6151 155-634
GnuPG/PGP Key-ID: 0x613C21EA

Reply via email to