geraldoquites
(usa Suse)
Enviado em 23/01/2011 - 21:13h
Estou tentando fazer meu postfix enxergar os usuários pelo bd do mysql, mas não estou conseguindo. Quando rodo o telnet 0 110 ele continua solicitando os usuários nativos do linux e não os do mysql. O que pode estar acontecendo?
Aqui esta meu main.cf e agradeço qualquer ajuda.
alias_maps = hash:/etc/aliases
always_bcc = pegatudo
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
canonical_maps = hash:/etc/postfix/canonical
command_directory = /usr/sbin
config_directory = /etc/postfix
daemon_directory = /usr/lib/postfix
data_directory = /var/lib/postfix
debug_peer_level = 2
defer_transports =
delay_warning_time = 1h
disable_dns_lookups = no
disable_mime_output_conversion = no
home_mailbox = Maildir/
html_directory = /usr/share/doc/packages/postfix-doc/html
inet_protocols = all
mail_spool_directory = /home/postfix
mailbox_command =
mailbox_size_limit = 0
mailbox_transport =
mailq_path = /usr/bin/mailq
manpage_directory = /usr/share/man
masquerade_classes = envelope_sender, header_sender, header_recipient
masquerade_domains =
masquerade_exceptions = root
message_size_limit = 0
message_strip_characters = {TTEXTO}
mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain,www.$mydomain, meudominio.com.br
mydomain = meudominio.com.br
myhostname = mail.meudomonio.com.br
mynetworks = 127.0.0.0/8
myorigin = $mydomain
newaliases_path = /usr/bin/newaliases
readme_directory = /usr/share/doc/packages/postfix-doc/README_FILES
relay_domains = $mydestination, hash:/etc/postfix/relay
relayhost =
relocated_maps = hash:/etc/postfix/relocated
sample_directory = /usr/share/doc/packages/postfix-doc/samples
sender_canonical_maps = hash:/etc/postfix/sender_canonical
sendmail_path = /usr/sbin/sendmail
setgid_group = maildrop
smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks, check_relay_domains
smtpd_sasl_auth_enable = yes
smtpd_sasl_local_domain = $myhostname
smtpd_sasl_security_options = noanonymous
strict_8bitmime = no
strict_rfc821_envelopes = no
transport_maps = hash:/etc/postfix/transport
unknown_local_recipient_reject_code = 550
virtual_alias_domains = $virtual_alias_maps
virtual_alias_maps = mysql:/etc/postfix/virtual_redirecionamentos.cf mysql:/etc/postfix/virtual_mail2mail.cf
virtual_gid_maps = static:8500
virtual_mailbox_base = /home/postfix
virtual_mailbox_domains = mysql:/etc/postfix/virtual_dominios.cf
virtual_mailbox_maps = mysql:/etc/postfix/virtual_mailboxes.cf
virtual_uid_maps = static:8500