[Postfixbuch-users] Postfix / Courier softqouta mysql

Maximilian Thoma nospam at thoma.cc
Di Nov 20 12:03:25 CET 2007


Hallo Liste,

ich wollte meine Konfiguration um Quota erweitern und habe folgende
Parameter hinzugefügt:

virtual_mailbox_limit_maps = proxy:mysql:/etc/postfix/mysql-v_quota.cf
virtual_mailbox_limit_override = yes
virtual_maildir_limit_message = Sorry, the user's maildir has overdrawn
his diskspace quota, please try again later.
virtual_overquota_bounce = yes

Leider nimmt er dann immer noch Mails an obwohl er über dem Quota ist.

Die Abfrage ist erfolgreich:
mxadm at server ~$ sudo postmap -q quota at thoma.cc
mysql:/etc/postfix/mysql-v_quota.cf
10240

Ich habe ein wenig im Netz rumgesucht und bin darauf gekommen das man
für die Quota Funktion einen Patch installieren muss.

Hat das jemand von euch schon gemacht?
Ist das ein Problem bei einem laufendem System?
Geht es auch irgendwie ohne den Patch?

Die Hinweise die ich gefunden haben betreffen Debian Sarge.
Ist im Debian Etch dieser Patch schon mit drin?


Howto: http://www.howtoforge.com/virtual_postfix_mysql_quota_courier

>>>> Schnipp >>>>
2 Apply Quota Patch To Postfix

We have to get the Postfix sources, patch it with the quota patch, build
new Postfix .deb packages and install those .deb packages:

apt-get install build-essential dpkg-dev fakeroot debhelper libdb4.2-dev
libgdbm-dev libldap2-dev libpcre3-dev libmysqlclient10-dev libssl-dev
libsasl2-dev postgresql-dev po-debconf dpatch (1 line!)
cd /usr/src
apt-get source postfix
wget http://web.onda.com.br/nadal/postfix/VDA/postfix-2.1.5-trash.patch.gz
gunzip postfix-2.1.5-trash.patch.gz
cd postfix-2.1.5
patch -p1 < ../postfix-2.1.5-trash.patch
dpkg-buildpackage
cd ..
dpkg -i postfix_2.1.5-9_i386.deb
dpkg -i postfix-mysql_2.1.5-9_i386.deb
dpkg -i postfix-tls_2.1.5-9_i386.deb
<<<<< Schnapp <<<<<<<


Danke schon mal im voraus.

Gruß


Maximilian



-- 
                                                     \\|//
                                                     (o o)
--------------------------------------------------ooO-(_)-Ooo---
Maximilian Thoma
PGP: http://mirror.thoma.cc/pgp/0x6AC4976A.asc

Resistance is futile ...
Do not use my spamtrap: spamtrap at thoma.cc - Thanks!      Ooo.
-------------------------------------------------.ooO----(  )---
                                                 (  )    (_/
                                                  \_)



Mehr Informationen über die Mailingliste Postfixbuch-users