Displaying 20 results from an estimated 20000 matches similar to: "quota-warning example script from wiki2"
2010 Jul 23
1
quota warning error with dict
Version: Dovecot 2.0rc3
Hi,
I try to get the quota-warning.sh script working with quota/dict but I
get some errors.
The script looks like:
#!/bin/sh
PERCENT=$1
USER=$2
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:user::proxy::quota quota:noenforcing"
From: quota at dlutt.de
Subject: quota warning
Your mailbox is now $PERCENT% full.
EOF
In 90-quota
2010 Oct 06
3
2.0.5: quota warning failing
>From the log:
Oct 6 09:54:10 postamt dovecot: imap(hkunte): Error: quota: connect(/usr/local/scripts/quota-warning2) failed: Permission denied
>From the config:
quota = maildir
quota_rule = INBOX.Trash:storage=+2048M
quota_warning = storage=99%% /usr/local/scripts/quota-warning2 99 %u
quota_warning2 = storage=95%% /usr/local/scripts/quota-warning2 95 %u
quota_warning3 = storage=90%%
2012 Apr 09
2
Problem with quota warning
Hi again,
my test environment is working now and finally I tried to implement my
quota warning but it is not working. LDA says the mailbox is full even
it is not (only 81% and that is why the quota warning is executed).
Further I used :noenforcing in my script.
Apr 9 15:08:21 backend01 dovecot: lda(test at k-team.info): Debug:
Namespace INBOX.: Using permissions from
2013 Jun 24
1
dovecot-lda - dovecot: quota-warning: Error: lda: Fatal: Unknown argument
Hi, everyone,
I'm attempting to configure automated quota warnings for users and have
hit a snag.
The script I'm using is as follows:
---------------------------------------------------------------------
#!/bin/sh
PERCENT=$1
MAILBOX=$2
DOMAIN=$3
cat << EOF | /usr/lib/dovecot/dovecot-lda -d $USER -o
"plugin/quota=dict:user::file:/var/vmail/%d/%n/.quotausage"
From:
2012 Feb 17
2
Quota warnings and LMTP
Hello,
I have dovecot 2.0 configured with virtual users in MySQL, SMTP is
handled by exim which uses dovecot LMTP transport.
I'd like to test quota warning messages, but in wiki2 there is only
an example for delivering it with dovecot-lda. I tried several ways
of using lmtp binary, but without success.
How to replace this:
cat << EOF | /usr/local/libexec/dovecot/dovecot-lda -d $USER
2013 May 03
7
Dovecot Postfix Quota Policy Service
Hallo zusammen,
?ber den Policy Service von Dovecot zum Abfragen der User Quotas wurde
ja schon diskutiert - auch gibt es eine gute Anleitung zum Einrichten,
nur leider bekomme ich den Policy Server nicht korrekt konfiguriert.
Folgende Fehler werden protokolliert:
May 3 22:00:13 mail postfix/smtpd[17463]: warning: access table unix:private/quota-status entry has empty value
May 3 22:00:42
2016 Oct 10
2
problem with quota warning script execution, error 75
Hi,
Im quite new to dovecot and im trying to run quota warning script with no success. Using "quota = count:User quota" and this script:
________________________
#!/bin/sh
PERCENT=$1
USER=$2
cat << EOF | /usr/libexec/dovecot/dovecot-lda -d $USER -o "plugin/quota=count:User quota:noenforcing"
From: support at company.com
To: $USER
Subject: Quota alert
Quota
2013 Jun 24
1
Warning recipient when message delivery fails due to over-quota
I'm working to configure automated quota notifications in Dovecot and am
wondering if it is possible to send a warning message to a user when
message delivery fails because the user is over-quota.
I already have the following directives configured:
quota_warning = storage=95%% quota-warning 95 %u %d
quota_warning2 = storage=80%% quota-warning 80 %u %d
quota_warning3 = -storage=100%%
2016 Oct 10
2
problem with quota warning script execution, error 75
Like this?
[root at server quota]# ./quota-warning.sh 85 existing_mailbox at domain.com ; echo $
$
Got message succesfully delivered.
----- Mensaje original -----
De: "Aki Tuomi" <aki.tuomi at dovecot.fi>
Para: dovecot at dovecot.org
Enviados: Lunes, 10 de Octubre 2016 11:14:01
Asunto: Re: problem with quota warning script execution, error 75
On 10.10.2016 11:49,
2017 May 09
2
No doveadm-save in wiki2?
Is ?doveadm save? an undocumented feature? Or, just well-hidden?
https://wiki2.dovecot.org/Tools/Doveadm <https://wiki2.dovecot.org/Tools/Doveadm>
Kevin
2010 Jul 17
2
mdbox expunge purge question
Hi,
I'm testing Dovecot 2.0rc2 with mdbox mail format and I'm not sure
what this exactly means:
http://wiki2.dovecot.org/MailboxFormat/dbox
Quote from wiki page:
=====
Expunging a message only decreases the message's refcount. The space
is later freed in "purge" step. This may be done automatically within
the session or later in a nightly cronjob when there's less
2016 Oct 10
2
problem with quota warning script execution, error 75
Output is 0 and mail is delivered.
[root at server quota]# ./quota-warning.sh 85 existing_mailbox at domain.com ; echo $?
0
----- Mensaje original -----
De: "Aki Tuomi" <aki.tuomi at dovecot.fi>
Para: dovecot at dovecot.org
Enviados: Lunes, 10 de Octubre 2016 11:37:26
Asunto: Re: problem with quota warning script execution, error 75
No,
./quota-warning.sh 85
2020 May 08
1
dovecot-lda quota warning email add BCC
Dear dovecot users,
I have setup doveot with quota warning.
Once a quota wearning is reached a shell script is called which then
sends an email to the user via dovecot LDA
this is the command in the shell script:
/usr/lib/dovecot/dovecot-lda -d $USER -o "plugin/quota=dict:User
quota::noenforcing:proxy::quota"
I already have looked in the docs: https://wiki.dovecot.org/LDA
but
2017 May 10
2
No doveadm-save in wiki2?
> On May 10, 2017, at 9:50 AM, Sami Ketola <sami.ketola at dovecot.fi> wrote:
>
>
>> On 9 May 2017, at 19.26, KT Walrus <kevin at my.walr.us> wrote:
>>
>> Is ?doveadm save? an undocumented feature? Or, just well-hidden?
>>
>> https://wiki2.dovecot.org/Tools/Doveadm <https://wiki2.dovecot.org/Tools/Doveadm>
>
> That wikipage is
2011 Jul 18
1
quota-warning.sh not working (lda problem?)
Hi,
I setup a new mailserver with dovecot 2.0.12. Everything is working
fine (including quota) - except of sending quota warning mails.
When running
/usr/local/bin/quota-warning.sh 95 user at domain.de
manually as root or user vmail, the mail is delivered.
content of /usr/local/bin/quota-warning.sh
#!/bin/sh
PERCENT=$1
USER=$2
logger -p mail.info "$PERCENT% Quota-warning sent to
2011 Sep 06
3
Quota fs (ignore mount)
Hi,
I set "quota: fs:INBOX:noenforcing:mount=/var/spool/mail", but receive: "fs quota add storage dir = /home/pit/mail"...
Why ?
In fstab:
/dev/mapper/mpath1p1 /var/spool/mail ext2 usrquota 0 0
In dovecot.log:
Sep 06 15:02:00 pop3-login: Info: Login: user=<pit>, method=PLAIN, rip=192.168.3.10, lip=192.168.6.3, TLS
Sep 06 15:02:00 POP3(pit): Info: Loading modules
2011 Sep 13
1
Quota fs (don't start script quota-warning.sh)
Hi,
# doveadm -Dv quota get -u pit
doveadm(pit): Debug: auth input: pit system_groups_user=pit uid=500 gid=500 home=/home/pit
doveadm(pit): Debug: Effective uid=500, gid=500, home=/home/pit
doveadm(pit): Debug: Quota root: name=INBOX backend=fs args=mount=/var/spool/mail
doveadm(pit): Debug: Quota rule: root=INBOX mailbox=* bytes=19922944 messages=0
doveadm(pit): Debug: Quota warning:
2008 Jul 10
3
fs quota check with server does not support rquotad
Hi,
Last time, I have got no reply, hope this time is better.
OS: Solaris 10
Dovecot version : 1.1.1
file system of /var/mail : NFS from Solaris
file system of /home : other NFS server that not support rquotad.
Here is my setting that works:
----------------------------
plugin {
quota = fs:INBOX:mount=/var/mail
quota2 = fs:home:noenforcing:mount=/home/h1
}
The above settings works. Dovecot
2012 Feb 28
1
quota warning script not working after upgrade to 2.1.1
With 2.0.18 I was using a quota warning script like this:
plugin {
...
# Quota
quota = maildir
quota_rule = INBOX.Trash:storage=+2048M
quota_warning = storage=99%% quota-warning 99 %u
quota_warning2 = storage=95%% quota-warning 95 %u
quota_warning3 = storage=90%% quota-warning 90 %u
quota_warning4 = storage=85%% quota-warning 85 %u
}
# der schickt die Quota warnmails
service
2009 Oct 20
2
second fs quota root crashes
Hallo.
In our dovecot 1.2.6 server running under Solaris 9 I would like to set up a
second quota root because the mail folders are in the users home directories and
the inboxes of all users are in /var/mail. As soon as I add
quota2 = fs:INBOX:noenforcing:mount=/var/mail
the imap client crashes repeatedly as soon as the user tries to open a mail
folder.
Thanks for any help.
Dovecot Logfile: