Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
0a630b5e
...
0a630b5e6492b477ee410a240e156d0c61561725
authored
2007-02-25 18:12:34 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
A message is marked for expiration after RETR or TOP.
1 parent
6b818dd3
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
pop3d/expire.c
pop3d/top.c
pop3d/expire.c
View file @
0a630b5
/* 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.
...
...
pop3d/top.c
View file @
0a630b5
/* 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,6 +58,7 @@ 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
"
);
...
...
Please
register
or
sign in
to post a comment