From bd28ba40575c34d47df23b9d03bc493b94c1768b Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 23 Sep 1997 21:09:46 +0000 Subject: Make X-IMAP test universal. svn path=/trunk/; revision=1396 --- imap.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'imap.c') diff --git a/imap.c b/imap.c index aba46b8a..ef4df99c 100644 --- a/imap.c +++ b/imap.c @@ -628,19 +628,6 @@ static int imap_delete(int sock, struct query *ctl, int number) return(PS_SUCCESS); } -static flag imap_retain_check(int num, char *buf) -/* is this a special message that should be retained? */ -{ - /* - * The University of Washington IMAP server (the reference - * implementation of IMAP4 written by Mark Crispin) relies - * on being able to keep base-UID information in a special - * message at the head of the mailbox. This message should - * neither be deleted nor forwarded. - */ - return (num == 1 && !strncasecmp(buf, "X-IMAP:", 7)); -} - const static struct method imap = { "IMAP", /* Internet Message Access Protocol */ @@ -656,7 +643,6 @@ const static struct method imap = imap_fetch_body, /* request given message body */ imap_trail, /* eat message trailer */ imap_delete, /* delete the message */ - imap_retain_check, /* leave this message alone? */ "LOGOUT", /* the IMAP exit command */ }; -- cgit v1.2.3