Commit 0a630b5e 0a630b5e6492b477ee410a240e156d0c61561725 by Sergey Poznyakoff

A message is marked for expiration after RETR or TOP.

1 parent 6b818dd3
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 2003, 2005 Free Software Foundation, Inc.
Copyright (C) 2003, 2005, 2007 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -21,7 +21,7 @@
/* EXPIRE see RFC2449:
Implementation:
When a message is downloaded by RETR, it is marked with
When a message is downloaded by RETR or TOP, it is marked with
"X-Expire-Timestamp: N", where N is the current value of
UNIX timestamp.
......
/* GNU Mailutils -- a suite of utilities for electronic mail
Copyright (C) 1999, 2000, 2001, 2005 Free Software Foundation, Inc.
Copyright (C) 1999, 2000, 2001, 2005, 2007 Free Software Foundation, Inc.
GNU Mailutils is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
......@@ -58,7 +58,8 @@ pop3d_top (const char *arg)
mu_message_get_attribute (msg, &attr);
if (pop3d_is_deleted (attr))
return ERR_MESG_DELE;
pop3d_mark_retr (attr);
pop3d_outf ("+OK\r\n");
/* Header. */
......