Hello Is there a plugin for roundcube, for sending emails at specific time? for example, when u compose an email,there is a feature to set the time for sending that.(hh,mm, tomorrow or based on roundcube calendar) If not,would you mind explaining, the structure or topology for implementing that feature in our mail server(postfix+dovecot+roundcube). Regards Iman
On Sun, 10 Mar 2013 07:58:28 +0000 (GMT), shomalboy shomalboy galantiboy@yahoo.co.uk wrote:
Hello Is there a plugin for roundcube, for sending emails at specific time? for example, when u compose an email,there is a feature to set the time for sending that.(hh,mm, tomorrow or based on roundcube calendar) If not,would you mind explaining, the structure or topology for implementing that feature in our mail server(postfix+dovecot+roundcube).
man cron man mail
everyone knows the cron and mail features,but when u used postfix(as smtp engine) and roundcube as web interface,it differs from simple croned mail!!
From: Kaz Kylheku kaz@kylheku.com To: shomalboy shomalboy galantiboy@yahoo.co.uk; Roundcube Users mailing list users@lists.roundcube.net Sent: Sunday, March 10, 2013 11:54 AM Subject: Re: [RCU] Send composed email at specific time
On Sun, 10 Mar 2013 07:58:28 +0000 (GMT), shomalboy shomalboy galantiboy@yahoo.co.uk wrote:
Hello Is there a plugin for roundcube, for sending emails at specific time? for example, when u compose an email,there is a feature to set the time for sending that.(hh,mm, tomorrow or based on roundcube calendar) If not,would you mind explaining, the structure or topology for implementing that feature in our mail server(postfix+dovecot+roundcube).
man cron man mail
On Sunday, March 10, 2013 at 3:58 PM, shomalboy shomalboy wrote:
If not,would you mind explaining, the structure or topology for implementing that feature in our mail server(postfix+dovecot+roundcube).
How about this:
*) Compose email with Roundcube and set the time for sending it.
*) Roundcube save emails in "Scheduled" IMAP folder and add mail header "Scheduled: [TIMESTAMP]", and save the email address and TIMESTAMP in Roundcube SQL database, we can pick it up for delivery later.
*) Write script to check scheduled emails in Roundcube SQL database, if there's one, login as Dovecot Master User[1] and find the email with IMAP command "SEARCH HEADER Scheduled [TIMESTAMP]", open it and send it.
*) Setup cron job to execute the script.
[1] Dovecot Master User: http://wiki2.dovecot.org/Authentication/MasterUsers
Zhang Huangbin
iRedMail: free, open source mail server solution for Red Hat Enterprise Linux, CentOS, Scientific Linux, Debian, Ubuntu, openSUSE, FreeBSD, OpenBSD. http://www.iredmail.org/