Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
/root:: >> :/var/home/xxx/:: >> -...@ddd.example.com:/home/vhosts/ddd/-ccc-ddd:: >> -...@ggg.example.net:/home/vhosts/ggg/eeee-fff-ggg:: >> -...@jjj.example.co.jp:/home/vhosts/jjj/-iii-jjj:: >> : >> : >> ---

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
: > > ----- > > -Original Message- > From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Gedalya > Sent: Thursday, October 29, 2020 2:27 PM > To: dovecot@dovecot.o

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
inal Message- > From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Gedalya > Sent: Thursday, October 29, 2020 1:17 PM > To: dovecot@dovecot.org > Subject: Re: dovecot quota-warning detection mail > > Aha. Then it's not a straightforward case of just adding the

Re: dovecot quota-warning detection mail

2020-10-29 Thread Gedalya
Aha. Then it's not a straightforward case of just adding the domain name to the same username, you need to transform the username too. Dovecot's userdb / authdb allows you to return a "user" field, which sets a new username for dovecot to use. Depending on what you use as your authentication back

Re: dovecot quota-warning detection mail

2020-10-28 Thread Gedalya
It should only affect users who authenticate with a username only, without a domain. The only effect is to add the domain name to the username. You could perhaps test, by logging in as just "user" and then as "u...@example.co.jp" and make sure everything behaves the same. If everything behaves th

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
sts/jjj/-iii-jjj:: : : - -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Gedalya Sent: Thursday, October 29, 2020 2:27 PM To: dovecot@dovecot.org Subject: Re: dovecot quota-wa

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
Gedalya-san Thank you for the information. It seems to be difficult... morikawa -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Gedalya Sent: Thursday, October 29, 2020 1:17 PM To: dovecot@dovecot.org Subject: Re: dovecot quota-warning detection mail

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
xyz-unyo-sek...@example.co.jp" I can't send a mail. Thank you. morikawa -Original Message- From: dovecot [mailto:dovecot-boun...@dovecot.org] On Behalf Of Gedalya Sent: Thursday, October 29, 2020 11:55 AM To: dovecot@dovecot.org Subject: Re: dovecot quota-warning detection ma

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
ot.org] On Behalf Of 森川 孝司 Sent: Wednesday, October 28, 2020 4:16 PM To: 'Gedalya' ; dovecot@dovecot.org Subject: RE: dovecot quota-warning detection mail Hi Gedalya-san I would like to set "auth_default_realm = example.co.jp". I'm just replacing from older server to new

Re: dovecot quota-warning detection mail

2020-10-28 Thread Gedalya
On 10/28/20 12:19 PM, 森川 孝司 wrote: > " > "Recipient address rejected: User unknown in local recipient table" If abc-xyz-unyo-sekkei is supposed to be abc-xyz-unyo-sek...@example.co.jp then you could try to set in dovecot configuration: auth_default_realm = example.co.jp Then %u will contain the

RE: dovecot quota-warning detection mail

2020-10-28 Thread Koga Hayashi
Morikawa-san, Okey, then your conf should be right. Did you try the conf below which was noticed by Gedalya? auth_default_realm = example.co.jp Kouga -Original Message- From: 森川 孝司 Sent: Wednesday, October 28, 2020 4:28 PM To: 林 宏河 ; dovecot@dovecot.org Subject: RE: dovecot quota

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
lf Of Koga Hayashi Sent: Wednesday, October 28, 2020 1:58 PM To: 森川 孝司 ; dovecot@dovecot.org Subject: RE: dovecot quota-warning detection mail Morikawa-san, Your conf is wrong. Should be: quota_warning = storage = 95 %% quota-warning 95 %u Your conf: quota_warning = storage = 95 %% quota-war

RE: dovecot quota-warning detection mail

2020-10-28 Thread 森川 孝司
Hi Gedalya-san I would like to set "auth_default_realm = example.co.jp". I'm just replacing from older server to new server, Older servers also had this problem. So, we decided to proceed with server replacement in this state. As another task, we will start and set up this issue. Therefore, it

RE: dovecot quota-warning detection mail

