Postpone email delivery with LMTP and Postfix
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, Milo The right way would probably be to use a transport map in postfix to defer deliveries for specific recipients.
- Miloslav Hůla <miloslav.hula@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:
Dne 30.4.2015 v 18:51 Thomas Leuxner napsal(a):
- Miloslav Hůla <miloslav.hula@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:
Thomas, in combination with SQL, that's exactly what I'm looking for. Thank you!
Best regards, Milo
participants (3)
-
Gedalya
-
Miloslav Hůla
-
Thomas Leuxner