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
On 06 Jun 2020, at 11:25, Peter Folta mail@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@kreme.com wrote:
As for subverting the quota you can explode a specific folder
Exclude.
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
Out.
of the mailbox).
-- If you can hear this you shouldn't be here.
participants (2)
-
@lbutlr
-
Peter Folta