aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/driver.c b/driver.c
index 5ec0f45a..3113513c 100644
--- a/driver.c
+++ b/driver.c
@@ -702,6 +702,16 @@ int num; /* index of message */
from_offs = (line - headers);
else if (!strncasecmp("Content-Transfer-Encoding:", line, 26))
ctt_offs = (line - headers);
+ else if (!strncasecmp("Message-Id:", buf, 11 ))
+ {
+ if( ctl->server.uidl )
+ {
+ char id[IDLEN+1];
+ sscanf( buf+12, "%s", id);
+ if( !str_in_list( &ctl->newsaved, id ) )
+ save_str(&ctl->newsaved, num, id );
+ }
+ }
else if (!MULTIDROP(ctl))
continue;