[Mailman-Users] mailman is not emailing to mailing list users.

Oscar Balladares ing.oscar.balladares at hotmail.com
Wed Aug 5 03:08:59 CEST 2009

Hi everybody! this is my first post.!!

Thank you very much, in advance.

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.

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 "modulos at 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 "modulos at uccleon.edu.ni" recipient address, I have that account enabled in mysql and it is working fine as an email account.

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.

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).

This is my Postfix Main.cf file:

[root at 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 =,
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
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
[root at 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 *
#    fqdn = getfqdn()
#    fqdn = 'mm_cfg_has_unknown_host_domains'

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.

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"

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

Any idea is Welcome! thanks.

Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy!

More information about the Mailman-Users mailing list