I?m adding once a day mail delivery to my site. Messages are marked by the sender as ?overnight? or ?once a week? delivery. The way I?m planning on implementing this is to queue messages until midnight in a MySQL database. Each mailbox will be kept in two Dovecot mailstores. The first mailstore will give the users IMAP access to their mailbox. A second mailstore will hold the next day?s new messages. At midnight, a cron job runs to send messages in the MySQL database out to the second mailstore. Then, at 6am, a second cron job will run to sync the two mailstores using doveadm sync. What I am expecting to happen is that during the day, notification messages (from the site) may be delivered to the first mailstore (the one providing IMAP access to the user) but no messages from other users sent during the day will come until after 6am the next day. Each time the user submits a new message, a notification message is sent back to the sender with a link for editing the queued message in the MySQL database and an indication of when it is scheduled for delivery. I am kind of assuming that the morning sync process is fast enough so it can easily complete before noon (in 6 hours) even if I end up having lots of mailboxes on each fully loaded Dovecot server. Is the doveadm sync process reliable and efficient enough for this type of ?once a day? morning new message mail delivery? Or, should I just start delivering messages after midnight and not bother with the second mailstore and subsequent sync? Just looking for any advice? I kind of like the idea of modeling my mail service after the US Post Office where the mailman delivers new mail once a day rather than like Twitter/Facebook where messages are posted in real time to encourage users to monitor their boxes throughout the day. Kevin
Zitat von KT Walrus <kevin at my.walr.us>:> Just looking for any advice? I kind of like the idea of modeling my > mail service after the US Post Office where the mailman delivers new > mail once a day rather than like Twitter/Facebook where messages are > posted in real time to encourage users to monitor their boxes > throughout the day.This is not going to work. People are used and do consider email delivery instantly to themselves, that's what they expect. Breaking this thing will only give you a major disadvantage in your field of competition and some major headache, as well.
On 6/9/2016 12:36 AM, Marc St?rmer wrote:> Zitat von KT Walrus <kevin at my.walr.us>: > >> Just looking for any advice? I kind of like the idea of modeling my >> mail service after the US Post Office where the mailman delivers new >> mail once a day rather than like Twitter/Facebook where messages are >> posted in real time to encourage users to monitor their boxes >> throughout the day. > > This is not going to work. People are used and do consider email > delivery instantly to themselves, that's what they expect. > > Breaking this thing will only give you a major disadvantage in your > field of competition and some major headache, as well.Several studies have indicated that this actually improves worker productivity and reduces stress, there could be very valid use cases (mostly in business) which this may be desired. http://www.fastcompany.com/3040361/work-smart/the-science-behind-why-constantly-checking-your-email-is-making-you-crazy http://www.fastcompany.com/3030999/work-smart/what-i-learned-from-checking-email-only-twice-a-day https://cogzest.com/2015/06/try-as-you-might-does-checking-email-less-frequently-reduce-stress/ http://www.forbes.com/sites/francesbooth/2015/01/23/stop-checking-email-so-often-and-reduce-your-stress/#1f90ad1f33f1 -- ----------------------------------------------- - Nick Bright - - Vice President of Technology - - Valnet -=- We Connect You -=- - - Tel 888-332-1616 x 315 / Fax 620-331-0789 - - Web http://www.valnet.net/ - ----------------------------------------------- - Are your files safe? - - Valnet Vault - Secure Cloud Backup - - More information & 30 day free trial at - - http://www.valnet.net/services/valnet-vault - ----------------------------------------------- This email message and any attachments are intended solely for the use of the addressees hereof. This message and any attachments may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system.