Jorge Bastos
2022-Feb-07 22:41 UTC
On mailbox full, retry for 4 days or similar instead of reject
Howdy, I don't know if this is dovecot specific and i guess it may not be at 100% so I ask for help. I want postfix not to discard the message imediatly when a mailbox is full, i mean when postfix tries to deliver it to dovecot lmtp. Is it possible to change the behavior to something like what postfix does when he tries to deliver a message to an external server and the server is unaccessible for 4 days (the default i guess), and if in that period discard it. Does this exists? At least i know gmail does something similar to this. I've tried to google a bit but didn't found info that could lead me to this configuration. Thanks in advanced, Jorge -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20220207/a194cb51/attachment.htm>
Christian Kivalo
2022-Feb-08 06:54 UTC
On mailbox full, retry for 4 days or similar instead of reject
On February 7, 2022 11:41:08 PM GMT+01:00, Jorge Bastos <mysql.jorge at decimal.pt> wrote:>Howdy, > >I don't know if this is dovecot specific and i guess it may not be at >100% so I ask for help. > >I want postfix not to discard the message imediatly when a mailbox is >full, i mean when postfix tries to deliver it to dovecot lmtp. >Is it possible to change the behavior to something like what postfix >does when he tries to deliver a message to an external server and the >server is unaccessible for 4 days (the default i guess), and if in that >period discard it.How do you signal postfix that the mailbox is full? How much over quota do you want a mailbox to be allowed to go? Whats your running config, please show doveconf -n>Does this exists? At least i know gmail does something similar to this. > >I've tried to google a bit but didn't found info that could lead me to >this configuration.Dovecot quota documentation can be found here https://doc.dovecot.org/configuration_manual/quota_plugin/>Thanks in advanced, >Jorge-- Christian Kivalo
Narcis Garcia
2022-Feb-08 07:09 UTC
On mailbox full, retry for 4 days or similar instead of reject
+1 Narcis Garcia __________ I'm using this dedicated address because personal addresses aren't masked enough at this mail public archive. Public archive administrator should fix this against automated addresses collectors. El 7/2/22 a les 23:41, Jorge Bastos ha escrit:> Howdy, > > I don't know if this is dovecot specific and i guess it may not be at > 100% so I ask for help. > > I want postfix not to discard the message imediatly when a mailbox is > full, i mean when postfix tries to deliver it to dovecot lmtp. > Is it possible to change the behavior to something like what postfix > does when he tries to deliver a message to an external server and the > server is unaccessible for 4 days (the default i guess), and if in that > period discard it. > > Does this exists? At least i know gmail does something similar to this. > > I've tried to google a bit but didn't found info that could lead me to > this configuration. > > Thanks in advanced, > Jorge > > > > >
dc-ml at dvl.werbittewas.de
2022-Feb-08 09:02 UTC
On mailbox full, retry for 4 days or similar instead of reject
Am 07.02.22 um 23:41 schrieb Jorge Bastos:> I want postfix not to discard the message imediatly when a mailbox is > full, i mean when postfix tries to deliver it to dovecot lmtp. > Is it possible to change the behavior to something like what postfix > does when he tries to deliver a message to an external server and the > server is unaccessible for 4 days (the default i guess), and if in that > period discard it.if you set "quota_full_tempfail" to "yes" in dovecots lda.conf, it should answer with a temporary failure-code 422 instead of permanent 522. (at least the code of lmtp_local_rcpt_reply_overquota() says so) as lmtp is similar to smtp, postfix or any other MTA should honor this and keep the message in queue until the temporary failure goeas away or the queue-timeout (in Postfix!) is reached. d.