Commit 0a630b5e 0a630b5e6492b477ee410a240e156d0c61561725 by Sergey Poznyakoff

A message is marked for expiration after RETR or TOP.

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