Roberto Mascarenhas Braga wrote: > >I've made setup fine and create my first mailing list, called >"mailman". So, as my domain is cdt.unb.br, the list address is >[email protected]. The machine that hosts the mailserver is called >mailcdt. So its hostname is mailcdt.cdt.unb.br. > >If I send a message to [email protected] - the desired email to the >testing list - I cannot receive the message. But if I send the email >to [email protected] (undesired address) I got the message. > >Here is my config: >___________________________________________________________________________________ >*** /etc/mailman/mm_cfg.py *** >___________________________________________________________________________________ >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['cdt.unb.br'] > >from socket import * >try: > fqdn = getfqdn() >except: > fqdn = 'mm_cfg_has_unknown_host_domains' > >DEFAULT_URL_HOST = "mailcdt.cdt.unb.br" >DEFAULT_EMAIL_HOST = "cdt.unb.br" >VIRTUAL_HOSTS.clear() >MTA = 'Postfix' >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > >___________________________________________________________________________________ >*** /etc/postfix/main.cf >___________________________________________________________________________________ >unknown_local_recipient_reject_code = 550 >relay_domains = > >virtual_maps = hash:/etc/postfix/virtual >alias_maps = hash:/etc/aliases, hash:/etc/mailman/aliases >alias_database = hash:/etc/aliases > >home_mailbox = Maildir/ > >debug_peer_level = 2 >debugger_command = > PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin > xxgdb $daemon_directory/$process_name $process_id & sleep 5 >sendmail_path = /usr/sbin/sendmail.postfix >newaliases_path = /usr/bin/newaliases.postfix >mailq_path = /usr/bin/mailq.postfix >setgid_group = postdrop >html_directory = no >manpage_directory = /usr/share/man >sample_directory = /usr/share/doc/postfix-2.3.3/samples >readme_directory = /usr/share/doc/postfix-2.3.3/README_FILE > >virtual_mailbox_domains = $mydomain >virtual_mailbox_base = /home/vmail >virtual_mailbox_maps = ldap:/etc/postfix/ldap-users.cf >virtual_uid_maps = static:500 >virtual_gid_maps = static:500 > >message_size_limit = 30720000 > >mime_header_checks = regexp:/etc/postfix/mime_header_checks > >header_checks = regexp:/etc/postfix/header_checks > >virtual_alias_maps = hash:/etc/mailman/virtual-mailman >recipient_delimiter = +
Does /etc/mailman/virtual-mailman exist and have entries like [email protected] mailman [email protected] mailman-admin ... If so, you may need virtual_alias_domains = cdt.unb.br in main.cf. If not, check the host_name of the 'mailman' list bin/dumpdb lists/mailman/config.pck | grep host_name If the host_name is not cdt.unb.br, run fix_url bin/withlist -l -r fix_url mailman Then, whether or not you needed fix_url, run bin/genaliases -- Mark Sapiro <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