2020-10-27 Thread Koga Hayashi
essage- From: dovecot On Behalf Of 森川 孝司 Sent: Wednesday, October 28, 2020 10:17 AM To: dovecot@dovecot.org Subject: dovecot quota-warning detection mail Hi, all. we use quota-warning emails to notify you of quotas. In rare cases, the email address has changed to the logged-in user. (Because the a

RE: dovecot quota-warning detection mail

2020-10-27 Thread Koga Hayashi
ssage- From: 森川 孝司 Sent: Wednesday, October 28, 2020 1:20 PM To: 林 宏河 ; dovecot@dovecot.org Subject: RE: dovecot quota-warning detection mail Hi,Kouga-san When quota-warning works normally I'm sending an email to "From: to = " When it doesn't work An email was sent to &

RE: dovecot quota-warning detection mail

2020-10-27 Thread 森川 孝司
hi [mailto:haya...@progdence.co.jp] Sent: Wednesday, October 28, 2020 12:50 PM To: 森川 孝司 ; dovecot@dovecot.org Subject: RE: dovecot quota-warning detection mail Morikawa, What do you mean by "logged-in user"? %u stands for the username. If, for an example, user "morikawa" exis

dovecot quota-warning detection mail

2020-10-27 Thread 森川 孝司
Hi, all. we use quota-warning emails to notify you of quotas. In rare cases, the email address has changed to the logged-in user. (Because the address of %u is passed as the logged-in user.) So I couldn’t send the email with “Recipient address rejected: User unknown in local recipient table”. Wh

Re: Dovecot, quota, warning, and issue with setup?

2019-06-16 Thread @lbutlr via dovecot
On 16 Jun2019, at 13:42, David Mehler via dovecot wrote: > quota = maildir:User quota This was covered a few days ago. On 13 Jun2019, at 17:22, Ranbir via dovecot wrote: > I switched to "quota = count:User quota" (as Aki suggested) and now the > errors are gone. Thanks to the both of you! HTH

Dovecot, quota, warning, and issue with setup?

2019-06-16 Thread David Mehler via dovecot
e/dovecot-lmtp { group = postfix mode = 0660 user = postfix } } service managesieve-login { inet_listener sieve { address = 172.16.21.3 port = 4190 } } service quota-status { client_limit = 1 executable = quota-status -p postfix unix_listener /var/spool/postfix/private

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-23 Thread Yassine Chaouche via dovecot
On 3/21/19 10:17 PM, Davide Marchi via dovecot wrote: I've a doubt (again): Is it correct the the space between "[..]service" and "inet[..]"? As suggested here: https://blog.sys4.de/postfix-dovecot-mailbox-quota-en.html I've run: postconf smtpd_recipient_restrictions=check_policy_service

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-21 Thread Davide Marchi via dovecot
Well, so the right syntax (in my case) would be: -o smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject,check_policy_service inet:mailstore.example.com:12340 right?? I configured it before the "permit_sasl_authenticated" an

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-21 Thread Davide Marchi via dovecot
From: Urban Loesch Hi, Well, so the right syntax (in my case) would be: -o smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject,check_policy_service inet:mailstore.example.com:12340 right?? I configured it before the "per

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Urban Loesch via dovecot
Hi, Well, so the right syntax (in my case) would be: -o smtpd_recipient_restrictions = reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject,check_policy_service inet:mailstore.example.com:12340 right?  :-) I configured it before the "permit_sasl_auth

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Davide Marchi via dovecot
From: Urban Loesch Hi, I would like to enable (the same) quota (count) for all (virtual)users, on Debian Stretch, Postfix 3.1.8, Dovecot 2.2.27, and is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Yassine Chaouche via dovecot
On 3/19/19 6:00 PM, Davide Marchi via dovecot wrote: [...] is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =     ...     check_policy_service inet:mailstore.example.com:12340 Davide Hey Davide, You

Re: Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-20 Thread Urban Loesch via dovecot
Hi, I would like to enable (the same) quota (count) for all (virtual)users, on Debian Stretch, Postfix 3.1.8, Dovecot 2.2.27, and is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =     ...     check_p

Dovecot quota and Postfix smtpd_recipient_restrictions?

2019-03-19 Thread Davide Marchi via dovecot
Hi Friends, a doubt: I would like to enable (the same) quota (count) for all (virtual)users, on Debian Stretch, Postfix 3.1.8, Dovecot 2.2.27, and is not clear for me if I need to tell Postfix to communicate with the service in /etc/postfix/main.cf as here: smtpd_recipient_restrictions =

Re: [dovecot quota-status] error "Invalid character in path"

2018-10-30 Thread Stephan Bosch
Hi, Op 18/10/2018 om 23:59 schreef k675...@keit.eu: Hello, I'm using using: - dovecot 2.3.3 (dcead646b) - postfix 3.3.1 - dovecot "quota = maildir:User quota" I'm facing the error: "quota-status: Error: quota-status: Client sent invalid recipient address: Invalid

[dovecot quota-status] error "Invalid character in path"

