[Dovecot] Defer emails until the user is ready to deal with them (snooze button / bring-forward file / bring-up file for emails)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Feb 19 10:39:16 EET 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 18 Feb 2013, Robert Schetterer wrote:

> Am 18.02.2013 10:03, schrieb Steffen Kaiser:
>> Have a cron job on the server that moves the messages back to INBOX.
>
> please describe how such cron should be invoked , created, edited, deleted
> with some user friendly interface i.e in some sieve webmail client or
> thunderbird, using tons of different guis for different jobs is not very
> nice, ideally such functions should be able to handle  from a
> thunderbird plugin then etc

I do not believe that the original post was about an ISP scenario.

Hence:

+ "snooze" button -> move to TODO *)
+ manual access (bring up / ready to deal with) via TODO mailbox
+ automatic: a static cron script monitors this mailbox for new messages 
and moves the message into INBOX after it appeared a certain amount of 
idle time or after a certain day time. **)

*) in combination with mail_log one could move the message back to the
original mailbox, when the cron job reinjects it.
One could have more than one snooze button to spool the message into a 
submailbox under TODO describing the snooze time. Then a virtual TODO 
could merge them together to have a chronologic list of all messages.

**) Depends on the mail storage backend, e.g. one could use an 
inotify/epoll server for Maildir.

Actually, this was my first setup to report SPAM. Each user had a mailbox 
"ReportSPAM", which was monitored hourly. If the script detected a new 
message, it was learned has SPAM, after 7 days or so the message was 
deleted; if it vanished before the automatic deletion (user deleted it), 
the message was re-learned as HAM. The antispam plugin replaced that 
script. I extended the idea with the automatic "move back to INBOX".

In fact, in the last time some people are asking about something like 
"snooze til Monday 6 o'clock in the Morning" and "delay sending Monday 6 
o'clock in the Morning".

Kind regards,

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUSM6NV3r2wJMiz2NAQJ1Ygf/YkbdwN/oHmu5GgLIflZNeiabWqilHw7v
C9oRxqdQPE0bpYyJb6juRRY8+F8QAEC4t9ZMF4ch5htLNXyhcjPu6C7Ou58plboo
8yjf4b2mxcnU1QxJpNbi7f8HAVXSZfLfOB+s5JSq+zGJPPxQhEW23VWOGNm/I5eB
VZa9RRvMlMvb0ye4dqGiGQCad1w7izqayqfa8oHBu0DDfuMIa0JB93IHIhDEuQwZ
IROXb57kxtyvevE7OjNBJJiys4vIs611IrNqCOcrjRR3lU+DFRsIALgDUxOds9Kz
V6X4d82V8N+NoSq9xDbk5xVNWJm7pwIuTRUaea+8Bhnzj38K16oa8w==
=8eDs
-----END PGP SIGNATURE-----



More information about the dovecot mailing list