OT: postfix + mysql i quota [AC]

Tomasz Buziak [uho] uho w xhost.one.pl
Nie, 12 Wrz 2004, 11:45:33 CEST


witam,

skonfigurowalem wirtualki na postfixe tak aby obslugiwaly wartosc quoty zapisana
w odpowiedniej tabeli w bazie danych, mimo tego ze wartosc quoty jest utalona,
postfix sie do niej nie odnosi !!!

spotkal sie ktos z takim problemem, moze cos pominolem podczas konfiguracji ?


main.cf:
 [...]
 # Additional for quota support
 virtual_create_maildirsize = yes
 virtual_mailbox_extended = yes
 virtual_mailbox_limit_maps =
mysql:/etc/mail/mysql_virtual_mailbox_limit_maps.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

mysql_virtual_mailbox_limit_maps.cf:
 user = postfix
 password = postfix
 hosts = localhost
 dbname = postfix
 table = mailbox
 select_field = quota
 where_field = username
 #additional_conditions = and active = '1'

/etc/courier-imap/authmysqlrc:
 MYSQL_SERVER            localhost
 MYSQL_SOCKET            /var/lib/mysql/mysql.sock
 MYSQL_USERNAME          postfix
 MYSQL_PASSWORD          postfix
 MYSQL_PORT              0
 MYSQL_OPT               0
 MYSQL_DATABASE          postfix
 MYSQL_USER_TABLE        mailbox
 MYSQL_CRYPT_PWFIELD     password
 MYSQL_QUOTA_FIELD       quota
 MYSQL_UID_FIELD         '62'
 MYSQL_GID_FIELD         '62'
 MYSQL_LOGIN_FIELD       username
 MYSQL_HOME_FIELD        '/home/services/virtual/'
 MYSQL_NAME_FIELD        name
 MYSQL_MAILDIR_FIELD     maildir


--
Tomasz Buziak, pozdrawiam ...
# cd /pub && more beer





Więcej informacji o liście dyskusyjnej pld-users-pl