toml
Verified User
It is a modification to the the vm-pop3d that DA supplies, the change is is the extra.c module. You can save the following as vmpop3d.patch
Then cd to your da_vm-pop3d-1.1.7f directory and issue the command
Then ./configure;make should build it. Then you can replace your existing vm-pop3d binary, like 'cp vm-pop3d /usr/sbin/vm-pop3d'.
If it solves the problem most people are having, then perhaps John could include this patch in the da_vm-pop3d distribution.
Code:
--- extra.c.orig 2005-08-28 11:52:13.639790000 -0700
+++ extra.c 2005-08-29 18:57:30.427973000 -0700
@@ -322,8 +322,16 @@ int pop3_getsizes(void)
}
/* creating md5 hash for the UIDL using just first 25 lines */
/* FiXMe: Should be only for header! -TEMHOTA */
- if (line_count++ < 26 && len > 0)
- md5_process_bytes(buf, len, &md5context);
+ if(strncmp(buf,"Status:",7) &&
+ strncmp(buf,"X-Status:",9) &&
+ strncmp(buf,"X-Keywords:",11) &&
+ strncmp(buf,"X-IMAP:",7) &&
+ strncmp(buf,"X-IMAPbase:",11) &&
+ strncmp(buf,"X-UID:",6)) {
+
+ if (line_count++ < 26 && len > 0)
+ md5_process_bytes(buf, len, &md5context);
+ }
}
if (buf[0] == '\n')
Then cd to your da_vm-pop3d-1.1.7f directory and issue the command
Code:
patch -p0 < /path_to_patch/vmpop3d.patch
If it solves the problem most people are having, then perhaps John could include this patch in the da_vm-pop3d distribution.