[FUG-BR] Problema com Mailman + Postfix
Giancarlo Rubio
gianrubio em gmail.com
Sexta Abril 13 08:50:10 BRT 2007
Estou tentando configurar o mailman com domínio virtual pro projeto
openbsd-br, no entanto estou apanhando apenas num último ponto, que é
na hora de enviar o
e-mail.
Minha lista (virtual domain)
openbsd em openbsd-br.org
Meu dominio real
pontonetsistemas.com.br
ao enviar esse e-mail o servidor me retorna com o erro abaixo
Apr 13 08:29:27 fileserver postfix/qmgr[53878]: E38C71CCD1:
from=<gianrubio em gmail.com>, size=1722, nrcpt=1 (queue active)
Apr 13 08:29:27 fileserver postfix/virtual[68735]: E38C71CCD1:
to=<openbsd em pontonetsistemas.com.br>,
orig_to=<openbsd em openbsd-br.org>, relay=virtual, delay=0.49,
delays=0.47/0.01/0/0.01, dsn=5.1.1, status=bounced (unknown user:
"openbsd em pontonetsistemas.com.br")
- Mostrar texto das mensagens anteriores -
O que está acontecendo é que o mailman está assumindo o domínio real,
só que na correto é o dominio virtual, já pesquisei em vários fórum e
testei várias soluções, o que chegou mais perto foi no faq do mailman
http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq06.022.htp
meu main.cf
##### INICIO #############
queue_directory = /var/spool/postfix
command_directory = /usr/local/sbin
daemon_directory = /usr/local/libexec/postfix
mail_owner = postfix
default_privs = nobody
default_transport = smtp
alias_maps = hash:/usr/local/etc/postfix/aliases,hash:/usr/local/mailman/data/aliases
alias_database = hash:/usr/local/etc/postfix/aliases
readme_directory = no
sample_directory = /usr/local/etc/postfix
sendmail_path = /usr/local/sbin/sendmail
setgid_group = maildrop
manpage_directory = /usr/local/man
newaliases_path = /usr/local/bin/newaliases
mailq_path = /usr/local/bin/mailq
smtpd_banner = $myhostname ESMTP "Version no disponible"
disable_vrfy_command = yes
myhostname=pontonetsistemas.com.br
mydomain=pontonetsistemas.com.br
myorigin= $mydomain
mydestination= $mydomain, $transport_maps
virtual_alias_maps =
pgsql:/usr/local/etc/postfix/cnf/virtual_alias_maps.cnf,hash:/usr/local/mailman/data/virtual-mailman
virtual_mailbox_base = /home/postfix
virtual_mailbox_maps = pgsql:/usr/local/etc/postfix/cnf/virtual_mailbox_maps.cnf
virtual_uid_maps = pgsql:/usr/local/etc/postfix/cnf/virtual_uid_maps.cnf
virtual_gid_maps = pgsql:/usr/local/etc/postfix/cnf/virtual_gid_maps.cnf
transport_maps =
pgsql:/usr/local/etc/postfix/cnf/transport_maps.cnf,hash:/usr/local/etc/postfix/transport
local_transport = virtual
local_recipient_maps = $virtual_mailbox_maps
virtual_mailbox_limit_inbox = no
virtual_mailbox_limit_maps=
pgsql:/usr/local/etc/postfix/cnf/virtual_mailbox_limit_maps.cnf
virtual_mailbox_limit_override = yes
virtual_maildir_extended = yes
virtual_create_maildirsize = yes
virtual_mailbox_limit = 100000000
virtual_maildir_limit_message = Mensaje a sobrepasado la quota de
disco de esta cuenta
virtual_overquota_bounce = yes
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous
broken_sasl_auth_clients = yes
smtpd_recipient_restrictions = permit_sasl_authenticated,
permit_mynetworks,reject_unauth_destination
html_directory = no
recpient_delimiter = +
unknow_local_recipient_reject_code = 550
mailman_destination_recipient_limit = 1
owner_request_special = no
##### FIM ##################
############ mailman/aliases ############
# STANZA START: openbsd
# CREATED: Thu Apr 12 16:32:41 2007
openbsd: "|/usr/local/mailman/mail/mailman post openbsd"
openbsd-admin: "|/usr/local/mailman/mail/mailman admin openbsd"
openbsd-bounces: "|/usr/local/mailman/mail/mailman bounces openbsd"
openbsd-confirm: "|/usr/local/mailman/mail/mailman confirm openbsd"
openbsd-join: "|/usr/local/mailman/mail/mailman join openbsd"
openbsd-leave: "|/usr/local/mailman/mail/mailman leave openbsd"
openbsd-owner: "|/usr/local/mailman/mail/mailman owner openbsd"
openbsd-request: "|/usr/local/mailman/mail/mailman request openbsd"
openbsd-subscribe: "|/usr/local/mailman/mail/mailman subscribe openbsd"
openbsd-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe openbsd"
# STANZA END: openbsd
#######################################
############### data/virtual-mailman ######################
# STANZA START: openbsd
# CREATED: Thu Apr 12 16:32:41 2007
openbsd em openbsd-br.org openbsd
openbsd-admin em openbsd-br.org openbsd-admin
openbsd-bounces em openbsd-br.org openbsd-bounces
openbsd-confirm em openbsd-br.org openbsd-confirm
openbsd-join em openbsd-br.org openbsd-join
openbsd-leave em openbsd-br.org openbsd-leave
openbsd-owner em openbsd-br.org openbsd-owner
openbsd-request em openbsd-br.org openbsd-request
openbsd-subscribe em openbsd-br.org openbsd-subscribe
openbsd-unsubscribe em openbsd-br.org openbsd-unsubscribe
# STANZA END: openbsd
##############
############mailman/mm_cf.py########
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = ['openbsd-br.org','openbsd-br.org']
add_virtualhost('listas.openbsd-br.org','openbsd-br.org')
###################################
########### mailman/Default.py #############
DEFAULT_EMAIL_HOST = 'openbsd-br.org'
DEFAULT_URL_HOST = 'www.openbsd-br.org'
DEFAULT_URL_PATTERN = 'http://%s/mailman/'
###########################
Att
--
Giancarlo Rubio
Mais detalhes sobre a lista de discussão freebsd