Fix a bug in UIDL handling for maildir boxes, which could lead to clients
receiving duplicated messages. Submitted by: author
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= popd
|
||||
PORTVERSION= 2.2.2a
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ftp://ftp3.za.freebsd.org/pub/popd/
|
||||
|
||||
|
||||
11
mail/popd/files/patch-lib::mbox_maildir.c
Normal file
11
mail/popd/files/patch-lib::mbox_maildir.c
Normal file
@@ -0,0 +1,11 @@
|
||||
--- lib/mbox_maildir.c.orig Tue Jun 24 14:37:19 2003
|
||||
+++ lib/mbox_maildir.c Tue Jun 24 14:38:18 2003
|
||||
@@ -190,7 +190,7 @@
|
||||
(MDIR_F_EXPIRE | MDIR_F_REMOVE) &&
|
||||
cxn->flags & MAILBOX_F_FALSEUIDL ?
|
||||
time(NULL) : mbox->msg[mbox->count].d_time,
|
||||
- mbox->msg[mbox->count].path,
|
||||
+ dp->d_name,
|
||||
mbox->msg[mbox->count].bytes);
|
||||
MD5Init(&context);
|
||||
MD5Update(&context, (unsigned char *)uidldat,
|
||||
Reference in New Issue
Block a user