Oscar Balladares wrote:
>
>I have a functional email server: a domain name system (bind9), Postfix + 
>courier + virtual users (mysql).
>domain name: uccleon.edu.ni;
>server alias: mailserver;
>host name: uccleon.edu.ni;
>OS: Centos 5.2.


OK


>The email service is working properly, but I had configured mailman with 
>another domain name (ucc.lan), and everything was ok,
>now that I've changed it to "uccleon.edu.ni", mailman is not sending mails to 
>the mailling list users. I send a mail to "modu...@uccleon.edu.ni"
>but it doesn't send that message to the list users. It doesnt even appear in 
>the "List archive"  neither in the "Pending request list".
>The users are not being moderated, so they can send mails in any case.
>
>what is ok:
>It sends the message for the new created list (i.e: modulos), to the admin 
>account.  i.e : "welcome to your new mailing list: Modulos".When a user wants 
>to subscribes, it sends the confirmation email.When a user subscribes, it 
>sends the welcome message.
>When a user wants to unsubscribes, it sends the confirmation email.
>When I type: 
>$: newlist modulos
>it creates a "modu...@uccleon.edu.ni" recipient address, I have that account 
>enabled in mysql and it is working fine as an email account.


It appears that the issue is probably that Postfix is not delivering
the mail to Mailman. If this is not the case, see the FAQ at
<http://wiki.list.org/x/A4E9> for other ideas.



>I'm thinking that if everything else is working as it should, it is possible 
>to be a "http://localhost/mailman/admin/modulos/"; configuration problem, the 
>GUI configuration.


The GUI per se has nothing to do with the flow of mail through Mailman.


>Last time that it worked I followed these simple instructions at 
>http://www.gnu.org/software/mailman/mailman-install/node13.html
>In short, I have to add a "MTA='Postfix'" to the mm_cfg.py file. and then make 
>a refernce to the mailman aliases file in the 
>"virtual_alias_maps=hash:/etc/mailman/aliases"    tag, I guess that worked for 
>me the first time. (I have a bad memory).


When you changed the domain name, did you update mm_cfg.py and run
fix_url per the FAQ at <http://wiki.list.org/x/gIA9>, and then run
Mailman's bin/genaliases to rebuild the Postfix aliases?

>This is my Postfix Main.cf file:
>
>[r...@uccleon bin]# postconf -n
>
>alias_database = hash:/etc/aliases
>alias_maps = hash:/etc/aliases
>debug_peer_level = 2
>home_mailbox = Maildir/
>html_directory = no
>inet_interfaces = all
>
>mydestination = mailserver.uccleon.edu.ni, localhost, localhost.localdomain
>myhostname = uccleon.edu.ni
>mynetworks = 192.168.1.0/24, 127.0.0.0/8
>newaliases_path = /usr/bin/newaliases.postfix
>owner_request_special = no
>proxy_read_maps = $local_recipient_maps $mydestination $virtual_alias_maps 
>$virtual_alias_domains $virtual_mailbox_maps $virtual_mailbox_domains 
>$relay_recipient_maps $relay_domains $canonical_maps $sender_canonical_maps 
>$recipient_canonical_maps $relocated_maps $transport_maps $mynetworks 
>$virtual_mailbox_limit_maps
>smtpd_banner = $myhostname ESMTP $mail_name
>smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, 
>reject_unauth_destination
>smtpd_sasl_auth_enable = yes
>smtpd_sasl_authenticated_header = yes
>smtpd_tls_cert_file = /etc/postfix/smtpd.cert
>smtpd_tls_key_file = /etc/postfix/smtpd.key
>smtpd_use_tls = yes
>transport_maps = hash:/etc/postfix/transport
>unknown_local_recipient_reject_code = 550
>virtual_alias_maps = proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf, 
>mysql:/etc/postfix/mysql-virtual_email2email.cf, hash:/etc/mailman/aliases


In RedHat/Centos packages, /etc/mailman/aliases is a symlink to
Mailman's data/aliases, and this is an alias_map file, not a
virtual_alias_map file.


>virtual_create_maildirsize = yes
>virtual_gid_maps = static:5000
>virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
>virtual_mailbox_limit_override = yes
>virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
>virtual_maildir_extended = yes
>virtual_uid_maps = static:5000
>[r...@uccleon bin]# 
>
>The mm_cfg.py file shows:
>
> 
>from Defaults import *
>import pwd, grp
>MAILMAN_UID = pwd.getpwnam('mailman')[2]
>MAILMAN_GID = grp.getgrnam('mailman')[2]
>
>
>#from socket import *
>#try:
>#    fqdn = getfqdn()
>#except:
>#    fqdn = 'mm_cfg_has_unknown_host_domains'
>
>#DEFAULT_URL_HOST   = fqdn
>#DEFAULT_EMAIL_HOST = fqdn
>DEFAULT_URL_HOST   = "uccleon.edu.ni"
>DEFAULT_EMAIL_HOST = "uccleon.edu.ni"
># Because we've overriden the virtual hosts above add_virtualhost
># MUST be called after they have been defined.