2018-10-18 Thread k675154
Hello, I'm using using: - dovecot 2.3.3 (dcead646b) - postfix 3.3.1 - dovecot "quota = maildir:User quota" I'm facing the error: "quota-status: Error: quota-status: Client sent invalid recipient address: Invalid character in path" This occurred with this e-mail

Re: [Dovecot] quota-status not working in distributed environment

2018-07-29 Thread Aki Tuomi
On 27.07.2018 16:26, Tom Sommer wrote: > On 2013-06-16 21:46, Timo Sirainen wrote: >> On 14.6.2013, at 9.15, Benoit Panizzon wrote: >> >>> Is there a way to get quota-status to also use the proxy feature to >>> request >>> the quota information from the correct machine? >> >> Looks like this is

Re: [Dovecot] quota-status not working in distributed environment

2018-07-27 Thread Tom Sommer
On 2013-06-16 21:46, Timo Sirainen wrote: On 14.6.2013, at 9.15, Benoit Panizzon wrote: Is there a way to get quota-status to also use the proxy feature to request the quota information from the correct machine? Looks like this is a missing feature. I first thought quota-status would go thr

Dovecot Quota and subject utf-8

2018-07-17 Thread Danilo G. Baio
=A7=C3=B3nsequuntur_ea_i=C3=BAs=2E_Agam_?= =?UTF-8?Q?cet=C3=AAro_t=C3=AA_e=C3=B4s=2C_=C3=A1d_vim_ipsum_tant=C3=A2s_e?= =?UTF-8?Q?xpet=C3=AAndis=2E_Ut_pr=C3=B5_vidit_di=C3=A7it_iudicabit=2C_cum?= =?UTF-8?Q?_=C3=BAt_=C3=A7=C3=B4mm=C3=B3do?= Subject of a message rejected with Dovecot Quota: Subject

Re: Dovecot quota

