/* Copyright (c) 2011-2013 Dovecot authors, see the included COPYING file */
#include "lib.h"
+#include "ioloop.h"
#include "istream.h"
#include "index-mail.h"
#include "pop3c-client.h"
switch (field) {
case MAIL_FETCH_UIDL_BACKEND:
+ case MAIL_FETCH_GUID:
if (mbox->msg_uidls == NULL) {
if (pop3c_sync_get_uidls(mbox) < 0)
return -1;
struct mail_storage pop3c_storage = {
.name = POP3C_STORAGE_NAME,
- .class_flags = MAIL_STORAGE_CLASS_FLAG_NO_ROOT,
+ .class_flags = MAIL_STORAGE_CLASS_FLAG_NO_ROOT |
+ MAIL_STORAGE_CLASS_FLAG_HAVE_MAIL_GUIDS,
.v = {
pop3c_get_setting_parser_info,