40 |
{ |
{ |
41 |
mailbox_get_message (mbox, mesgno, &msg); |
mailbox_get_message (mbox, mesgno, &msg); |
42 |
message_get_attribute (msg, &attr); |
message_get_attribute (msg, &attr); |
43 |
if (!attribute_is_userflag (attr, POP3_ATTRIBUTE_DELE)) |
if (!pop3d_is_deleted (attr)) |
44 |
{ |
{ |
45 |
message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
46 |
pop3d_outf ("%d %s\r\n", mesgno, uidl); |
pop3d_outf ("%d %s\r\n", mesgno, uidl); |
54 |
if (mailbox_get_message (mbox, mesgno, &msg) != 0) |
if (mailbox_get_message (mbox, mesgno, &msg) != 0) |
55 |
return ERR_NO_MESG; |
return ERR_NO_MESG; |
56 |
message_get_attribute (msg, &attr); |
message_get_attribute (msg, &attr); |
57 |
if (attribute_is_userflag (attr, POP3_ATTRIBUTE_DELE)) |
if (pop3d_is_deleted (attr)) |
58 |
return ERR_MESG_DELE; |
return ERR_MESG_DELE; |
59 |
message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
message_get_uidl (msg, uidl, sizeof (uidl), NULL); |
60 |
pop3d_outf ("+OK %d %s\r\n", mesgno, uidl); |
pop3d_outf ("+OK %d %s\r\n", mesgno, uidl); |