Hi, is there any way, based on userdb/passwdb attribute, how to postpone an email delivery? The purpose is, I need to freeze an account (Maildir++) for a few minutes and new email must not be delivered. But emails must be delivered when account is unfrozen. I found few things about Postfix filters, but I'm not sure it's a good way. Thank you, Milo
On 04/29/2015 04:47 PM, Miloslav H?la wrote:> Hi, > > is there any way, based on userdb/passwdb attribute, how to postpone > an email delivery? The purpose is, I need to freeze an account > (Maildir++) for a few minutes and new email must not be delivered. But > emails must be delivered when account is unfrozen. > > I found few things about Postfix filters, but I'm not sure it's a good > way. > > Thank you, MiloThe right way would probably be to use a transport map in postfix to defer deliveries for specific recipients.
* Miloslav H?la <miloslav.hula at gmail.com> 2015.04.29 22:47:> is there any way, based on userdb/passwdb attribute, how to postpone an > email delivery? The purpose is, I need to freeze an account (Maildir++) for > a few minutes and new email must not be delivered. But emails must be > delivered when account is unfrozen.You can put the messages on hold and then release them again: http://wiki2.dovecot.org/Migration/Online -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 181 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20150430/5e3c3903/attachment.sig>
Dne 30.4.2015 v 18:51 Thomas Leuxner napsal(a):> * Miloslav H?la <miloslav.hula at gmail.com> 2015.04.29 22:47: > >> is there any way, based on userdb/passwdb attribute, how to postpone an >> email delivery? The purpose is, I need to freeze an account (Maildir++) for >> a few minutes and new email must not be delivered. But emails must be >> delivered when account is unfrozen. > > You can put the messages on hold and then release them again: > > http://wiki2.dovecot.org/Migration/OnlineThomas, in combination with SQL, that's exactly what I'm looking for. Thank you! Best regards, Milo