Hi,
I have been able to get the Mailman web interface to fully operate satisfactorily. This includes lists consultation, subscription / un-subscription, setup and management. But I am not yet able to get mailing to any list accounts (ex. myl...@domain.tld, mylist-requ...@domain.tld, etc. ) to correctly operate. Every time a mail is sent to one of these accounts, the sender's mail gets systematically diverted to a predefined default email account. This indicates that the above email addresses are not recognized by Postfix as Mailman related lists to be processed accordingly. For example, in the below maillog trace we see that the memo initially addressed to mysl...@domain.net by admin-eur...@waycast.eu is finally delivered to the default account ad...@domain.net instead of being processed by '/usr/lib/mailman/mail/mailman post mylist' as it should normally be the case : - - - [root@vps12345 ~]# more /usr/local/psa/var/log/maillog | grep 1A52911616E Mar 11 23:12:27 vps12345 postfix/smtpd[19763]: 1A52911616E: client=relay6-d.mail.gandi.net[217.70.183.198] Mar 11 23:12:27 vps12345 postfix/cleanup[19767]: 1A52911616E: message-id=<!&!AAAAAAAAAAAYAAAAAAAAAHqVdj4TMlNNnKyTMxcTrDTCgAAAEAAAABDlMhHAh X9PqvkRNi1Uq10BAAAAAA==@waycast.eu> Mar 11 23:12:27 vps12345 postfix/qmgr[19671]: 1A52911616E: from=<admin-eur...@waycast.eu>, size=17420, nrcpt=1 (queue active) Mar 11 23:14:57 vps129345 postfix/smtp[19770]: 1A52911616E: to=<ad...@domain.fr>, orig_to=<myl...@domain.net>, relay=mx1.ovh.net[213.186.33.29]:25, delay=150, delays=0.1/0.01/60/90, dsn=2.0.0, status=sent (250 ok 1394576096 qp 28763) Mar 11 23:14:57 vps12345 postfix/qmgr[19671]: 1A52911616E: removed [root@vps12345 ~]# - - - Despite skimming through this Mailman-Users list and many other source publications, I haven't yet been able to figure out the exact origin of this abnormal behavior. Though I suspect a poorly defined Postfix 'transport' specification (see item 7 further below), but this remains to be confirmed. Please note that I am using a hosted VPS running CentOS with, among other things, Plesk, Postfix and Mailman. All software versions and configuration details are communicated below. Another piece of useful information : the 'ad...@domain.fr' default account has been specified at Plesk's web admin interface level. I'd therefore welcome any help on this issue. Many thanks in advance ! Regards, Jacques __________________________ Mailman System Configuration and Related Relevant Data In the below listings : - The server machine name is labeled 'vps12345' - The server full hostname is labeled 'vps12345.ovh.net' - The attached virtual domain is labeled 'domain.net' 1. Host server software components & revision details : linux CentOS 6.4 (Final) awstats 7.1.1-13052215.parallels bind 9.8.2-0.17.rc1.el6_4.5 courier-imap 4.12.0-cos6.build115130710.20 drweb 6.0.2.1-1211092005pleskel5 httpd 2.2.15-29.el6.centos mailman 2.1.12-18.el6 mod_perl 2.0.4-10.el6 mod_python 3.3.1-14.el6.1 mysql 5.1.73-3.el6_5 nginx 1.5.0-1.13060711.centos6 php 5.3.3-27.el6_5 postfix 2.8.14-13040119 PPSitebuilder 11.5.10-42107.13120413 psa 11.5.30-cos6.build115130819.13 psa-api-rpc 11.5.30-cos6.build115130819.13 psa-autoinstaller 3.15.15-130814.09 psa-backup-manager 11.5.30-cos6.build115130819.13 psa-drweb-configurator 11.5.30-cos6.build115130819.13 psa-horde 5.1.5-cos6.build115131216.11 psa-imp 6.1.6-cos6.build115131216.11 psa-logrotate 3.8.2-cos6.build115130211.11 psa-mod-fcgid-configurator 2.3.9-14012811 psa-proftpd 1.3.4c-cos6.build115130528.15 psa-turba 4.1.3-cos6.build115131216.11 roundcube 0.9.5-cos6.build115131112.14 webalizer 2.21_02-3.3.el6 2. Mailman Configuration File relevant excerpts (mm_cfg.py located in /usr/lib/mailman/Mailman/) { . } DEFAULT_URL_HOST = 'lists.vps12345.ovh.net' DEFAULT_EMAIL_HOST = 'vps12345.ovh.net' MTA = 'Postfix' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('lists.domain.net', domain.net') POSTFIX_STYLE_VIRTUAL_DOMAINS = ['domain.net'] VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' { .} 3. Mailman aliases set-up for sample list named 'mylist' (aliases and aliases.db located in /etc/mailman/) # The ultimate loop stopper address mailman-loop: /var/lib/mailman/data/owner-bounces.mbox { .} # STANZA START: mylist # CREATED: Mon Feb 24 21:00:44 2014 mylist: "|/usr/lib/mailman/mail/mailman post mylist" mylist-admin: "|/usr/lib/mailman/mail/mailman admin mylist" mylist-bounces: "|/usr/lib/mailman/mail/mailman bounces mylist" mylist-confirm: "|/usr/lib/mailman/mail/mailman confirm mylist" mylist-join: "|/usr/lib/mailman/mail/mailman join mylist" mylist-leave: "|/usr/lib/mailman/mail/mailman leave mylist" mylist-owner: "|/usr/lib/mailman/mail/mailman owner mylist" mylist-request: "|/usr/lib/mailman/mail/mailman request mylist" mylist-subscribe: "|/usr/lib/mailman/mail/mailman subscribe mylist" mylist-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mylist" # STANZA END: mylist { .} 4. Mailman virtual aliases set-up for sample list named 'mylist' (virtual-mailman and virtual-mailman.db located in /etc/mailman/) # LOOP ADDRESSES START mailman-l...@domain.net mailman-loop # LOOP ADDRESSES END { .} # STANZA START: mylist # CREATED: Mon Feb 24 21:00:44 2014 myl...@domain.net mylist mylist-ad...@domain.net mylist-admin mylist-bounces@ domain.net mylist-bounces mylist-confirm@ domain.net mylist-confirm mylist-join@ domain.net mylist-join mylist-leave@ domain.net mylist-leave mylist-owner@ domain.net mylist-owner mylist-request@ domain.net mylist-request mylist-subscribe@ domain.net mylist-subscribe mylist-unsubscribe@ domain.net mylist-unsubscribe # STANZA END: mylist { .} 5. Postfix Configuration File customized parameters (main.cf located in /etc/postfix/) { .} # *** Added $mydomain and '$myorigin' to 'mydestination' parameter list mydestination = $myhostname, localhost.$mydomain, localhost.localdomain, localhost, $mydomain, $myorigin # *** Redefine 'local_recipient_maps' parameter values local_recipient_maps = proxy:unix:passwd.byname $alias_maps $virtual_alias_maps # *** Added Mailman 'aliases' reference in 'alias_maps' alias_maps = hash:/etc/aliases, hash:/var/spool/postfix/plesk/aliases, hash:/etc/mailman/aliases # *** Uncommented 'recipient_delimiter' parameter setting recipient_delimiter = + # *** Added 'virtual-mailman' reference in 'virtual_alias_maps' virtual_alias_maps = $virtual_maps, hash:/var/spool/postfix/plesk/virtual, hash:/etc/mailman/virtual-mailman virtual_mailbox_domains = $virtual_mailbox_maps, hash:/var/spool/postfix/plesk/virtual_domains virtual_mailbox_maps = , hash:/var/spool/postfix/plesk/vmailbox # *** Added Postfix Transport location to 'transport_maps' parameter transport_maps = , hash:/var/spool/postfix/plesk/transport, hash:/etc/postfix/transport # *** Remainder of customized parameters follows below. smtpd_tls_cert_file = /etc./postfix/postfix_default.pem smtpd_tls_key_file = $smtpd_tls_cert_file smtpd_tls_security_level = may smtpd_use_tls = yes smtp_tls_security_level = may smtp_use_tls = no smtpd_timeout = 3600s smtpd_proxy_timeout = 3600s disable_vrfy_command = yes mynetworks = 127.0.0.0/8 [::1]/128 37.187.87.139/32, hash:/var/spool/postfix/plesk-pop/poplock smtpd_sender_restrictions = check_sender_access hash:/var/spool/postfix/plesk/blacklists, permit_sasl_authenticated, check_client_access pcre:/var/spool/postfix/plesk/non_auth.re smtpd_client_restrictions = permit_mynetworks, permit_sasl_authenticated smtp_send_xforward_command = yes smtpd_authorized_xforward_hosts = 127.0.0.0/8 [::1]/128 smtpd_sasl_auth_enable = yes smtpd_recipient_restrictions = permit_mynetworks, check_client_access pcre:/var/spool/postfix/plesk/no_relay.re, permit_sasl_authenticated, reject_unauth_destination virtual_mailbox_base = /var/qmail/mailnames virtual_uid_maps = static:30 virtual_gid_maps = static:31 smtpd_milters = , inet:127.0.0.1:12768 non_smtpd_milters = , inet:127.0.0.1:12768 sender_dependent_default_transport_maps = hash:/var/spool/postfix/plesk/sdd_transport_maps virtual_transport = plesk_virtual plesk_virtual_destination_recipient_limit = 1 mailman_destination_recipient_limit = 1 mailbox_size_limit = 0 virtual_mailbox_limit = 0 myhostname = vps12345.ovh.net message_size_limit = 10240000 6. Postfix Master Process Configuration File - Only uncommented lines are shown (master.conf located in /etc/postfix) # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - n - - smtpd pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 1 1 qmgr tlsmgr unix - - n 1000? 1 tlsmgr rewrite unix - - n - - trivial-rewrite bounce unix - - n - 0 bounce defer unix - - n - 0 bounce trace unix - - n - 0 bounce verify unix - - n - 1 verify flush unix n - n 1000? 0 flush proxymap unix - - n - - proxymap proxywrite unix - - n - 1 proxymap smtp unix - - n - - smtp relay unix - - n - - smtp -o smtp_fallback_relay= showq unix n - n - - showq error unix - - n - - error retry unix - - n - - error discard unix - - n - - discard local unix - n n - - local virtual unix - n n - - virtual lmtp unix - - n - - lmtp anvil unix - - n - 1 anvil scache unix - - n - 1 scache plesk_virtual unix - n n - - pipe flags=DORhu user=popuser:popuser argv=/usr/lib64/plesk-9.0/postfix-local -f ${sender} -d ${recipient} -p /var/qmail/mailnames mailman unix - n n - - pipe flags=R user=mailman:mailman argv=/usr/lib64/plesk-9.0/postfix-mailman ${nexthop} ${user} ${recipient} plesk_saslauthd unix y y n - 1 plesk_saslauthd status=5 listen=6 dbpath=/var/spool/postfix/plesk/passwd.db smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,permit_sasl_authenticated,rej ect_unauth_destination 37.187.87.139- unix - n n - - smtp -o smtp_bind_address=37.187.87.139 -o smtp_bind_address6= -o smtp_address_preference=ipv4 Note : The 'postfix_to_mailman.py' scheme is NOT USED as the related lines stayed commented out. 7. Postfix Added Transport Table scheme (transport and transport.db located in /etc/postfix/) The below-specified transports remained commented out because they cause a transport failure when uncommented. It seems that the specifications used are probably invalid. These will need to be reworked and we'd welcome suggestions as to what to specify instead... { .} # *** ADDED TRANSPORT(5) # vps12345.ovh.net mailman: # domain.net mailman: # ________________________________________________ ------------------------------------------------------ Mailman-Users mailing list Mailman-Users@python.org https://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: https://mail.python.org/mailman/options/mailman-users/archive%40jab.org