At this point add

VIRTUAL_HOSTS.clear()

It's not critical, but it removes the 'wrong' entry from Defaults.py


>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
>MTA = 'Postfix'
>
>MY /etc/aliases
>
># STANZA START: modulos
>
># CREATED: Sun Aug  2 12:56:50 2009
>
>#modulos:             "|/usr/lib/mailman/mail/mailman post modulos"    
>
>#modulos-admin:       "|/usr/lib/mailman/mail/mailman admin modulos"  
>
>#modulos-bounces:     "|/usr/lib/mailman/mail/mailman bounces modulos"   
>
>#modulos-confirm:     "|/usr/lib/mailman/mail/mailman confirm modulos"  
>
>#modulos-join:        "|/usr/lib/mailman/mail/mailman join modulos"   
>
>#modulos-leave:       "|/usr/lib/mailman/mail/mailman leave modulos"   
>
>#modulos-owner:       "|/usr/lib/mailman/mail/mailman owner modulos"   
>
>#modulos-request:     "|/usr/lib/mailman/mail/mailman request modulos"   
>
>#modulos-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe modulos"   
>
>#modulos-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe modulos"  
>
># STANZA END: modulos
>
>#mailman:              "|/usr/lib/mailman/mail/mailman post mailman"
>#mailman-admin:        "|/usr/lib/mailman/mail/mailman admin mailman"
>#mailman-bounces:      "|/usr/lib/mailman/mail/mailman bounces mailman"
>#mailman-confirm:      "|/usr/lib/mailman/mail/mailman confirm mailman"
>#mailman-join:         "|/usr/lib/mailman/mail/mailman join mailman"
>#mailman-leave:        "|/usr/lib/mailman/mail/mailman leave mailman"
>#mailman-owner:        "|/usr/lib/mailman/mail/mailman owner mailman"
>#mailman-request:      "|/usr/lib/mailman/mail/mailman request mailman"
>#mailman-subscribe:    "|/usr/lib/mailman/mail/mailman subscribe mailman"
>#mailman-unsubscribe:  "|/usr/lib/mailman/mail/mailman unsubscribe mailman"


Irrelevant because it's all comments.

>MY /etc/mailman/aliases
>
># STANZA START: mailman
># CREATED: Tue Aug  4 17:43:23 2009
>mailman:             "|/usr/lib/mailman/mail/mailman post mailman"
>mailman-admin:       "|/usr/lib/mailman/mail/mailman admin mailman"
>mailman-bounces:     "|/usr/lib/mailman/mail/mailman bounces mailman"
>mailman-confirm:     "|/usr/lib/mailman/mail/mailman confirm mailman"
>mailman-join:        "|/usr/lib/mailman/mail/mailman join mailman"
>mailman-leave:       "|/usr/lib/mailman/mail/mailman leave mailman"
>mailman-owner:       "|/usr/lib/mailman/mail/mailman owner mailman"
>mailman-request:     "|/usr/lib/mailman/mail/mailman request mailman"
>mailman-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe mailman"
>mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
># STANZA END: mailman
>
># STANZA START: modulos
># CREATED: Tue Aug  4 17:44:09 2009
>modulos:             "|/usr/lib/mailman/mail/mailman post modulos"
>modulos-admin:       "|/usr/lib/mailman/mail/mailman admin modulos"
>modulos-bounces:     "|/usr/lib/mailman/mail/mailman bounces modulos"
>modulos-confirm:     "|/usr/lib/mailman/mail/mailman confirm modulos"
>modulos-join:        "|/usr/lib/mailman/mail/mailman join modulos"
>modulos-leave:       "|/usr/lib/mailman/mail/mailman leave modulos"
>modulos-owner:       "|/usr/lib/mailman/mail/mailman owner modulos"
>modulos-request:     "|/usr/lib/mailman/mail/mailman request modulos"
>modulos-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe modulos"
>modulos-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe modulos"
># STANZA END: modulos


Again, this file is an alias_maps file, not a virtual_alias_maps file.

-- 
Mark Sapiro <m...@msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan

------------------------------------------------------
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: http://wiki.list.org/x/QIA9

Reply via email to