2018-03-28 Thread Aki Tuomi
t; user = postfix > } > unix_listener auth-userdb { > group = vmail > mode = 0666 > user = vmail > } > } > service dict { > unix_listener dict { > group = vmail > mode = 0660 > user = vmail > } > user = root >

Dovecot quota

2018-03-27 Thread David Mehler
cutable = quota-status -p postfix unix_listener /var/spool/postfix/private/dovecot-quota { group = postfix mode = 0660 user = postfix } } service quota-warning { executable = script /usr/local/etc/dovecot/quota-warning.sh unix_listener quota-warning { group = vmail mode

Re: dovecot quota service for postfix

2015-10-03 Thread Michael Peter
t; 1. Verify the user's mailbox is over or under quota in alignment with your expectations > - `doveadm quota -u $RECIPIENT` > 2. Test that the quota service provides the response you expect it to > - `echo "recipient=$RECIPIENT" | nc -q1 localhost 12340` >

Re: dovecot quota service for postfix

2015-09-29 Thread James Lott
under quota in alignment with your expectations - `doveadm quota -u $RECIPIENT` 2. Test that the quota service provides the response you expect it to - `echo "recipient=$RECIPIENT" | nc -q1 localhost 12340` On 09/26/2015 01:40 AM, Michael Peter wrote: Hello, I am trying to use

dovecot quota service for postfix

2015-09-26 Thread Michael Peter
Hello, I am trying to use dovecot quota service for postfix in order set quota for some users. i configure postfix policy service to ask dovecot if user quota is sufficient to accept the email or not. (dovecot in this case acts only as policy server to postfix as it only ACCEPT/REJECT email

Dovecot quota via custom column

2014-11-08 Thread Filip Bartmann
Hello, we have multiple domains connected to single user account and we want to have quota counted via this column - called account_id. Users are stored in mysql database. - iterate_query = SELECT email AS user FROM m

Re: [Dovecot] quota using wrong limits in user shared mailboxes

2014-10-03 Thread Nick Edwards
We were supposed to get an update to fix this (and other bugs) over a month or more ago if I remember right, but developer seems to be on extended hiatus On 10/3/14, Bartłomiej Nogaś wrote: > Hi, > > I confirm this bug with LDAP userdb. The temporary workaround is to set > quota ignore rule for S

Re: [Dovecot] quota using wrong limits in user shared mailboxes

2014-10-03 Thread Bartłomiej Nogaś
Hi, I confirm this bug with LDAP userdb. The temporary workaround is to set quota ignore rule for Shared namespace or specific shared folder. This is obviously not secure workaround. Example: for a shared namespace: namespace ( prefix = Shared Folders/%%u/ ... } you have to set quota

Re: postfix alias and dovecot quota

2014-07-03 Thread Alexandre Ellert
Le 1 juil. 2014 à 04:57, Nick Edwards a écrit : http://dovecot.2317879.n4.nabble.com/Postfix-aliases-with-quota-status-service-td43511.html search for post from Ulrich Zehl Thanks for the link, I use a SQL backend containing user and alias data. So I've changed the user_query to include alia

Re: postfix alias and dovecot quota

2014-06-30 Thread Nick Edwards
On 6/30/14, Jiri Bourek wrote: > > > On 30.6.2014 12:33, Nick Edwards wrote: >> On 6/29/14, Alexandre Ellert wrote: >>> Le 29 juin 2014 à 06:24, Nick Edwards a écrit >>> : >>> it is the job of postfix to do this, aliases are just that, aliases of >>> the real mail account, they do not

Re: postfix alias and dovecot quota

2014-06-30 Thread Matthijs de Groot
> On 30 Jun 2014, at 15:01, Nathan Schultheiss wrote: > > ... > > I search since several weeks how to fix that and for postfix ask the > quota-service with the real user email and not the alias. > Because Postfix know the real user email because it's search it on the first > time before ask D

Re: postfix alias and dovecot quota

2014-06-30 Thread Nathan Schultheiss
ests Regards, Nathan - Mail original - De: "Jiri Bourek" À: dovecot@dovecot.org Envoyé: Lundi 30 Juin 2014 13:37:26 Objet: Re: postfix alias and dovecot quota On 30.6.2014 12:33, Nick Edwards wrote: > On 6/29/14, Alexandre Ellert wrote: >> Le 29 juin 2014 à 06:2

Re: postfix alias and dovecot quota

2014-06-30 Thread Jiri Bourek
On 30.6.2014 12:33, Nick Edwards wrote: On 6/29/14, Alexandre Ellert wrote: Le 29 juin 2014 à 06:24, Nick Edwards a écrit : it is the job of postfix to do this, aliases are just that, aliases of the real mail account, they do not exist in real storage, else, they would not be alias. T

Re: postfix alias and dovecot quota

2014-06-30 Thread Nick Edwards
On 6/29/14, Alexandre Ellert wrote: > Le 29 juin 2014 à 06:24, Nick Edwards a écrit : > >> it is the job of postfix to do this, aliases are just that, aliases of > >> the real mail account, they do not exist in real storage, else, they >> would not be alias. > > The problem i'm trying to solve is

Re: postfix alias and dovecot quota

2014-06-29 Thread Alexandre Ellert
Le 29 juin 2014 à 06:24, Nick Edwards a écrit : > it is the job of postfix to do this, aliases are just that, aliases of > the real mail account, they do not exist in real storage, else, they > would not be alias. The problem i’m trying to solve is about dovecot capability to serve quota statu

Re: postfix alias and dovecot quota

2014-06-28 Thread Nick Edwards
it is the job of postfix to do this, aliases are just that, aliases of the real mail account, they do not exist in real storage, else, they would not be aliaes. On 6/29/14, Alexandre Ellert wrote: > Hello, > > Can someone tell me if it's possible to configure dovecot to answer quota > information

postfix alias and dovecot quota

2014-06-28 Thread Alexandre Ellert
Hello, Can someone tell me if it’s possible to configure dovecot to answer quota information about real mailbox when I query a postfix alias mailbox (this information is actually in a mysql database) ? Example : doveadm quota get - u al...@domain.com doveadm(al...@domain.com): Fatal: User does

Re: [Dovecot] [dovecot]Quota per user from openldap

2014-06-05 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 27 May 2014, Selcuk Yazar wrote: in dovecot documentation i try to implement quota per users. i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$ and i see

Re: [Dovecot] [dovecot]Quota per user from openldap

2014-05-27 Thread Angel L. Mateo
El 27/05/14 13:05, Selcuk Yazar escribió: Hi, in dovecot documentation i try to implement quota per users. i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$ and i see in logs quota(quota_rule=*:bytes=%$)=*

[Dovecot] [dovecot]Quota per user from openldap

2014-05-27 Thread Selcuk Yazar
Hi, in dovecot documentation i try to implement quota per users. i added dovecot-ldap.conf file user_attrs = homeDirectory=home, uidNumber=uid, gidNumber=gid, mailbox=mail, quota=quota_rule=*:bytes=%$ and i see in logs quota(quota_rule=*:bytes=%$)=*:bytes=241800 Debug: Added userdb setting:

[Dovecot] Quota dict with redis

2014-05-13 Thread Davide
I have installed redis backend for quota and my dovecot.conf is as follow: quota = dict:User quota:ignoreunlimited:redis:host=127.0.0.1:prefix=%u/ but for all of my users doveadm quota get return always same quota (of the last user) Someone could help me in the right direction? -- *Davide Marc

[Dovecot] quota is exceeded during send mail

2014-03-13 Thread pgala
Hi, i try configure qouta plugin in dovecot. If i want sent mail to user with full mailbox all is ok, messege is reject. But if i want sent mail from user with full mailbox then messege is delivery and save to sent folder so quota is unlimited in this case. my dovecot.conf ---

[Dovecot] quota using wrong limits in user shared mailboxes

2014-03-13 Thread Steffen Kaiser
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I have setup a shared namespace to expose user's mailboxes to other users. That works well. Via ACLs users can access other users mailboxes. I have setup a quota for each user, that works well, too. The quota is tracked and new messages are d

Re: [Dovecot] Quota-Status issue

2014-02-27 Thread Cyberonic Turbo
d > dovecot complained about not being able to find it. Make sure you > actually have quota-status installed. Full dovecot snippet for this > below: > > # report quota to postfix > # see http://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/ > > plugin { > quota_s

Re: [Dovecot] Quota-Status issue

2014-02-24 Thread Charles Sprickman
see http://sys4.de/en/blog/2013/04/08/postfix-dovecot-mailbox-quota/ plugin { quota_status_success = DUNNO quota_status_nouser = DUNNO quota_status_overquota = "552 5.2.2 Mailbox is full" } service quota-status { executable = /usr/local/libexec/dovecot/quota-stat

[Dovecot] Quota-Status issue

2014-02-23 Thread Cyberonic Turbo
rvice imap-login { process_limit = 500 service_count = 1 } service pop3-login { service_count = 1 } service quota-status { client_limit = 1 executable = quota-status -p postfix inet_listener { port = 12340 } } service quota-warning { executable = script /usr/local/bin/dovecot-quota-

Re: [Dovecot] Dovecot quota with MySQL - username issue

2014-01-11 Thread Axel Luttgens
Le 26 déc. 2013 à 10:04, michael a écrit : > Hi all, > > I'm using Dovecot 2.2.8 with quota using a MySQL backend. The Quota plugin is > listed for POP3, IMAP and LDA. > > When it is enabled for LDA, it populates the "username" field in the MySQL > table with e mail addresses. I end up with a

[Dovecot] Dovecot quota with MySQL - username issue

2013-12-26 Thread michael
Hi all, I'm using Dovecot 2.2.8 with quota using a MySQL backend. The Quota plugin is listed for POP3, IMAP and LDA. When it is enabled for LDA, it populates the "username" field in the MySQL table with e mail addresses. I end up with a mixture of email addresses and usernames, which causes

Re: [Dovecot] quota warning by script fails

2013-11-24 Thread Jimmy Koerting
cript /usr/sbin/quota-warning.sh > unix_listener quota-warning { > mode = 0666 > } > } > ... > > > script: > -rwxrwxrwx 1 root wheel 580 23 Nov 17:14 /usr/sbin/quota-warning.sh* > > > socket: > [root@testfbsd ~]# ll /var/run/dovecot/quota-warning

[Dovecot] quota warning by script fails

2013-11-23 Thread Jimmy Koerting
rning { mode = 0666 } } ... script: -rwxrwxrwx 1 root wheel 580 23 Nov 17:14 /usr/sbin/quota-warning.sh* socket: [root@testfbsd ~]# ll /var/run/dovecot/quota-warning srw-rw-rw- 1 root wheel 0 23 Nov 17:06 /var/run/dovecot/quota-warning= Calling the 'quota-warning.sh' script f

Re: [Dovecot] Quota question.

2013-09-11 Thread Noel Butler
On Wed, 2013-09-11 at 15:05 -0400, Bruce Markey wrote: > I think it's something more. Apparently it's not even looking at the > database. Not sure what I didn't do. > If anyone can point me to a good dovecot / mysql quota how to that would > be helpful. > > Thank you > bruce > > signatur

Re: [Dovecot] Quota question.

2013-09-11 Thread Daniel Parthey
Hi Bruce, please follow the Dovecot Mailing List guidelines and post your output of doveconf -n Also have a look in the List Archives. There has been a similar quota question in the last few days. Regards Daniel

Re: [Dovecot] Quota question.

2013-09-11 Thread Vijay Rajah
Check if new quota is recognized using 'doveadm quota get -u ' If it does then there is some other issue... It is hard to tell without knowing how it is setup. Thanks VIjay On Thu, Sep 12, 2013 at 12:35 AM, Bruce Markey wrote: > I think it's something more. Apparently it's not even looking at

Re: [Dovecot] Quota question.

2013-09-11 Thread Bruce Markey
I think it's something more. Apparently it's not even looking at the database. Not sure what I didn't do. If anyone can point me to a good dovecot / mysql quota how to that would be helpful. Thank you bruce -- Please use PGP, ENCRYPT everything. For information about acquiring a secryption.c

[Dovecot] Quota question.

2013-09-11 Thread Bruce Markey
I have quotas setup with dovecot. Everything seems to be running fine. Values show up fine in mysql. I set up Roundcube to show quota amounts, this also works. For some reason it's showing the old value, I had upped a quot I assume that dovecot is reporting this wrong since roundcube talks to

[Dovecot] Quota to use limits from LDAP and usage from FS

2013-08-15 Thread Frank Steinberg
Hi, I'm new to Dovecot (switching from Cyrus). I'm using Dovecot 2.1.7 from Ubuntu 13.04. Maildir data is stored on a Linux ext4 filesystem with quotas. I would like to use mail quota in a way, so that the usage values are taken from the filesystem's quota system by the "fs" backend, while the

Re: [Dovecot] Quota based on LDAP group

2013-06-24 Thread Pavel Herrmann
Hi On Tuesday 25 of June 2013 00:13:05 Timo Sirainen wrote: > On 25.6.2013, at 0.05, Pavel Herrmann wrote: > >> Sounds like you need to do two LDAP lookups and merge them. That requires > >> Dovecot v2.2. > > > > Sure, I am open to upgrading, if it solves the issue. > > > > I would actually nee

Re: [Dovecot] Quota based on LDAP group

2013-06-24 Thread Timo Sirainen
On 25.6.2013, at 0.05, Pavel Herrmann wrote: >> Sounds like you need to do two LDAP lookups and merge them. That requires >> Dovecot v2.2. > > Sure, I am open to upgrading, if it solves the issue. > > I would actually need more than 2 requests, as AD supports recursive groups > (a > group bei

Re: [Dovecot] Quota based on LDAP group

2013-06-24 Thread Pavel Herrmann
On Monday 24 of June 2013 23:01:54 Timo Sirainen wrote: > On 24.6.2013, at 16.35, Pavel Herrmann wrote: > > I have a setup where my dovecot (2.0, if that makes a difference) > > authenticates against an LDAP directory. In my scenario, I have two types > > of users, lets call them "normal" and "pri

Re: [Dovecot] Quota based on LDAP group

2013-06-24 Thread Timo Sirainen
On 24.6.2013, at 16.35, Pavel Herrmann wrote: > I have a setup where my dovecot (2.0, if that makes a difference) > authenticates > against an LDAP directory. In my scenario, I have two types of users, lets > call them "normal" and "privileged". What I need is for the normal user to > have a

Re: [Dovecot] dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument

2013-06-24 Thread Ben Johnson
aster@$DOMAIN > Subject: Email quota warning - mailbox over $PERCENT% full > [...] > - > > When the script is triggered, here's what appears in the log: > > ----- > Jun 24 11:16:53 host dovecot: quota-warn

[Dovecot] dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument

2013-06-24 Thread Ben Johnson
's what appears in the log: ----- Jun 24 11:16:53 host dovecot: quota-warning: Error: lda: Fatal: Unknown argument: plugin/quota=dict:user::noenforcing:file:/var/vmail/%d/%n/.quotausage Jun 24 11:16:53 host dovecot: master: Error: serv

[Dovecot] Quota based on LDAP group

2013-06-24 Thread Pavel Herrmann
Hi I have a setup where my dovecot (2.0, if that makes a difference) authenticates against an LDAP directory. In my scenario, I have two types of users, lets call them "normal" and "privileged". What I need is for the normal user to have a fixed quota, but for the priviledged to have none. (The

Re: [Dovecot] quota-status not working in distributed environment

2013-06-16 Thread Timo Sirainen
On 14.6.2013, at 9.15, Benoit Panizzon wrote: > Is there a way to get quota-status to also use the proxy feature to request > the quota information from the correct machine? Looks like this is a missing feature. I first thought quota-status would go through doveadm protocol, which would make t

Re: [Dovecot] quota-status not working in distributed environment

2013-06-14 Thread Ben Morrow
At 8AM +0200 on 14/06/13 you (Benoit Panizzon) wrote: > > It's quite simple (compared with sendmail milter). I will directly > connect to the policy service on the correct machine from wihtin the > milter. The milter has to do a database query anyway so I get the > mailbox hostname in the same que

Re: [Dovecot] quota-status not working in distributed environment

2013-06-13 Thread Benoit Panizzon
Hi Ben thank you for your reply. > The quota-status protocol is just the ordinary Postfix policy delegation > protocol, documented in Postfix's SMTPD_POLICY_README. I would have > thought that if you give 'service quota-status' an inet_listener you > could have the Postfix policy check the quota

Re: [Dovecot] quota-status not working in distributed environment

2013-06-13 Thread Ben Morrow
At 12PM +0200 on 13/06/13 you (Benoit Panizzon) wrote: > > Or is the postfix policy daemon call to the quota-status socket documented > somewhere (it must be, but where?) so we could implement it from within the > Milter? (we use the sendmail Milter API from postfix to filter spam and > viruses

[Dovecot] quota-status not working in distributed environment

2013-06-13 Thread Benoit Panizzon
Hello List Quick overview of our set-up: Postfix / Dovecot (2.2.2.1) / MySQL Cluster on (at the moment) three Servers to create a HA environment where you could easily add additional servers as the demand or load grows. Circular dovecot replication is used so each server uses another one as r

Re: [Dovecot] Quota not working with dict proxy

2013-05-16 Thread Chris Richards
On Wed, May 15, 2013 9:15 pm, Daniel Parthey wrote: > map { > pattern = priv/quota/storage # dictionary for storage bytes > table = quota # table where to write storage count > username_field = username # username of whom storage should be > counted > val

Re: [Dovecot] quota with imapc

2013-05-16 Thread pvsuja
Ok... Thanks for the response. Waiting to see it soon :) -- View this message in context: http://dovecot.2317879.n4.nabble.com/quota-with-imapc-tp42280p42285.html Sent from the Dovecot mailing list archive at Nabble.com.

Re: [Dovecot] quota with imapc

2013-05-16 Thread Timo Sirainen
On 16.5.2013, at 13.31, pvsuja wrote: > I have set up my mail system with a mail gateway connecting to mail server > using imapc. > Now I need my web mail client to show up the quota info. > I enabled quota plugins in dovecot.conf. > The problem is since all mails reside in the server, the web ma

[Dovecot] quota with imapc

2013-05-16 Thread pvsuja
Dear dovecot team, I have set up my mail system with a mail gateway connecting to mail server using imapc. Now I need my web mail client to show up the quota info. I enabled quota plugins in dovecot.conf. The problem is since all mails reside in the server, the web mail which is in mail gateway a

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Daniel Parthey
Chris Richards wrote: > Is there any documentation that goes into more detail regarding the 'map' > settings, what they mean, etc., of which you are aware? > hoping to avoid digging through the code just to satisfy my curiosity. I couldn't find much in the docs: http://wiki.dovecot.org/Quota/Dict

Re: [Dovecot] Quota not working with dict proxy

2013-05-15 Thread Chris Richards
> Are you using the same SQL table "email" for user lookup > and quota/storage accounting? > > Try to use two different tables for user and quota database, because the > quota > accounting might have deleted an entry from the "user" table while it only > tried to delete a row from the "quota" table

Re: [Dovecot] quota-related crash for doveadm dsync operation

2013-05-15 Thread Timo Sirainen
On 29.4.2013, at 10.43, Emmanuel Dreyfus wrote: > I understand the crash below is caused by filesystem quota. I just report > it because perhaps it could have a more graceful failure. > > > Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: > Saving failed: Not enough dis

Re: [Dovecot] quota and dict

2013-05-15 Thread Timo Sirainen
On 3.5.2013, at 8.04, Jeff Gustafson wrote: > Shouldn't I be able to use a dictionary > proxy to attach any custom program to a quota dict socket? > > plugin { > quota = dict:User quota::proxy:/tmp/test-socket > } This tells quota plugin to connect to /tmp/test-socket and talk dict protocol t

Re: [Dovecot] Quota not working with dict proxy

2013-05-13 Thread Chris Richards
On Mon, May 13, 2013 5:55 pm, Daniel Parthey wrote: > Are you using the same SQL table "email" for user lookup > and quota/storage accounting? > > Try to use two different tables for user and quota database, because the > quota > accounting might have deleted an entry from the "user" table while it

Re: [Dovecot] Quota not working with dict proxy

2013-05-13 Thread Daniel Parthey
Chris Richards wrote: > Attempting to recalc quota on one account using command: > "doveadm -f tab quota recalc -u user@domain" > returns with nothing, and when I repeat 'quota get' command, it says: > doveadm(user@domain): Fatal: User doesn't exist > > Indeed, looking in the database shows the ac

Re: [Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
On Sun, May 12, 2013 12:24 pm, Chris Richards wrote: > Hello all, > I'm sure this has been covered somewhere before, but my googlefu is not up > to the challenge. More info; this is the debug output from the doveadm command: doveadm -Df tab quota recalc -u 'user@domain' doveadm(root): Debug: L

[Dovecot] Quota not working with dict proxy

2013-05-12 Thread Chris Richards
_listener auth-userdb { group = dovecot mode = 0666 user = dovecot } user = $default_internal_user } service dict { unix_listener dict { mode = 0600 user = vmail } } service lmtp { unix_listener /var/spool/postfix/private/dovecot-lmtp { group = postfix

[Dovecot] quota and dict

2013-05-02 Thread Jeff Gustafson
I have a question about using dict and quotas. I want dovecot to send quota queries to a custom dict server over a socket. I'm doing this because I can't do group quotas based on domain since a customer can have each of their users associated with different domains under a single account. I

[Dovecot] quota-related crash for doveadm dsync operation

2013-04-29 Thread Emmanuel Dreyfus
Hi I understand the crash below is caused by filesystem quota. I just report it because perhaps it could have a more graceful failure. Apr 29 09:39:17 danceny dovecot: dsync-local(jdoe): Error: Mailbox Sent: Saving failed: Not enough disk space Apr 29 09:39:17 danceny syslogd[165]: last message

Re: [Dovecot] [Dovecot-de] Dovecot Quota via policy service abfragen

2013-04-07 Thread Andreas Meyer
Ralf Hildebrandt wrote: > * Andreas Meyer : > > > Habe ich jetzt neben quota_grace = 10%% auch rausgenommen. > > Gut. > > > Apr 7 19:38:35 delta postfix/smtpd[23037]: connect from > > p54B32BC9.dip.t-dialin.net[84.179.43.201] > > Apr 7 19:38:36 delta postfix/smtpd[23037]: setting up TLS co

Re: [Dovecot] [Dovecot-de] Dovecot Quota via policy service abfragen

2013-04-07 Thread Andreas Meyer
Hallo Waffenmeister! Ralf Hildebrandt wrote: > > Apr 7 14:07:52 delta postfix/qmgr[19078]: 1D8921B31260: > > from=, size=1492149, nrcpt=1 (queue active) > > Apr 7 14:07:53 delta postfix/pipe[19091]: 1D8921B31260: > > to=, relay=dovecot, delay=2542, delays=2542/0.01/0/0.29, > > dsn=4.3.0, st

Re: [Dovecot] Quota Problems with LMTP in HG 62a930eb22b5

2013-02-18 Thread Thomas Leuxner
* Timo Sirainen 2013.02.18 14:18: > > > ==> /var/log/dovecot/dovecot.log <== > > > Feb 18 09:47:32 spectre dovecot: lmtp(14340): Connect from local > > > Feb 18 09:47:32 spectre dovecot: lmtp(14340, t...@leuxner.net): Error: > > > mkdir_parents(/var/vmail/domains/leuxner.net/tlx/mdbox) failed: F

Re: [Dovecot] Quota Problems with LMTP in HG 62a930eb22b5

2013-02-18 Thread Timo Sirainen
On Mon, 2013-02-18 at 13:24 +0100, Thomas Leuxner wrote: > * Thomas Leuxner 2013.02.18 09:58: > > > Since updating to the latest HG these errors occur. Nothing else changed in > > the config: > > > > $ dovecot --version > > 2.2.beta1 (62a930eb22b5) > > > > ==> /var/log/dovecot/dovecot.log <==

Re: [Dovecot] Quota Problems with LMTP in HG 62a930eb22b5

2013-02-18 Thread Thomas Leuxner
* Thomas Leuxner 2013.02.18 09:58: > Since updating to the latest HG these errors occur. Nothing else changed in > the config: > > $ dovecot --version > 2.2.beta1 (62a930eb22b5) > > ==> /var/log/dovecot/dovecot.log <== > Feb 18 09:47:32 spectre dovecot: lmtp(14340): Connect from local > Feb 18

[Dovecot] Quota Problems with LMTP in HG 62a930eb22b5

2013-02-18 Thread Thomas Leuxner
swd driver = passwd-file } plugin { acl = vfile:/var/vmail/conf.d/%d/acls:cache_secs=300 mail_log_events = expunge mailbox_delete quota = dict:user::file:%h/mdbox/dovecot-quota quota_rule = *:storage=1GB quota_rule2 = Trash:storage=+10%% sieve = ~/.dovecot.sieve sieve_dir = ~/sieve si

  1   2   3   4   5   6   7   8   9   >