[Dovecot] my quota warning script not getting executed2

2013-11-07 Thread ihab
Why is my quota warning script not getting executed? :( dovecot version is
1.2.15
this is part of dovecot.conf 
protocol imap {
listen = 127.0.0.1:143
#ji1 quota config
mail_plugins = quota
}
quota = maildir:User quota
quota_rule = *:storage=2M
quota_exceeded_message=Quota exceeded please go http://www.go.com .

quota_warning = storage=99%% /usr/local/bin/quota-warning.sh 99 %u
quota_warning2 = storage=98%% /usr/local/bin/quota-warning.sh 98 %u
quota_warning3 = storage=97%% /usr/local/bin/quota-warning.sh 97 %u

and this is quota-warning.sh

FROM="postmasterEmail"

msg="From: $FROM
To: TEST EMAIL
Subject: Your email quota is 10% full
Your mailbox is now 10% full."

echo -e "$msg" | /usr/sbin/sendmail -f $FROM "TEST EMAIL "
exit 0



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/my-quota-warning-script-not-getting-executed2-tp45196.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] how to make quota per user ??

2013-11-12 Thread ihab
I use dovecot version 1.2.15 and i put quota for all users , now i want to
give more size for some emails , i already added the  quota to user database
, and i added the queries from http://wiki.dovecot.org/Quota/1.1
MySQL:
user_query = select uid, gid, home, \
  concat('*:bytes=', quota_bytes) as quota_rule \
  from users where userid = '%u'

# MySQL with userdb prefetch: Remember to prefix quota_rule with userdb_
# (just like all other userdb extra fields):
password_query = select userid as user, password, \
  uid as userdb_uid, gid as userdb_gid, \
  concat('*:bytes=', quota_bytes) as userdb_quota_rule \
  from users where userid = '%u'

but it is not work 
what i have to change and in which  files please ?



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/how-to-make-quota-per-user-tp45335.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] my quota warning script not getting executed2

2013-11-12 Thread ihab
i solved the problem 
i was need to make the dovecot enable to  debug the code 
i put debugger  in warning script file and i found this error  
Thanks for alll ;)



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/my-quota-warning-script-not-getting-executed2-tp45196p45336.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] why the system give the user more size than quota

2013-11-18 Thread ihab
Hello 
i put quota rules in the dovecot 1.2.15 
the quota is per user 
and the system read from data base but the system give to user size more
than quota
any help please 



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/why-the-system-give-the-user-more-size-than-quota-tp45448.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] how can i change the content of rejected message

2013-11-19 Thread ihab
i use dovecot 1.2.15 and set quota in the system and when the quota full for
one user1 and other user2  sent a email to this user1 a rejected email will
sent to user2 

i want to change the content and the title of this email  ??? 


Thanks in advance



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/how-can-i-change-the-content-of-rejected-message-tp45460.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] how can i change the content of rejected message

2013-11-20 Thread ihab
thanks 
but i want to change the language of it i don't want it in english 



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/how-can-i-change-the-content-of-rejected-message-tp45460p45497.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] it's possible to send email from the system after the mailbox quota is full

2014-01-10 Thread ihab
it's possible to send email from the system after the mailbox quota is full
i don't want warning mail i want something else because when i use warning
on 100% or 99% or less some times the last message be too large (so if just
5% is free from quota size and the last msg size is 6% from quota ) after
that the mailbox will not receive this message or warning message .





--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/it-s-possible-to-send-email-from-the-system-after-the-mailbox-quota-is-full-tp46275.html
Sent from the Dovecot mailing list archive at Nabble.com.


Re: [Dovecot] it's possible to send email from the system after the mailbox quota is full

2014-01-13 Thread ihab
Thanks Daniel 
My dovecot version is 1.2.** any other solution .

best regards
Ihab   



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/it-s-possible-to-send-email-from-the-system-after-the-mailbox-quota-is-full-tp46275p46292.html
Sent from the Dovecot mailing list archive at Nabble.com.


[Dovecot] check the user number

2014-03-31 Thread ihab
There is a way to check the number of user using the system at anytime 



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/check-the-user-number-tp47327.html
Sent from the Dovecot mailing list archive at Nabble.com.


number of users

2014-07-02 Thread ihab
Hello,
i using roundcube with dovecot, i have a question if there is possible to
know the number of users that  using the mail system (in other word  the
online users) .
thanks,
best regards,
ihab :)



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/number-of-users-tp48701.html
Sent from the Dovecot mailing list archive at Nabble.com.


how many connection by pop3 ?

2014-07-14 Thread ihab
how many connection by pop3 ?

Thanks,
Best regrades,
 



--
View this message in context: 
http://dovecot.2317879.n4.nabble.com/how-many-connection-by-pop3-tp48876.html
Sent from the Dovecot mailing list archive at Nabble.com.