Re: FW: quota-status service
If you need fast and timely support you can contact OX sales for an support agreement . It is somewhat impolite to except such from a public mailing list over weekend. ---Aki TuomiDovecot oy -------- Original message --------From: Michael Fox news@mefox.org Date: 03/07/2016 09:00 (GMT+02:00) To: Dovecot Mailing List dovecot@dovecot.org Subject: FW: quota-status service ??? 3rd request
-----Original Message----- From: dovecot [mailto:dovecot-bounces@dovecot.org] On Behalf Of Michael Fox Sent: Friday, July 1, 2016 5:56 PM To: Dovecot Mailing List dovecot@dovecot.org Subject: RE: quota-status service
???
From: Michael Fox [mailto:news@mefox.org] Sent: Thursday, June 30, 2016 1:59 PM To: Dovecot Mailing List (dovecot@dovecot.org) dovecot@dovecot.org Subject: quota-status service
I'm trying to understand the quota-status service, but I can't find complete documentation.
The quota-status service is mentioned here: http://wiki.dovecot.org/Quota
And an example configuration is shown:
service quota-status {
executable = quota-status -p postfix
inet_listener {
port = 12340
# You can choose any port you want
}
client_limit = 1
}
But I can't find any information on quota-status.
"man quota-status" returns nothing.
I am unable to find a "quota-status" file on my machine. Where is the executable located?
What does the "-p postfix" option do?
Are there any other command line options?
The above wiki page shows three quota_status_* options in use:
quota_status_success = DUNNO quota_status_nouser = DUNNO quota_status_overquota = "552 5.2.2 Mailbox is full"
Where are their meanings documented?
What are the allowed values?
Are there other quota_status_* options?
Thanks in advance.
Thanks,
Michael
Am 2016-07-03 um 10:43 schrieb Aki Tuomi:
If you need fast and timely support you can contact OX sales for an support agreement . It is somewhat impolite to except such from a public mailing list over weekend.
Nah, expecting such can be unreasonable, Impolite though the manner of expression
---Aki TuomiDovecot oy -------- Original message --------From: Michael Fox news@mefox.org Date: 03/07/2016 09:00 (GMT+02:00) To: Dovecot Mailing List dovecot@dovecot.org Subject: FW: quota-status service ??? 3rd request
-----Original Message----- From: dovecot [mailto:dovecot-bounces@dovecot.org] On Behalf Of Michael Fox Sent: Friday, July 1, 2016 5:56 PM To: Dovecot Mailing List dovecot@dovecot.org Subject: RE: quota-status service
???
From: Michael Fox [mailto:news@mefox.org] Sent: Thursday, June 30, 2016 1:59 PM To: Dovecot Mailing List (dovecot@dovecot.org) dovecot@dovecot.org Subject: quota-status service
-- peter
Aki: Over the last three days, I've watched many other questions being asked and answered. Were they also impolite to ask?
Peter: What exactly was impolite about identifying missing information and listing the specific details that I'm looking for?
Aki & Peter: Do either of you know the answers to at least some of my questions?
Michael
-----Original Message----- From: dovecot [mailto:dovecot-bounces@dovecot.org] On Behalf Of Peter Chiochetti Sent: Sunday, July 3, 2016 2:07 AM To: dovecot@dovecot.org Subject: Re: FW: quota-status service
Am 2016-07-03 um 10:43 schrieb Aki Tuomi:
If you need fast and timely support you can contact OX sales for an support agreement . It is somewhat impolite to except such from a public mailing list over weekend.
Nah, expecting such can be unreasonable, Impolite though the manner of expression
On July 3, 2016 at 6:41 PM Michael Fox news@mefox.org wrote:
Aki: Over the last three days, I've watched many other questions being asked and answered. Were they also impolite to ask?
No. But someone knew what to answer to them, you keep spamming the mailing list with repeated '???' instead of waiting, which *is* impolite. Someone WILL answer you when they have time to study your question and prepare an answer. As I said, if you think you should be entitled to timely responses, please consider purchasing a support agreement, so you can have an SLA. Support provided over mailing list is pro bono publico and no one gets paid doing it for you.
Anyways, here are *some* answers to your questions:
- Quota status comes with dovecot-core, on my server (debian) it is in
~$ ls -lah /usr/lib/dovecot/quota-status -rwxr-xr-x 1 root root 84K May 27 12:35 /usr/lib/dovecot/quota-status
Did you look there?
You also are going to need to use 'mail_plugins = $mail_plugins quota'. See quota configuration in dovecot wiki. (http://wiki2.dovecot.org/Quota)
It has no man page because it is not intended to be ran at command line, but -p means protocol. It should match your MTA/MX. Such as postfix, which at the moment is the only supported one.
Port you can choose freely, it is used by postfix to check the delivery possiblity before actually doing it. This is the statement in smtpd_recipient_restrictions,
check_policy_service inet:mailstore.example.com:12340
replace mailstore.example.com with localhost or your dovecot hostname. And port with what you choose.
- The various responses are what your MTA/MX expects. Looking at postfix manual (http://www.postfix.org/SMTPD_POLICY_README.html#protocol) you can see that "The "DUNNO" action causes Postfix to ignore the result."
You can look at the postfix manual for various acceptable answers, but the one indicated in the configuration example probably works best.
- quota_status_*
quota_status_success, default response is OK quota_status_toolarge quota_status_overquota
toolarge and overquota default to "554 5.2.2 <error message>".
quota_status_nouser, default response is "REJECT Unknown user"
These are sent verbatim to your MTA/MX; refer to it's documentation for allowed responses.
Aki Tuomi Dovecot oy
No. But someone knew what to answer to them, you keep spamming the mailing list with repeated '???' instead of waiting, which *is* impolite. Someone WILL answer you when they have time to study your question and prepare an answer. As I said, if you think you should be entitled to timely responses, please consider purchasing a support agreement, so you can have an SLA. Support provided over mailing list is pro bono publico and no one gets paid doing it for you.
Understood. And I don't think I'm "entitled" to anything. The list is free.
But it may be helpful to understand this: I figured that most people would want to use the quota-status service. Therefore, most people must know something about it. But there was no response at all, not even "I can help but it will take a couple of days", even though there was lots of other activity on the list. So I did what is commonplace on some other lists by bumping it up to the top again. No disrespect intended. Every list has its own "personality". I'll learn.
- Quota status comes with dovecot-core, on my server (debian) it is in
~$ ls -lah /usr/lib/dovecot/quota-status -rwxr-xr-x 1 root root 84K May 27 12:35 /usr/lib/dovecot/quota-status
Did you look there?
Yes. I actually looked everywhere with find / ... This machine is running Ubuntu 12.04, dovecot --version = 2.0.19
So, I just tried installing on another machine running Ubuntu 14.04, dovecot --version = 2.2.9. It **is** there on that machine.
So, evidently, quota-status is not part of the older version. I guess I'll need to upgrade since I prefer not to compile from source.
You also are going to need ... [answers clipped]
Thank you. All EXCELLENT information.
quota_status_toolarge wasn't mentioned on the wiki. I presume that refers to the individual message size being too large, correct?
Thanks again, this is what I needed.
Michael
participants (4)
-
Aki Tuomi
-
aki.tuomi@dovecot.fi
-
Michael Fox
-
Peter Chiochetti