ispCP - Board - Support
Quota für Mailbox - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Tickets / Roadmap / Timeline (/forum-50.html)
+--- Thread: Quota für Mailbox (/thread-6491.html)

Pages: 1 2 3 4 5


RE: Quota für Mailbox - FISA4 - 04-27-2009 08:22 PM

(04-27-2009 07:15 PM)ephigenie Wrote:  hm why recreate the patches from scratch ?

I think in the end a variable in the /etc/ispcp/ispcp.conf is enough.
IMAP_POP_BACKDEND = courier|dovecot

this setting will be set during setup/ upgrade and this influences how the gui looks like .. Makes sense to me to handle it this way.

that´s what i mean. the switch should definitely NOT be visible.

[german]
Hab mich da wohl etwas blöd ausgedrückt.
[/german]

Greets

FISA4


RE: Quota für Mailbox - FISA4 - 05-05-2009 08:53 AM

What about dovecot as optional replacement for courier?
If it is done, i can finish developement of the quota-patch.

Greetz

FISA4


RE: Quota für Mailbox - alecksievici - 05-27-2009 07:52 PM

i see that you all try to make it possible for users to use dovecot with quota, but that damn quota can't be done for courier?

i've searched the forums and i couldn't find anything about courier+quota (mybe i didn't see it).


RE: Quota für Mailbox - BeNe - 05-27-2009 11:33 PM

No, there is no Quota for Courier!

Greez BeNe


RE: Quota für Mailbox - alecksievici - 05-28-2009 04:02 AM

(05-27-2009 11:33 PM)BeNe Wrote:  No, there is no Quota for Courier!

Greez BeNe

damn shame...
since there's no quota for courier let's try another scenario.
i use dovecot with quota support instead of courier, i make all the required modifications and then i update ispcp; won't the update screw up all the manual configs i've done?


RE: Quota für Mailbox - BeNe - 05-29-2009 06:40 PM

Yes, the update is a problem!
I never tried it with the update-script. I do all by hand.

Greez BeNe


RE: Quota für Mailbox - alecksievici - 05-31-2009 09:01 AM

(05-29-2009 06:40 PM)BeNe Wrote:  Yes, the update is a problem!
I never tried it with the update-script. I do all by hand.

Greez BeNe

well that sucks because not really everyone knows how to make an update by hand, including me, and if by any chance they update their heavely modified installation of ispcp then they'll be pissed and probably will start looking for alternatives Sad

also, i found something interesting: http://www.howtoforge.com/virtual_postfix_mysql_quota_courier and apparently quota for postfix can be done. of course that tutorial is 4 years old so it might be a little out of date.

i'm not a linux expert but if anyone has time maybe they can take a look and maybe tell us some good news like quota for postfix can be done on an ispcp managed server Smile


RE: Quota für Mailbox - BeNe - 05-31-2009 09:57 PM

We know about the update, also about the HowTo you posted here.
Maybe in later Version we give the ability to switch over to dovecot.

Greez BeNe


RE: Quota für Mailbox - alecksievici - 05-31-2009 10:35 PM

(05-31-2009 09:57 PM)BeNe Wrote:  We know about the update, also about the HowTo you posted here.
Maybe in later Version we give the ability to switch over to dovecot.

Greez BeNe

oh well, i'll just have to wait then...
thanks for your replys Smile


RE: Quota für Mailbox - sawettachat - 06-09-2009 12:55 PM

Use this step for quota on courier, postfix and roundcubemail
Code:
Postfix Quota
1.Create postfix mail box size script
    /etc/postfix/mysql_virtual_mailbox_limit_maps.cf
         user=root
         password=rootpassword
         hosts=localhost
         dbname=ispcp
         table=mail_users
          select_field=quota
          where_field=mail_addr
2.modify /etc/postfix/main.cf
# Quota support; activate, if available/used
virtual_create_maildirsize     = yes
virtual_mailbox_extended       = yes
virtual_mailbox_limit_maps     = mysql:/etc/postfix/mysql_virtual_mailbox_limit_maps.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message  = "The user you're trying to reach is over mailbox quota."
virtual_overquota_bounce       = yes
virtual_maildir_extended    = yes
3.Patch postfix
        mkdir /usr/src/postfix
        cd /usr/src/postfix
        apt-get build-dep postfix
        apt-get source postfix
    wget http://vda.sourceforge.net/VDA/postfix-2.5.5-vda-ng.patch.gz
        gunzip postfix-2.5.5-vda-ng.patch.gz
        cd postfix-2.5.5
        patch -p1 < ../postfix-2.5.5-vda-ng.patch
        dpkg-buildpackage
    
        You might see a warning like this at the end of the dpkg-buildpackage command: dpkg-buildpackage: warning: Failed to sign .dsc and .changes file You can ignore this message.

    dpkg -i postfix_2.5.5-xxx.deb
        dpkg -i postfix-mysql_2.5.x-xxx.deb