Caros,
Apliquei o patch VDA em meu postfix, esse patch é para fazer o
gerenciamento de quota dos usuários do servidor de email através do
LDAP. Esta tudo compilado e instalado sem problemas, mas o gerenciamento
de quota nao esta funcionando. Quando o usuários estoura o tamnaho de
sua caixa postal, ele continua recebendo mensagues sem problemas, baixo
segue minha configuração de quota dentro do meu postfix.
# See /usr/share/postfix/main.cf.dist for a commented, more complete
version
smtpd_banner = $myhostname ESMTP $mail_name
biff = no
alias_maps = hash:/etc/aliases
local_recipient_maps = ldap:ldaprelay
append_dot_mydomain = no
myhostname = mail.DOMINIO.eti.br
alias_database = hash:/etc/aliases
myorigin = /etc/mailname
relayhost =
mynetworks = 127.0.0.0/8, 192.168.0.0/24
#mailbox_command = procmail -a "$EXTENSION"
mailbox_command = /usr/bin/maildrop -w 85
mailbox_command_maps = ldap:accounts
mailbox_transport = virtual
#####smtp_destination_concurrency_limit = 50
#smtpd_client_connection_count_limit = 10
#mailbox_size_limit = 0
#message_size_limit = 204800000
recipient_delimiter = +
# Mapeia as contas de e-mail
virtual_maps = ldap:accountsmap
# Configuracao de entrega
local_transport = virtual
virtual_mailbox_base = /
virtual_mailbox_maps = ldap:ldapvirtual
virtual_uid_maps = static:5000
virtual_gid_maps = static:5000
virtual_minimum_uid = 500
virtual_mailbox_limit = 0
virtual_mailbox_limit_maps = ldap:ldapquota
ldapvirtual_server_host = 192.168.0.30
ldapvirtual_server_port = 389
######ldapalias_version = 3
ldapvirtual_bind = yes
ldapvirtual_bind_dn = cn=admin,dc=DOMINIO,dc=eti,dc=br
######### SENHA DO LDAP (123456)
ldapvirtual_bind_pw = 123456
ldapvirtual_search_base = dc=DOMINIO,dc=DOMINIO,dc=com,dc=br
ldapvirtual_query_filter =
(&(|(mail=%s)(mailAlternateAddress=%s))(|(AccountStatus=active)(accountStatus=shared)))
ldapvirtual_result_attribute = mailMessageStore
# Configuracao de quota
ldapquota_timeout = 10
ldapquota_server_host = 192.168.0.30
ldapquota_search_base = dc=DOMINIO,dc=DOMINIO,dc=com,dc=br
ldapqouta_server_port = 389
ldapqouta_domain = $mydestination
ldapquota_query_filter = (&(mail=%s)(AccountStatus=active))
ldapquota_result_attribute = mailQuotaSize
ldapquota_bind = yes
ldapquota_bind_dn = cn=admin,dc=DOMINIO,dc=com,dc=br
######### SENHA DO LDAP (123456)
ldapvirtual_bind_pw = 123456
#### PARAMETROS DE QUOTA
virtual_maildir_extended=yes
virtual_mailbox_limit_override=yes
virtual_create_maildirsize = yes
virtual_overquota_bounce = yes
virtual_maildir_limit_message="Sorry, the user's maildir has overdrawn
his diskspace quota, please try again later."
ldapquota_version = 3
Algume pode me ajudar.
Att.
--
Leandro Moreira
Linux Networking
Telefone: +55 (32) 9197-7909
E-mail/MSN: [EMAIL PROTECTED]
www.leandromoreira.eti.br
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]