Hi everyone, I have a separate internal system running on a different host that needs to put an administrative email into a user?s inbox. I?ve been playing around with the ?doveadm mailbox save? command via Doveadm?s HTTP API (https://doc.dovecot.org/admin_manual/doveadm_http_api/#doveadm-mailbox-save <https://doc.dovecot.org/admin_manual/doveadm_http_api/#doveadm-mailbox-save>). This works quite well provided the user is within quota limit, however, I would like to be able to deliver these messages even if the email account is over quota. I noticed that it?s possible to override the quota configuration using dovecot-lda by overriding plugin/quota with the ?noenforcing? directive as explained in https://wiki.dovecot.org/Quota/Configuration <https://wiki.dovecot.org/Quota/Configuration>. I don?t currently use LDA, SMTP servers based on Postfix deliver mail via LMTP and I need to be able to deliver this message from a different host in the network. The HTTP API doesn?t seem to support overriding the quota config. What would be the best way to go about this? Thanks Peter -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://dovecot.org/pipermail/dovecot/attachments/20200606/f0ad6bf9/attachment.html>
On 06 Jun 2020, at 11:25, Peter Folta <mail at peterfolta.net> wrote:> I have a separate internal system running on a different host that needs to put an administrative email into a user?s inbox.The easiest way to do the is simply to send an email. It is a lot simpler to setup the right authentication settings that it is to try to manually copy mails into a users folders without messing things up. As for subverting the quota you can explode a specific folder from quota rules, and use sieve to deliver the admin message to that folder (and to auto-move mails in that folder that are not admin messages pit of the mailbox). Pretty sure. -- Howard: Woah. No. We're not--we shackle people of all races and colors here. Penny: Not better, Howard.
On 06 Jun 2020, at 21:27, @lbutlr <kremels at kreme.com> wrote:> As for subverting the quota you can explode a specific folderExclude.> from quota rules, and use sieve to deliver the admin message to that folder (and to auto-move mails in that folder that are not admin messages pitOut.> of the mailbox).-- If you can hear this you shouldn't be here.
Possibly Parallel Threads
- Sieve addheader directive works only partially
- Deliver administrative message ignoring user quota
- Sieve addheader directive works only partially
- bash script hook lda_mailbox_autocreate for generate mail-crypt user encrypted private key with user password
- Health check curl example