From danny at puterakembara.org Sat Jan 1 00:35:05 2011 From: danny at puterakembara.org (Danny hendrawan) Date: Sat, 1 Jan 2011 10:35:05 +1100 Subject: [Mailman-Users] Archives heading without domain name In-Reply-To: References: Message-ID: Hi Mark and All, I set my archives list to 'private' mainly to protect email addresses of members being disclosed on the heading. I've set my heading to replace '@' with 'at' but still this can be easilly taken by anyone. i.e. 'john at domain.com' How to set the headings as per your Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ ? i.e. only shows member's name with domain name Happy New New Year. Regards, Danny From mark at msapiro.net Sat Jan 1 02:20:50 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 31 Dec 2010 17:20:50 -0800 Subject: [Mailman-Users] Archives heading without domain name In-Reply-To: References: Message-ID: <8c1a6ed5-206b-4f6d-b66a-c3103117b7bd@email.android.com> "Danny hendrawan" wrote: >How to set the headings as per your Searchable Archives: >http://www.mail-archive.com/mailman-users%40python.org/ ? i.e. only >shows >member's name with domain name Use mail-archive.com as your list's archiver. -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From umarzuki at gmail.com Sun Jan 2 15:09:01 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Sun, 2 Jan 2011 22:09:01 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: i set in mm_cfg.py like below POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail-server.mydomain.my'] from socket import * try: fqdn = getfqdn() except: fqdn = 'mm_cfg_has_unknown_host_domains' DEFAULT_URL_HOST = "mail-server.mydomain.my" DEFAULT_EMAIL_HOST = "mail-server.mydomain.my" VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, ) MTA = 'Postfix' and ran # /usr/lib/mailman/bin/withlist -l -a -r fix_url # /usr/lib/mailman/bin/genaliases with the same result as before postconf -n output: alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases allow_min_user = no biff = no bounce_queue_lifetime = 1d broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 delay_warning_time = 0h disable_vrfy_command = yes enable_original_recipient = no home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = ipv4 local_recipient_maps = mail_name = iRedMail mail_owner = postfix mail_version = 0.6.1 mailbox_command = /usr/libexec/dovecot/deliver mailbox_size_limit = 15728640 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maximal_backoff_time = 4000s maximal_queue_lifetime = 1d minimal_backoff_time = 300s mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname mydomain = mydomain.my myhostname = mail-server.mydomain.my mynetworks = 127.0.0.0/8 mynetworks_style = subnet myorigin = mail-server.mydomain.my newaliases_path = /usr/bin/newaliases.postfix proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps queue_directory = /var/spool/postfix queue_run_delay = 300s readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES recipient_bcc_maps = proxy:ldap:/etc/postfix/ ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ ldap_recipient_bcc_maps_user.cf recipient_delimiter = + relay_domains = $mydestination, proxy:ldap:/etc/postfix/ ldap_relay_domains.cf relay_recipient_maps = proxy:mysql:/etc/postfix/ mysql_virtual_mailbox_maps.cf sample_directory = /usr/share/doc/postfix-2.5.9/samples sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_data_restrictions = reject_unauth_pipelining smtpd_enforce_tls = no smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre smtpd_recipient_restrictions = reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031 smtpd_reject_unlisted_recipient = no smtpd_reject_unlisted_sender = yes smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = no smtpd_sasl_local_domain = smtpd_sasl_path = dovecot-auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key smtpd_tls_loglevel = 0 smtpd_tls_security_level = may tls_random_source = dev:/dev/urandom transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf unknown_local_recipient_reject_code = 550 virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf virtual_gid_maps = static:502 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:ldap:/etc/postfix/ ldap_virtual_mailbox_domains.cf virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf virtual_minimum_uid = 502 virtual_transport = dovecot virtual_uid_maps = static:502 after i read http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+maps i changed & added a few options in mm_cfg.py POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport' in /etc/mailman # ls -l /etc/mailman/ total 140 -rw-r----- 1 root mailman 41 Dec 8 18:25 adm.pw -rw-rw---- 1 mailman mailman 33942 Jan 3 04:37 aliases -rw-rw---- 1 mailman mailman 77824 Jan 3 04:37 aliases.db -rw-r----- 1 root mailman 41 Dec 8 18:26 creator.pw lrwxrwxrwx 1 root mailman 34 Dec 8 18:12 mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py -rw-r--r-- 1 root mailman 14114 Jan 23 2008 sitelist.cfg -rw-rw---- 1 mailman mailman 0 Jan 3 04:37 transport-mailman -rw-rw---- 1 mailman mailman 12288 Jan 3 04:37 transport-mailman.db -rw-rw---- 1 root mailman 0 Jan 3 04:37 virtual-mailman -rw-r----- 1 root mailman 12288 Jan 3 04:32 virtual-mailman.db -rwxr-x--- 1 root mailman 141 Jan 3 04:26 virtual_to_transport in /etc/mailman/virtual_to_transport #!/bin/sh sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \ > /etc/mailman/transport-mailman /usr/sbin/postmap /etc/mailman/transport-mailman # postconf transport_maps transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, hash:/etc/mailman/transport-mailman did i missed anything? -- Regards, Umarzuki Mochlis http://debmal.my From umarzuki at gmail.com Sun Jan 2 17:50:55 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Mon, 3 Jan 2011 00:50:55 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: after a check on /usr/lib/mailman/Mailman/Defaults.py VAR_PREFIX = '/var/lib/mailman' DATA_DIR = os.path.join(VAR_PREFIX, 'data') so the /path/to/data must be /var/lib/mailman/data which led me to 1. change main.cf ----------- alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, hash:/var/lib//mailman/data/transport-mailman 2. move virtual_to_transport to /var/lib/mailman/data 3. virtual_to_transport #!/bin/sh sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \ > /var/lib/mailman/data/transport-mailman /usr/sbin/postmap /var/lib/mailman/data/transport-mailman 4. ran # postalias /var/lib/mailman/data/aliases # postalias /etc/postfix/aliases # service postfix reload # /usr/lib/mailman/bin/genaliases but virtual-mailman and transport-mailman does not appear in data folder # ls -l /var/lib/mailman/data/ total 20 -rw-r--r-- 1 mailman mailman 1503 Dec 17 11:28 aliases -rw-r--r-- 1 mailman mailman 12288 Jan 3 08:40 aliases.db lrwxrwxrwx 1 root mailman 25 Dec 8 18:12 sitelist.cfg -> /etc/mailman/sitelist.cfg -rwxr-x--- 1 mailman mailman 159 Jan 3 08:26 virtual_to_transport any hints or advises? Regards, Umarzuki Mochlis http://debmal.my From carnold at electrichendrix.com Sun Jan 2 20:48:16 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Sun, 2 Jan 2011 14:48:16 -0500 Subject: [Mailman-Users] List on a different domain name? Message-ID: <1EE92C4C-33B9-41DC-BD1B-BA51270ACC98@electrichendrix.com> Just upgraded to 2.1.14 on sles 10 sp3 with oes2. We use to have a domain that mailman was used on, this domain has since expired. We have a couple of other domains that I would like to use mailman on. Maybe I don't fully understand mailman but is there a way to use mailman on other domains? Internal users can still access the expired domain and access mailman but external users can not access mailman from valid domains (did that make sense?). Sent from my iPhone From mark at msapiro.net Sun Jan 2 21:30:26 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 2 Jan 2011 12:30:26 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: >i set in mm_cfg.py like below > >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail-server.mydomain.my'] > >from socket import * >try: > fqdn = getfqdn() >except: > fqdn = 'mm_cfg_has_unknown_host_domains' > >DEFAULT_URL_HOST = "mail-server.mydomain.my" >DEFAULT_EMAIL_HOST = "mail-server.mydomain.my" >VIRTUAL_HOSTS.clear() >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, ) >MTA = 'Postfix' > >and ran > ># /usr/lib/mailman/bin/withlist -l -a -r fix_url ># /usr/lib/mailman/bin/genaliases > >with the same result as before This should have ensured that all lists had host_name "mail-server.mydomain.my" and since this name is in POSTFIX_STYLE_VIRTUAL_DOMAINS, genaliases should have created aliases and virtual-mailman for all lists. >postconf -n output: > >alias_database = hash:/etc/postfix/aliases >alias_maps = hash:/etc/postfix/aliases, hash:/etc/mailman/aliases Good. [...] You probably should have recipient_delimiter = + for Mailman's VERP like senders. [...] >virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, >proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ >ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf If you are using virtual-mailman, you want to add "hash:/etc/mailman/virtual-mailman" to virtual_alias_maps. However, because of your dovecot LDA, you may need to do the transport_maps thing instead. See below. [...] >after i read >http://wiki.list.org/display/DOC/Mailman+-+Postfix+integration+with+Mailman+generated+transport+or+other+maps > >i >changed & added a few options in mm_cfg.py > >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] Why did you change this? You must have your list's email domain in POSTFIX_STYLE_VIRTUAL_DOMAINS. According to what you did above, your list's email domain is 'mail-server.mydomain.my', not 'mydomain.my'. >POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport' > >in /etc/mailman > ># ls -l /etc/mailman/ >total 140 >-rw-r----- 1 root mailman 41 Dec 8 18:25 adm.pw >-rw-rw---- 1 mailman mailman 33942 Jan 3 04:37 aliases >-rw-rw---- 1 mailman mailman 77824 Jan 3 04:37 aliases.db >-rw-r----- 1 root mailman 41 Dec 8 18:26 creator.pw >lrwxrwxrwx 1 root mailman 34 Dec 8 18:12 mm_cfg.py -> >/usr/lib/mailman/Mailman/mm_cfg.py >-rw-r--r-- 1 root mailman 14114 Jan 23 2008 sitelist.cfg >-rw-rw---- 1 mailman mailman 0 Jan 3 04:37 transport-mailman >-rw-rw---- 1 mailman mailman 12288 Jan 3 04:37 transport-mailman.db >-rw-rw---- 1 root mailman 0 Jan 3 04:37 virtual-mailman >-rw-r----- 1 root mailman 12288 Jan 3 04:32 virtual-mailman.db >-rwxr-x--- 1 root mailman 141 Jan 3 04:26 virtual_to_transport This all looks correct. >in /etc/mailman/virtual_to_transport >#!/bin/sh >sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \ > > /etc/mailman/transport-mailman >/usr/sbin/postmap /etc/mailman/transport-mailman > ># postconf transport_maps >transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, >proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, >hash:/etc/mailman/transport-mailman > >did i missed anything? The above seems correct for the transport_maps method, but you shouldn't have changed POSTFIX_STYLE_VIRTUAL_DOMAINS. And Umarzuki Mochlis added in a follow-up: >after a check on /usr/lib/mailman/Mailman/Defaults.py > >VAR_PREFIX = '/var/lib/mailman' >DATA_DIR = os.path.join(VAR_PREFIX, 'data') > >so the /path/to/data must be /var/lib/mailman/data which led me to Except it clearly isn't because your "ls -l /etc/mailman/" above clearly shows all the files in that directory. Perhaps there is something in mm_cfg.py that overrides VAR_PREFIX and DATA_DIR. You might find the FAQ at of interest. >1. change main.cf >----------- >alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases >transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, >proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, >hash:/var/lib//mailman/data/transport-mailman > >2. move virtual_to_transport to /var/lib/mailman/data > >3. virtual_to_transport >#!/bin/sh >sed -r -e 's/(^[^#][^ ]+[ ]+).+$/\1local/' $1 \ > > /var/lib/mailman/data/transport-mailman >/usr/sbin/postmap /var/lib/mailman/data/transport-mailman > >4. ran ># postalias /var/lib/mailman/data/aliases ># postalias /etc/postfix/aliases ># service postfix reload ># /usr/lib/mailman/bin/genaliases > >but virtual-mailman and transport-mailman does not appear in data folder > ># ls -l /var/lib/mailman/data/ >total 20 >-rw-r--r-- 1 mailman mailman 1503 Dec 17 11:28 aliases >-rw-r--r-- 1 mailman mailman 12288 Jan 3 08:40 aliases.db >lrwxrwxrwx 1 root mailman 25 Dec 8 18:12 sitelist.cfg -> >/etc/mailman/sitelist.cfg >-rwxr-x--- 1 mailman mailman 159 Jan 3 08:26 virtual_to_transport > > >any hints or advises? Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py and run /usr/lib/mailman/bin/genaliases again. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 2 21:44:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 2 Jan 2011 12:44:07 -0800 Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <1EE92C4C-33B9-41DC-BD1B-BA51270ACC98@electrichendrix.com> Message-ID: Chris Arnold wrote: >Just upgraded to 2.1.14 on sles 10 sp3 with oes2. We use to have a domain that mailman was used on, this domain has since expired. We have a couple of other domains that I would like to use mailman on. Maybe I don't fully understand mailman but is there a way to use mailman on other domains? You can use Mailman on any number of domains. The only restriction with standard GNU Mailman 2.1.x is tha list names must be globally unique in the installation. There are 3 components to this. 1) The web server must recognize the appropriate Mailman ScriptAlias, Alias, etc. directives in all the domains. 2) The MTA must know how to deliver the mail to Mailman for all the list addresses. 3) There should be appropriate add_virtualhost() directives and for Postfix integration with Postfix virtual domains, appropriate POSTFIX_STYLE_VIRTUAL_DOMAINS entries in mm_cfg.py. See the FAQ at http://wiki.list.org/x/gIA9 for more, particularly the part about fix_url. >Internal users can still access the expired domain and access mailman but external users can not access mailman from valid domains (did that make sense?). Maybe. You need to make sure the web server will apply the Mailman related configuration directives to the host(s) yoiu want to use. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From yahoo at 8es.com Mon Jan 3 05:02:57 2011 From: yahoo at 8es.com (yahoo) Date: Sun, 02 Jan 2011 23:02:57 -0500 Subject: [Mailman-Users] A basic filtering MIME question Message-ID: <4D214A71.5030901@8es.com> I've been reading the FAQ's etc and asking local advice; but I must be doing something stoopid. MM2.1.3 under Linux, 2.6.18-164.el5 My goal is: a) Accept text/MIME/HTML message bodies, but deliver as text to subscribers & archives. b) /dev/null the attachments, both in delivery and archives. FAQ 1.8 says: > In Mailman 2.1, on the admin page, go to the Content Filtering section. > Change "Should Mailman filter ..." to Yes. If you leave the rest at > default values, including Yes for "Should Mailman convert text/html > parts to plain text?", your list will only distribute plain text > messages with no attachments. And I did so, but I suspect that filter_mime_types &/or pass mime type originally had values that before/in my muddling, have been lost; both are empty now. Suggestions? From jim at wrightthisway.com Mon Jan 3 07:15:54 2011 From: jim at wrightthisway.com (Jim Wright) Date: Mon, 3 Jan 2011 00:15:54 -0600 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user Message-ID: Hi, all. I'm a new user, but I've searched the archives and so far haven't been able to find a fix for my issue. I've set up mailman with postfix and I'm using virtual domains. I've created a test mailing list, and Mailman has successfully emailed me that the list was created. However, I cannot send email to this list without the mail being rejected back as being to an unknown user. Based on all of my reading, I think I've done everything correctly. From my Postfix log, it doesn't appear that the aliases file is being consulted at all, but I am seeing a line indicating that the virtual-mailman file was referenced. Here are the relevant Mailman files: From mm_cfg.py: # Put YOUR site-specific settings below this line. MTA = "Postfix" POSTFIX_STYLE_VIRTUAL_DOMAINS = ['wrightthisway.com', 'themailshack.com'] add_virtualhost('wrightthisway.com', 'wrightthisway.com') add_virtualhost('themailshack.com', 'themailshack.com') sh-3.2# cat aliases # This file is generated by Mailman, and is kept in sync with the # binary hash file aliases.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE # unless you know what you're doing, and can keep the two files properly # in sync. If you screw it up, you're on your own. # The ultimate loop stopper address mailman-loop: /usr/local/mailman/data/owner-bounces.mbox # STANZA START: test # CREATED: Sat Dec 25 18:26:51 2010 test: "|/usr/local/mailman/mail/mailman post test" test-admin: "|/usr/local/mailman/mail/mailman admin test" test-bounces: "|/usr/local/mailman/mail/mailman bounces test" test-confirm: "|/usr/local/mailman/mail/mailman confirm test" test-join: "|/usr/local/mailman/mail/mailman join test" test-leave: "|/usr/local/mailman/mail/mailman leave test" test-owner: "|/usr/local/mailman/mail/mailman owner test" test-request: "|/usr/local/mailman/mail/mailman request test" test-subscribe: "|/usr/local/mailman/mail/mailman subscribe test" test-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe test" # STANZA END: test # STANZA START: mailman # CREATED: Sun Jan 2 22:08:00 2011 mailman: "|/usr/local/mailman/mail/mailman post mailman" mailman-admin: "|/usr/local/mailman/mail/mailman admin mailman" mailman-bounces: "|/usr/local/mailman/mail/mailman bounces mailman" mailman-confirm: "|/usr/local/mailman/mail/mailman confirm mailman" mailman-join: "|/usr/local/mailman/mail/mailman join mailman" mailman-leave: "|/usr/local/mailman/mail/mailman leave mailman" mailman-owner: "|/usr/local/mailman/mail/mailman owner mailman" mailman-request: "|/usr/local/mailman/mail/mailman request mailman" mailman-subscribe: "|/usr/local/mailman/mail/mailman subscribe mailman" mailman-unsubscribe: "|/usr/local/mailman/mail/mailman unsubscribe mailman" # STANZA END: mailman sh-3.2# cat virtual-mailman # This file is generated by Mailman, and is kept in sync with the binary hash # file virtual-mailman.db. YOU SHOULD NOT MANUALLY EDIT THIS FILE unless you # know what you're doing, and can keep the two files properly in sync. If you # screw it up, you're on your own. # # Note that you should already have this virtual domain set up properly in # your Postfix installation. See README.POSTFIX for details. # LOOP ADDRESSES START mailman-loop at wrightthisway.com mailman-loop # LOOP ADDRESSES END # STANZA START: test # CREATED: Sat Dec 25 18:26:51 2010 test at wrightthisway.com test test-admin at wrightthisway.com test-admin test-bounces at wrightthisway.com test-bounces test-confirm at wrightthisway.com test-confirm test-join at wrightthisway.com test-join test-leave at wrightthisway.com test-leave test-owner at wrightthisway.com test-owner test-request at wrightthisway.com test-request test-subscribe at wrightthisway.com test-subscribe test-unsubscribe at wrightthisway.com test-unsubscribe # STANZA END: test Below is my Postfix config, and a sample of the log when a message is sent to the list. sh-3.2# postconf -n address_verify_sender = <> alias_database = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases alias_maps = hash:/etc/postfix/aliases body_checks = regexp:/etc/postfix/maps/body_checks command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 debug_peer_list = 70.116.91.238 default_process_limit = 20 default_rbl_reply = $rbl_code Service unavailable; $rbl_class [$rbl_what] blocked using $rbl_domain${rbl_reason?; $rbl_reason} - see http://$rbl_domain for additional info. If this was actually a legitimate email to a real user, please forward this message to postmaster at wrightthisway.com for assistance. disable_vrfy_command = yes header_checks = regexp:/etc/postfix/maps/header_checks html_directory = no inet_interfaces = all mail_owner = _postfix mailq_path = /usr/bin/mailq manpage_directory = /usr/share/man max_use = 18 message_size_limit = 30000000 mime_header_checks = regexp:/etc/postfix/maps/mime_header_checks mydestination = mydomain = wrightthisway.com myhostname = wrightthisway.com mynetworks_style = subnet newaliases_path = /usr/bin/newaliases queue_directory = /private/var/spool/postfix readme_directory = /usr/share/doc/postfix recipient_delimiter = + relayhost = smtp-server.austin.rr.com sample_directory = /usr/share/doc/postfix/examples sendmail_path = /usr/sbin/sendmail setgid_group = _postdrop show_user_unknown_table_name = no smtpd_data_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_unauth_pipelining, permit smtpd_error_sleep_time = 90 smtpd_hard_error_limit = 10 smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_maps smtpd_junk_command_limit = 1 smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, check_recipient_access hash:/etc/postfix/restricted_users, normal_restriction, check_helo_access hash:/etc/postfix/helo_access, check_client_access hash:/etc/postfix/access, check_recipient_access hash:/etc/postfix/access, reject_unauth_destination, reject_rbl_client zen.spamhaus.org, reject_rbl_client fresh15.spameatingmonkey.net, reject_rbl_client dnsbl.njabl.org, reject_rbl_client cbl.abuseat.org smtpd_restriction_classes = normal_restriction, postmaster_policyd_restriction smtpd_sasl_auth_enable = yes smtpd_sasl_path = private/auth smtpd_sasl_type = dovecot smtpd_sender_restrictions = hash:/etc/postfix/access smtpd_soft_error_limit = 1 strict_rfc821_envelopes = yes tls_random_source = dev:/dev/urandom unknown_address_reject_code = 550 unknown_client_reject_code = 550 unknown_hostname_reject_code = 450 unknown_local_recipient_reject_code = 550 virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/usr/local/mailman/data/virtual-mailman virtual_gid_maps = static:27 virtual_mailbox_base = /var/mail/vhosts virtual_mailbox_domains = proxy:mysql:/etc/postfix/mysql_virtual_domains_maps.cf virtual_mailbox_limit = 30000000 virtual_mailbox_maps = proxy:mysql:/etc/postfix/mysql_virtual_mailbox_maps.cf virtual_minimum_uid = 27 virtual_transport = virtual virtual_uid_maps = static:27 sh-3.2# Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: warning: 70.116.91.238: hostname cpe-70-116-91-238.austin.res.rr.com verification failed: nodename nor servname provided, or not known Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect from unknown[70.116.91.238] Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: auto_clnt_open: connected to private/anvil Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = connect Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr ident = smtp:70.116.91.238 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: count Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: count Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: rate Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: rate Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/anvil: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 220 wrightthisway.com ESMTP Postfix Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_create: SASL service=smtp, realm=(null) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: noanonymous Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: Connecting Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: VERSION?1?1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?PLAIN?plaintext Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: plaintext Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?LOGIN?plaintext Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: plaintext Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: MECH?CRAM-MD5?dictionary?active Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: dictionary Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: name_mask: active Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: SPID?81760 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: CUID?3 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: COOKIE?e6de66242204d49b2eb1951a09a68c11 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_connect: auth reply: DONE Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: PLAIN Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: LOGIN Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_mech_filter: keep mechanism: CRAM-MD5 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: EHLO [192.168.1.10] Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-PIPELINING Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-SIZE 30000000 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-ETRN Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-AUTH PLAIN LOGIN CRAM-MD5 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-ENHANCEDSTATUSCODES Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250-8BITMIME Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 DSN Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: AUTH PLAIN AGppbUB3cmlnaHR0aGlzd2F5LmNvbQBuYW5hMTk5MA== Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_server_first: sasl_method PLAIN, init_response AGppbUB3cmlnaHR0aGlzd2F5LmNvbQBuYW5hMTk5MA== Jan 2 23:46:45 wrights-Mac-mini dovecot[48385]: auth: mysql: Connected to localhost (postfix) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: xsasl_dovecot_handle_reply: auth reply: OK?1?user=jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 235 2.7.0 Authentication successful Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: MAIL FROM: Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: input: Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_addr: addr=jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect to subsystem private/rewrite Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: jim at wrightthisway.com -> jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = resolve Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr sender = Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: transport Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: transport Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: virtual Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: nexthop Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: nexthop Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: recipient Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: recipient Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1024 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: resolve_clnt: `' -> `jim at wrightthisway.com' -> transp=`virtual' host=`wrightthisway.com' rcpt=`jim at wrightthisway.com' flags= class=virtual Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: install entry key jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: in: , result: jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: fsspace: .: block size 4096, blocks free 71821920 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_queue: blocks 4096 avail 71821920 min_free 0 msg_size_limit 30000000 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.1.0 Ok Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: RCPT TO: Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: input: Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_addr: addr=test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: test at wrightthisway.com -> test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = resolve Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr sender = Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: transport Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: transport Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: virtual Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: nexthop Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: nexthop Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: recipient Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: recipient Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1024 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: resolve_clnt: `' -> `test at wrightthisway.com' -> transp=`virtual' host=`wrightthisway.com' rcpt=`test at wrightthisway.com' flags= class=virtual Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: install entry key test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: extract_addr: in: , result: test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = rewrite Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr rule = local Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr address = "<>" Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: flags Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: address Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: "<>"@wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/rewrite socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: rewrite_clnt: local: "<>" -> "<>"@wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Helo command RESTRICTIONS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Sender address RESTRICTIONS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=hash:/etc/postfix/access Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_mail_access: jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: move existing entry key jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_access: jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_domain_access: wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: check_access: jim@ Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=check_sender_access status=0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> END Sender address RESTRICTIONS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Recipient address RESTRICTIONS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> CHECKING RECIPIENT MAPS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: ctable_locate: move existing entry key test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: test at wrightthisway.com: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: test: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: recipient_canonical_maps: @wrightthisway.com: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> (not found) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: test at wrightthisway.com: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: test: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: canonical_maps: @wrightthisway.com: not found Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> (not found) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr request = lookup Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr table = mysql:/etc/postfix/mysql_virtual_alias_maps.cf Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr flags = 16448 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr key = test at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: value Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: value Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: private/proxymap socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: dict_proxy_lookup: table=mysql:/etc/postfix/mysql_virtual_alias_maps.cf flags=lock|fold_fix key=test at wrightthisway.com -> status=1 result= Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: maps_find: virtual_alias_maps: hash:/usr/local/mailman/data/virtual-mailman(0,lock|fold_fix): test at wrightthisway.com = test Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: mail_addr_find: test at wrightthisway.com -> test Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: smtpd_check_rewrite: trying: permit_inet_interfaces Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_inet_interfaces: unknown 70.116.91.238 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: before input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping enable_milters Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: after input_transp_cleanup: cleanup flags = enable_header_body_filter enable_automatic_bcc enable_address_mapping Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: connect to subsystem public/cleanup Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: queue_id Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: queue_id Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: BBA681B43CF Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: send attr flags = 178 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: BBA681B43CF: client=unknown[70.116.91.238], sasl_method=PLAIN, sasl_username=jim at wrightthisway.com Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.1.5 Ok Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: < unknown[70.116.91.238]: DATA Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: >>> START Data command RESTRICTIONS <<< Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: permit_mynetworks: unknown 70.116.91.238 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 127.0.0.0/8 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostname: unknown ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_hostaddr: 70.116.91.238 ~? 192.168.0.0/22 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: unknown: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: match_list_match: 70.116.91.238: no match Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_mynetworks status=0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: generic_checks: name=permit_sasl_authenticated status=1 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 354 End data with . Jan 2 23:46:45 wrights-Mac-mini postfix/cleanup[81788]: BBA681B43CF: message-id= Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: status Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: 0 Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: reason Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: reason Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute value: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: public/cleanup socket: wanted attribute: (list terminator) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: input attribute name: (end) Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: > unknown[70.116.91.238]: 250 2.0.0 Ok: queued as BBA681B43CF Jan 2 23:46:45 wrights-Mac-mini postfix/smtpd[81782]: watchdog_pat: 0x1004120a0 Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: BBA681B43CF: from=, size=524, nrcpt=1 (queue active) Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com") Jan 2 23:46:45 wrights-Mac-mini postfix/cleanup[81788]: CCF831B43D9: message-id=<20110103054645.CCF831B43D9 at wrightthisway.com> Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: CCF831B43D9: from=<>, size=2361, nrcpt=1 (queue active) Jan 2 23:46:45 wrights-Mac-mini postfix/bounce[81791]: BBA681B43CF: sender non-delivery notification: CCF831B43D9 Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: BBA681B43CF: removed Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: CCF831B43D9: to=, relay=virtual, delay=0, delays=0/0/0/0, dsn=2.0.0, status=sent (delivered to maildir) Jan 2 23:46:45 wrights-Mac-mini postfix/qmgr[81789]: CCF831B43D9: removed From jim at wrightthisway.com Mon Jan 3 18:18:02 2011 From: jim at wrightthisway.com (Jim Wright) Date: Mon, 3 Jan 2011 11:18:02 -0600 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: References: Message-ID: On Jan 3, 2011, at 12:15 AM, Jim Wright wrote: > Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com") Hi, just a followup to my previous message, I have confirmed that the 'test' mailing list I created seems to be listed correctly in the virtual-mailman db, using the following command: sh-3.2# postmap -q test at wrightthisway.com hash:/usr/local/mailman/data/virtual-mailman test sh-3.2# postmap -s hash:/usr/local/mailman/data/virtual-mailman test-confirm at wrightthisway.com test-confirm test-join at wrightthisway.com test-join test-subscribe at wrightthisway.com test-subscribe mailman-loop at wrightthisway.com mailman-loop test at wrightthisway.com test test-admin at wrightthisway.com test-admin test-bounces at wrightthisway.com test-bounces test-leave at wrightthisway.com test-leave test-owner at wrightthisway.com test-owner test-request at wrightthisway.com test-request test-unsubscribe at wrightthisway.com test-unsubscribe From mark at msapiro.net Mon Jan 3 20:06:20 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 3 Jan 2011 11:06:20 -0800 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: <4D214A71.5030901@8es.com> Message-ID: yahoo wrote: >I've been reading the FAQ's etc and asking local advice; but I must be >doing something stoopid. > >MM2.1.3 under Linux, 2.6.18-164.el5 2.1.3? This is quite old. Current is 2.1.14. >My goal is: > >a) Accept text/MIME/HTML message bodies, but deliver as text to subscribers >& archives. > >b) /dev/null the attachments, both in delivery and archives. filter_content - Yes filter_mime_types - empty pass_mime_types - multipart message/rfc822 (allows plain text and converted HTML from attached messages. Remove to filter attached messages) text/plain text/html filter_filename_extensions - exe bat cmd com pif scr vbs cpl (these are defaults - this setting doesn't exist in 2.1.3) pass_filename_extensions - empty; default; this setting doesn't exist in 2.1.3) collapse_alternatives - Yes (this setting doesn't exist in 2.1.3) convert_html_to_plaintext - Yes -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Jan 3 20:34:46 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 3 Jan 2011 11:34:46 -0800 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: Message-ID: Jim Wright wrote: >However, I cannot send email to this list without the mail being rejected back as being to an unknown user. > >Based on all of my reading, I think I've done everything correctly. From my Postfix log, it doesn't appear that the aliases file is being consulted at all, but I am seeing a line indicating that the virtual-mailman file was referenced. That is correct. Aliases are not consulted because the virtual mapping in virtual-mailman is test at wrightthisway.com test This maps 'test at wrightthisway.com' to 'test'. The unqualified address 'test' is assumed by Postfix to be qualified with $myorigin, which defaults to $myhostname which is 'wrightthisway.com' which is a virtual domain. Aliases only apply to local domains, i.e., those in $mydestination. [...] >sh-3.2# postconf -n >address_verify_sender = <> >alias_database = hash:/etc/postfix/aliases, hash:/usr/local/mailman/data/aliases The above should be in alias_maps, not alias_database. Fixing this may solve your problem, but it I suspect it will not be sufficient. >alias_maps = hash:/etc/postfix/aliases [...] >mydestination = At a minimum, mydestination should include localhost. >mydomain = wrightthisway.com >myhostname = wrightthisway.com [...] >virtual_alias_maps = proxy:mysql:/etc/postfix/mysql_virtual_alias_maps.cf, hash:/usr/local/mailman/data/virtual-mailman [...] >Jan 2 23:46:45 wrights-Mac-mini postfix/virtual[81790]: BBA681B43CF: to=, relay=virtual, delay=0.1, delays=0.08/0.01/0/0.02, dsn=5.1.1, status=bounced (unknown user: "test at wrightthisway.com") In order for aliases to be consulted, delivery must be 'local' not 'virtual' The solution in your case is to put hash:/usr/local/mailman/data/aliases in alias_maps; add localhost to mydestination and put VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' in mm_cfg.py and run Mailman's bin/genaliases to create virtual-mailman mappings like test at wrightthisway.com test at localhost -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rickmorrison at gmail.com Mon Jan 3 23:12:40 2011 From: rickmorrison at gmail.com (Rick Morrison) Date: Mon, 3 Jan 2011 17:12:40 -0500 Subject: [Mailman-Users] Pruning archived messages In-Reply-To: References: Message-ID: On Thu, Dec 9, 2010 at 11:53 PM, Mark Sapiro wrote: > Rick Morrison wrote: > > >I've been asked to restrict our group's Mailman list to showing only the > >last six months of archives. Is there any way to remove archived messages > >older than a certain date and reflect that removal in the archive header's > >"index.html" file? > > > Edit the archives/private/listname.mbox/listname.mbox file to remove > all the older messages. If you don't care about keeping the older > messages at all, just edit the file in place and then run Mailman's > > bin/arch --wipe listname > Thanks to both repliers - this worked well. I ended up using "archivemail" ( http://archivemail.sourceforge.net/manpage.html) for the mbox handling and running the whole thing from a cron-launched Python script. From yahoo at 8es.com Tue Jan 4 03:28:42 2011 From: yahoo at 8es.com (yahoo) Date: Mon, 03 Jan 2011 21:28:42 -0500 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: References: Message-ID: <4D2285DA.1080602@8es.com> On 1/3/11 2:06 PM, Mark Sapiro wrote: >> I've been reading the FAQ's etc and asking local advice; but I must be >> doing something stoopid. >> >> MM2.1.3 under Linux, 2.6.18-164.el5 > > > 2.1.3? This is quite old. Current is 2.1.14. I'll ask the local maintainer to upgrade. Ooops, he says there's no RPM we can use {until we fix something else, I assume.} >> My goal is: >> >> a) Accept text/MIME/HTML message bodies, but deliver as text to subscribers >> & archives. >> >> b) /dev/null the attachments, both in delivery and archives. > > > > filter_content - Yes > filter_mime_types - empty > pass_mime_types - > multipart > message/rfc822 (allows plain text and converted HTML from attached > messages. Remove to filter attached messages) > text/plain > text/html > filter_filename_extensions - > exe bat cmd com pif scr vbs cpl > (these are defaults - this setting doesn't exist in 2.1.3) > pass_filename_extensions - empty; default; this setting doesn't exist > in 2.1.3) > collapse_alternatives - Yes (this setting doesn't exist in 2.1.3) > convert_html_to_plaintext - Yes Err, I see all those in our 2.1.3... (I've been helped by Brad who has pointed out some issues I need to better understand.) Thank you. I'll add a comment. FAQ 1.8 is confusing because it does not make it clear what comments relate to 2.0, and what to 2.1. Further, it's discussing both HTML & MIME issues. From mark at msapiro.net Tue Jan 4 04:34:06 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 03 Jan 2011 19:34:06 -0800 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: <4D2285DA.1080602@8es.com> References: <4D2285DA.1080602@8es.com> Message-ID: <4D22952E.508@msapiro.net> On 1/3/2011 6:28 PM, yahoo wrote: > On 1/3/11 2:06 PM, Mark Sapiro wrote: >> filter_content - Yes >> filter_mime_types - empty >> pass_mime_types - >> multipart >> message/rfc822 (allows plain text and converted HTML from attached >> messages. Remove to filter attached messages) >> text/plain >> text/html >> filter_filename_extensions - >> exe bat cmd com pif scr vbs cpl >> (these are defaults - this setting doesn't exist in 2.1.3) >> pass_filename_extensions - empty; default; this setting doesn't exist >> in 2.1.3) >> collapse_alternatives - Yes (this setting doesn't exist in 2.1.3) >> convert_html_to_plaintext - Yes > > Err, I see all those in our 2.1.3... Then it's not 2.1.3 because the *_filename_extensions settings didn't appear until 2.1.6 and collapse_alternatives first appeared in 2.1.7. Maybe it's 2.1.13? Or maybe it's 2.1.9 which is the RedHat el5 RPM version. > I'll add a comment. FAQ 1.8 is confusing because it does not make it > clear what comments relate to 2.0, and what to 2.1. > > Further, it's discussing both HTML & MIME issues. Agreed. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From yahoo at 8es.com Tue Jan 4 04:58:06 2011 From: yahoo at 8es.com (yahoo) Date: Mon, 03 Jan 2011 22:58:06 -0500 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: <4D22952E.508@msapiro.net> References: <4D2285DA.1080602@8es.com> <4D22952E.508@msapiro.net> Message-ID: <4D229ACE.2060801@8es.com> On 1/3/11 10:34 PM, Mark Sapiro wrote: > > Maybe it's 2.1.13? Or maybe it's 2.1.9 which is the RedHat el5 RPM version. My bad; that it is... >> I'll add a comment. FAQ 1.8 is confusing because it does not make it >> clear what comments relate to 2.0, and what to 2.1. >> >> Further, it's discussing both HTML& MIME issues. > > Agreed. From jim at wrightthisway.com Tue Jan 4 06:17:57 2011 From: jim at wrightthisway.com (Jim Wright) Date: Mon, 3 Jan 2011 23:17:57 -0600 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: References: Message-ID: <57EBF416-E799-4891-89E0-B91C52588CC3@wrightthisway.com> On Jan 3, 2011, at 1:34 PM, Mark Sapiro wrote: > In order for aliases to be consulted, delivery must be 'local' not > 'virtual' > > The solution in your case is to put > hash:/usr/local/mailman/data/aliases in alias_maps; add localhost to > mydestination and put > > VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' > > in mm_cfg.py and run Mailman's bin/genaliases to create virtual-mailman > mappings like > > test at wrightthisway.com test at localhost Hi, Mark. I appreciate the suggestions, but I was hesitant to reconfigure my postfix that way, for fear of borking my working virtual domains. I should have mentioned earlier that I have my site configured using postfix admin, and after seeing your mention of changing the delivery, that got me thinking about the problem in more depth. I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list. Thanks! From bruceclark at icon.co.za Tue Jan 4 07:27:08 2011 From: bruceclark at icon.co.za (bruce clark) Date: Tue, 4 Jan 2011 08:27:08 +0200 Subject: [Mailman-Users] Selective Filtering Message-ID: <0342E842-7DA3-4115-832A-99E33C1B3A3B@icon.co.za> Good morning from South Africa. Thanks to everyone who replied to my sig file question. I have another - related - question. Is there a way to have a selective filter? i.e I want to remove the images from some users' sig files, but allow images from others. I currently have image/jpeg image/pjpeg image/jpeg image/jpeg image/pjpeg image/jpeg image/pjpeg image/jpeg image/pjpeg image/x-jps in the filter_mime_types field. This is working but there are some users which I would like for it to not apply to. Thanks for any help Regards, Bruce. From mark at msapiro.net Tue Jan 4 19:12:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 4 Jan 2011 10:12:07 -0800 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: <57EBF416-E799-4891-89E0-B91C52588CC3@wrightthisway.com> Message-ID: Jim Wright wrote: > >I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list. While this may be an acceptable solution for you, you should be aware that use of postfix_to_mailman.py will create the same issues for non-list mail to the list domain that you had originally for list mail. I.e. postfix_to_mailman.py is designed for situations where there is a dedicated domain or domains for list mail only. You can work around this by generating transport maps to map only list addresses to the postfix_to_mailman.py (mailman) transport using the method of the FAQ at substituting 'mailman' for 'local'. But then you could also use aliases with this method by specifying the local transport. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Jan 4 19:19:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 4 Jan 2011 10:19:07 -0800 Subject: [Mailman-Users] Selective Filtering In-Reply-To: <0342E842-7DA3-4115-832A-99E33C1B3A3B@icon.co.za> Message-ID: bruce clark wrote: > >Thanks to everyone who replied to my sig file question. I have another >- related - question. Is there a way to have a selective filter? i.e I >want to remove the images from some users' sig files, but allow images >from others. > >I currently have > >image/jpeg >image/pjpeg >image/jpeg >image/jpeg >image/pjpeg >image/jpeg >image/pjpeg >image/jpeg >image/pjpeg >image/x-jps > >in the filter_mime_types field. This is working but there are some >users which I would like for it to not apply to. There is no way to apply different content filtering rules for different member's posts without either modifying Mailman/Handlers/MimeDel.py or, to be more upgrade proof, replacing it with a custom version (sse the FAQ at ). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From hammond at txcorp.com Tue Jan 4 23:49:07 2011 From: hammond at txcorp.com (Anne M. Hammond) Date: Tue, 4 Jan 2011 15:49:07 -0700 Subject: [Mailman-Users] Custom message or addition to "Your message to {list} awaits moderator approval" message Message-ID: <60F2340B-81CC-4DF2-97ED-AE35E82CEB1D@txcorp.com> mailman-2.1.9-4.el5 We would like to modify the bounce message that moderated members receive. We have modified Privacy options/Sender filters/Text to include in any rejection notice to be sent to moderated members who post to the list. config_list reports that this field has been updated: # Text to include in any rejection # notice to be sent to moderated members who post to this list. member_moderation_notice = """Include this text. """ However, this is the bounce message that I receive. I am a moderated member of the list. This is the default message: ---------- Your mail to 'Internal' with the subject another test of moderation Is being held until the list moderator can review it for approval. The reason it is being held: Post to moderated list Either the message will get posted to the list, or you will receive notification of the moderator's decision. If you would like to cancel this posting, please visit the following URL: ... ---------- What am I missing? Thanks in advance < Anne From jim at wrightthisway.com Wed Jan 5 00:08:53 2011 From: jim at wrightthisway.com (Jim Wright) Date: Tue, 4 Jan 2011 17:08:53 -0600 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: References: Message-ID: On Jan 4, 2011, at 12:12 PM, Mark Sapiro wrote: > Jim Wright wrote: >> >> I did some new googling using postfixadmin and mailman, and came across this page: http://freemars.org/howto/mailman.html, this got me a lot closer, I just needed to track down the most recent postfix-to-mailman.py script, make the required edits for my site, and I have now successfully created and sent email to my test list. > > > While this may be an acceptable solution for you, you should be aware > that use of postfix_to_mailman.py will create the same issues for > non-list mail to the list domain that you had originally for list mail. > > I.e. postfix_to_mailman.py is designed for situations where there is a > dedicated domain or domains for list mail only. Right, I did create a separate domain for the lists, I didn't see it as being a huge issue. It was definitely easier than revamping my postfix config. ;) Thanks, Mark! From mark at msapiro.net Wed Jan 5 00:18:56 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 4 Jan 2011 15:18:56 -0800 Subject: [Mailman-Users] Custom message or addition to "Your message to{list} awaits moderator approval" message In-Reply-To: <60F2340B-81CC-4DF2-97ED-AE35E82CEB1D@txcorp.com> Message-ID: Anne M. Hammond wrote: > >We would like to modify the bounce message that moderated members >receive. We have modified Privacy options/Sender filters/Text to >include >in any rejection notice to be sent to moderated members who post to >the list. > >config_list reports that this field has been updated: > ># Text to include in any # href="?VARHELP/privacy/sender/member_moderation_action" >rejection ># notice to be sent to moderated members who post to this list. >member_moderation_notice = """Include this text. >""" > >However, this is the bounce message that I receive. I am a moderated >member of the list. This is the default message: > >---------- > >Your mail to 'Internal' with the subject > > another test of moderation > >Is being held until the list moderator can review it for approval. The text in member_moderation_notice is only sent in a "rejection" notice to the user when the post is rejected because member_moderation_action is Reject. It doesn't apply if member_moderation_action is Hold. Further, it doesn't even apply if the post is held and subsequently rejected by a moderator. In that case, the default rejection reason is still the standard 'Your message was deemed inappropriate by the moderator.' or it's i18n equiovalent. You cannot modify the held post notice for moderated members only. You can create a modified postheld.txt template per the FAQ at , but it will apply to all held posts regardless of reason. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.kronenwerth at tuhh.de Tue Jan 4 20:46:40 2011 From: s.kronenwerth at tuhh.de (Sebastian Kronenwerth) Date: Tue, 04 Jan 2011 20:46:40 +0100 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: References: Message-ID: <4D237920.2050508@tuhh.de> Hi Jim, I have had the same problem. With some tricks you can use your virtual domains. Here an example how it works fine on my machine, but at this I used your domain: Add/modify this in your main.cf: mydestination = localhost localhost.wrightthisway.com alias_maps = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases, hash:/var/lib/mailman/data/aliases virtual_alias_maps = hash:/etc/postfix/virtual_alias Don't use the /usr/local/mailman/data/virtual-mailman. Mailman overwrite this file and therefore you can't modify this. Instead of this, put per hand in your /etc/postfix/virtual_alias: mailman-loop at wrightthisway.com mailman-loop at localhost test at wrightthisway.com test at localhost test-admin at wrightthisway.com test-admin at localhost test-bounces at wrightthisway.com test-bounces at localhost test-confirm at wrightthisway.com test-confirm at localhost test-join at wrightthisway.com test-join at localhost test-leave at wrightthisway.com test-leave at localhost test-owner at wrightthisway.com test-owner at localhost test-request at wrightthisway.com test-request at localhost test-subscribe at wrightthisway.com test-subscribe at localhost test-unsubscribe at wrightthisway.com test-unsubscribe at localhost Don't forget to run postmap virtual_alias and after this your mailinglist should work. Best regards Sebastian From Werner.Spirk at lrz.de Wed Jan 5 12:53:48 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Wed, 5 Jan 2011 12:53:48 +0100 (MET) Subject: [Mailman-Users] problem e.g. with subscription of new members Message-ID: hello, I have installed mailman-2.1.14 on NFS. We use NFS as the common platform between mailman server and WWW server. The problem is that it could happen that the subscription of new members ether via the add-members cmd or via the WWW surface as an admin did not do: the members have got welcome messages, there are log entries in the subscribe log but the members aren't in the list (no changes/mail addresses in the pck-file). If you repeat the subscription directly after the first trail it will normally do. There were no activities on the mailman server at that times. In the locks log there can be an entry - not always when subsrcriptions fails: .lock lifetime has expired, breaking But there are no lock/unlock entries. Can anyone tell me what's going wrong and what can I do Thanks in advance Werner From mark at msapiro.net Wed Jan 5 16:29:36 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 5 Jan 2011 07:29:36 -0800 Subject: [Mailman-Users] Problem with Postfix/virtual setup, unknown user In-Reply-To: <4D237920.2050508@tuhh.de> Message-ID: Sebastian Kronenwerth wrote: > >Don't use the /usr/local/mailman/data/virtual-mailman. Mailman overwrite >this file and therefore you can't modify this. Instead of this, put per >hand in your /etc/postfix/virtual_alias: > >mailman-loop at wrightthisway.com mailman-loop at localhost >test at wrightthisway.com test at localhost >test-admin at wrightthisway.com test-admin at localhost >test-bounces at wrightthisway.com test-bounces at localhost >test-confirm at wrightthisway.com test-confirm at localhost >test-join at wrightthisway.com test-join at localhost >test-leave at wrightthisway.com test-leave at localhost >test-owner at wrightthisway.com test-owner at localhost >test-request at wrightthisway.com test-request at localhost >test-subscribe at wrightthisway.com test-subscribe at localhost >test-unsubscribe at wrightthisway.com test-unsubscribe at localhost If you have a recent Mailman, you can accomplish the same thing in virtual-mailman by putting VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost' in mm_cfg.py. This setting was introduced in Mailman 2.1.14. Also see . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jason at bilbrey.me Wed Jan 5 22:51:28 2011 From: jason at bilbrey.me (Jason Bilbrey) Date: Wed, 5 Jan 2011 15:51:28 -0600 Subject: [Mailman-Users] How to allow Poster to change default reply to from the list to the poster Message-ID: I have a mailing list and the default if a recipient chooses reply or reply-to-all in their mail client is for the reply to go to the list. (This is great for 99.9% of the time and exactly what I want). However in certain situations I?d like to be able to send to the list but change the default behavior when someone chooses reply or reply-to-all to reply only to the original poster. Is that possible? Let give you an exact example to clear it up. I have a mailing list for trivia enthusiasts and generally speaking I want people to be able to discuss topics and everyone on the list to see the replies. Everyone once in a while a person on the list makes up a trivia quiz and they want users to reply with the answers only to the creator of the quiz? Inevitably everyone once in a while someone clicks ?reply? and replies with their answers to the list instead of manually typing in the quiz creator?s actual email address. Is there a way that the quiz creator/poster (a member of the mailing list) could send certain messages that alters the reply-to address from the default of replying to the list, to reply to them directly instead? Hopefully I explained that well. J Jason From mark at msapiro.net Thu Jan 6 18:26:46 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 6 Jan 2011 09:26:46 -0800 Subject: [Mailman-Users] problem e.g. with subscription of new members In-Reply-To: Message-ID: Werner Spirk wrote: > >I have installed mailman-2.1.14 on NFS. >We use NFS as the common platform between mailman server and >WWW server. > >The problem is that it could happen that >the subscription of new members ether via the add-members cmd >or via the WWW surface as an admin did not do: >the members have got welcome messages, there are log entries >in the subscribe log but the members aren't in the list >(no changes/mail addresses in the pck-file). > >If you repeat the subscription directly after the first trail >it will normally do. > >There were no activities on the mailman server at that times. There is an issue that can cause this behavior, but it only occurs if two parallel processes, e.g. the member add and another member add or a post to the same list, occur within the same second. >In the locks log there can be an entry - not always >when subsrcriptions fails: >.lock lifetime has expired, breaking >But there are no lock/unlock entries. You can get more information including lock/unlock entries in the locks log by putting LIST_LOCK_DEBUGGING = On in mm_cfg.py and restarting Mailman. Is there anything in Mailman's error log? I have attached a patch (list_reload.patch.txt) that addresses the issue I mention above. It may help, but I suspect some kind of NFS delays are involved. Try setting LIST_LOCK_DEBUGGING = On and report what's in the locks log. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: list_reload.patch.txt URL: From mark at msapiro.net Thu Jan 6 18:09:15 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 6 Jan 2011 09:09:15 -0800 Subject: [Mailman-Users] How to allow Poster to change default reply to fromthe list to the poster In-Reply-To: Message-ID: Jason Bilbrey wrote: >I have a mailing list and the default if a recipient chooses reply or >reply-to-all in their mail client is for the reply to go to the list. (This >is great for 99.9% of the time and exactly what I want). However in certain >situations I'd like to be able to send to the list but change the default >behavior when someone chooses reply or reply-to-all to reply only to the >original poster. > > > >Is that possible? Probably not in the way you envision. >Let give you an exact example to clear it up. I have a mailing list for >trivia enthusiasts and generally speaking I want people to be able to >discuss topics and everyone on the list to see the replies. Everyone once >in a while a person on the list makes up a trivia quiz and they want users >to reply with the answers only to the creator of the quiz... Inevitably >everyone once in a while someone clicks "reply" and replies with their >answers to the list instead of manually typing in the quiz creator's actual >email address. > > > >Is there a way that the quiz creator/poster (a member of the mailing list) >could send certain messages that alters the reply-to address from the >default of replying to the list, to reply to them directly instead? This is a problem of user education and there is no good solution in Mailman. As I see it you have two choices, neither of which will do what you want. One choice is to not mung reply-to at all. I.e. set first_strip_reply_to No and reply_goes_to_list to Poster. Then users need to reply-all or otherwise include the list in replies that should go to the list, or posters could include a Reply-To: header with the list address in every post whose replies should be on the list. Repliers would need to do this too. Obviously, your users have already proven that they cannot reliably address their mail appropriately, so this won't work. The other choice is to set reply_goes_to_list to This list as you have done, and this doesn't work in all cases either. In order to make this work better, you could moderate all users (or maybe just the slow learners) and reject their posts that shouldn't be on the list, but you may not want to do the moderation work. So you have to decide whether choice 1 - some replies that should be on the list aren't - or choice 2 - some replies that shouldn't be on the list are or a much increased moderator workload and the attendant moderation delays - is the lesser of two evils. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mprewitt at teris.com Thu Jan 6 19:54:06 2011 From: mprewitt at teris.com (Mark Prewitt) Date: Thu, 6 Jan 2011 10:54:06 -0800 Subject: [Mailman-Users] exclude lists question Message-ID: <0a4f01cbadd3$1a1b69e0$4e523da0$@com> Good Day, I have two lists that have essentially the same members except for one person. Unfortunately, they are client facing lists and we have different clients using them so we cannot combine them or eliminate one which would make this so much easier. List a has 5 people on it List b has 6 people on it When we send an email to lista & listb many of the people get 2 emails, so we put listb in the lista exclude list and lista in the listb exclude list. What happened then was surprising, no one got any emails, even the non-duped people (as far as I have been able to tell anyway). Anyone have an idea why this would happen and how to resolve it? I also have the opposite happening where the same setup with listc & listd and even though both are on each others' exclude lists, people are still getting 2 emails. I suspect this is a forward rule doing this as not everyone is getting duplicates, only some. Any help figuring this out would be greatly appreciated as well. We have about 170 lists on the server and are running a stock 2.1.13 version except the exclude list patch that is posted. Thoughts? (oh! It's on an Apple Xserve running 10.6.x) Mark Mark Prewitt Director of IT M: 503.984.9700 O: 206.521.8717 TERIS.com Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin | Dallas | Houston | Chicago TERIS Built on Experience Powered by Technology ---------------------------------------------------- NOTICE: This communication may contain privileged or confidential information and is protected from disclosure. If you have received this email in error, please delete this message and any attachments without replying, copying, or disclosing the contents and if possible inform the sender of the error. Thank you. From mailmanu-20100705 at billmail.scconsult.com Thu Jan 6 21:18:39 2011 From: mailmanu-20100705 at billmail.scconsult.com (Bill Cole) Date: Thu, 06 Jan 2011 15:18:39 -0500 Subject: [Mailman-Users] exclude lists question In-Reply-To: <0a4f01cbadd3$1a1b69e0$4e523da0$@com> References: <0a4f01cbadd3$1a1b69e0$4e523da0$@com> Message-ID: <4D26239F.1010607@billmail.scconsult.com> Mark Prewitt wrote, On 1/6/11 1:54 PM: > Good Day, > I have two lists that have essentially the same members except for one > person. Unfortunately, they are client facing lists and we have different > clients using them so we cannot combine them or eliminate one which would > make this so much easier. > > List a has 5 people on it > List b has 6 people on it > > When we send an email to lista& listb many of the people get 2 emails, so > we put listb in the lista exclude list and lista in the listb exclude list. > What happened then was surprising, no one got any emails, even the non-duped > people (as far as I have been able to tell anyway). This is as documented in the web interface's "details" page for regular_exclude_lists: Do not specify this list address mutually in the exclude list configuration page of the other list, or members of both lists won't get any message. > Anyone have an idea why this would happen and how to resolve it? This has been raised here before and answered, e.g. the second half of my long message at http://www.mail-archive.com/mailman-users at python.org/msg57524.html The setup I described there works, i.e. my regular_exclude_lists settings for 4 siblings is like this: list4: list1, list2, list3 list3: list1, list2 list2: list1 list1: (empty) This assures that no list excludes a sibling list that excludes it in return. From drew.tenenholz at isid.org Thu Jan 6 21:11:33 2011 From: drew.tenenholz at isid.org (Drew Tenenholz) Date: Thu, 6 Jan 2011 15:11:33 -0500 Subject: [Mailman-Users] Subscriber Counts - daily report Message-ID: All -- In our majordomo (yikes!) system, someone created some PERL and a cron to send a daily message to the list admins (and other interested parties) about the number of subscribers to individual lists and a de-duped total number of subscribers with columns for yesterday's total, today's total, difference, %change, and list name. Is anyone doing something similar in Mailman/Python? Are you willing to share your code? Thanks, Drew Tenenholz From Richard at Damon-Family.org Thu Jan 6 22:08:00 2011 From: Richard at Damon-Family.org (Richard Damon) Date: Thu, 06 Jan 2011 16:08:00 -0500 Subject: [Mailman-Users] How to allow Poster to change default reply to from the list to the poster In-Reply-To: References: Message-ID: <4fbci6l2hpb291ok98pi55h46k3h9amu00@4ax.com> On Wed, 5 Jan 2011 15:51:28 -0600, Jason Bilbrey wrote: >I have a mailing list and the default if a recipient chooses reply or >reply-to-all in their mail client is for the reply to go to the list. (This >is great for 99.9% of the time and exactly what I want). However in certain >situations I?d like to be able to send to the list but change the default >behavior when someone chooses reply or reply-to-all to reply only to the >original poster. > > > >Is that possible? > I see two possibilities. One is to change the settings so while you continue to add the reply to list header, you do not strip it out if present. Then the quizzer can add the reply to header and the list will leave that, but otherwise replies go to the list ... unless someone has their email program setup to add the reply to header to their mail, then replies to their messages will not automatically go to the list. A second solution is to have the quizzer add a token like [Quiz] to these messages, and set the list to automatically hold all messages with this token. You then accept the quiz, but reject the improperly sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding the Quiz up, but this assumes that everyone who messes up where to send the replies has their program properly set up to add the Re: Richard Damon From brad at shub-internet.org Thu Jan 6 22:58:41 2011 From: brad at shub-internet.org (Brad Knowles) Date: Thu, 6 Jan 2011 15:58:41 -0600 Subject: [Mailman-Users] Subscriber Counts - daily report In-Reply-To: References: Message-ID: <2F6EB373-B56C-4B02-BBFD-457A1FCEE67D@shub-internet.org> On Jan 6, 2011, at 2:11 PM, Drew Tenenholz wrote: > In our majordomo (yikes!) system, someone created some PERL and a cron to send a daily message to the list admins (and other interested parties) about the number of subscribers to individual lists and a de-duped total number of subscribers with columns for yesterday's total, today's total, difference, %change, and list name. Is anyone doing something similar in Mailman/Python? Are you willing to share your code? There is a script I created called "mmdsr" which lives in the /contrib section of the more recent releases of Mailman. Mark Sapiro has taken over maintenance of that script, so please feel free to feed any changes back to him and he can get them into the next release. -- Brad Knowles LinkedIn Profile: From mprewitt at teris.com Thu Jan 6 23:14:24 2011 From: mprewitt at teris.com (Mark Prewitt) Date: Thu, 6 Jan 2011 14:14:24 -0800 Subject: [Mailman-Users] exclude lists question In-Reply-To: <4D26239F.1010607@billmail.scconsult.com> References: <0a4f01cbadd3$1a1b69e0$4e523da0$@com> <4D26239F.1010607@billmail.scconsult.com> Message-ID: <0b0101cbadef$149ec6d0$3ddc5470$@com> Thanks.. Somehow I must have missed that not to mutually exclude note. I'll read the email and thread for more information. Mark Mark Prewitt Director of IT M: 503.984.9700 Seattle | San Francisco | Silicon Valley | San Diego | Phoenix | Austin | Dallas | Houston | Chicago ---------------------------------------------------- NOTICE: This communication may contain privileged or confidential information and is protected from disclosure. If you have received this email in error, please delete this message and any attachments without replying, copying, or disclosing the contents and if possible inform the sender of the error. Thank you. -----Original Message----- From: Bill Cole [mailto:mailmanu-20100705 at billmail.scconsult.com] Sent: Thursday, January 06, 2011 12:19 PM To: mailman-users at python.org Subject: Re: [Mailman-Users] exclude lists question Mark Prewitt wrote, On 1/6/11 1:54 PM: > Good Day, > I have two lists that have essentially the same members except for one > person. Unfortunately, they are client facing lists and we have different > clients using them so we cannot combine them or eliminate one which would > make this so much easier. > > List a has 5 people on it > List b has 6 people on it > > When we send an email to lista& listb many of the people get 2 emails, so > we put listb in the lista exclude list and lista in the listb exclude list. > What happened then was surprising, no one got any emails, even the non-duped > people (as far as I have been able to tell anyway). This is as documented in the web interface's "details" page for regular_exclude_lists: Do not specify this list address mutually in the exclude list configuration page of the other list, or members of both lists won't get any message. > Anyone have an idea why this would happen and how to resolve it? This has been raised here before and answered, e.g. the second half of my long message at http://www.mail-archive.com/mailman-users at python.org/msg57524.html The setup I described there works, i.e. my regular_exclude_lists settings for 4 siblings is like this: list4: list1, list2, list3 list3: list1, list2 list2: list1 list1: (empty) This assures that no list excludes a sibling list that excludes it in return. From adam-mailman at amyl.org.uk Fri Jan 7 00:38:21 2011 From: adam-mailman at amyl.org.uk (Adam McGreggor) Date: Thu, 6 Jan 2011 23:38:21 +0000 Subject: [Mailman-Users] Subscriber Counts - daily report In-Reply-To: References: Message-ID: <20110106233820.GC2565@hendricks.amyl.org.uk> On Thu, Jan 06, 2011 at 03:11:33PM -0500, Drew Tenenholz wrote: > In our majordomo (yikes!) system, someone created some PERL and a *cough* http://perldoc.perl.org/perlfaq1.html#What%27s-the-difference-between-%22perl%22-and-%22Perl%22%3f > cron to send a daily message to the list admins (and other interested > parties) about the number of subscribers to individual lists and a > de-duped total number of subscribers with columns for yesterday's > total, today's total, difference, %change, and list name. Is anyone > doing something similar in Mailman/Python? Are you willing to share > your code? My cobbled together ones (and some other Mailman bits, I've still not put all my bin-dirs in one place...) are at http://code.amyl.org.uk/adam/mailman-scripts/debian/ (warning, that's my own box, so waits until others are fixed, usually; if unavailable, try again a bit later on.) probably most useful (if, indeed, useful at all) are: list-members-count list-stats mailman-subs-count mlist-stats They do the jobs I wrote them for ;) Each does something slightly different, and there are almost certainly more elegant ways to do things. Most should just need changes to the variables to Just Work For You. Patches welcome... -- "Youth cannot know how age thinks and feels. But old men are guilty if they forget what it was to be young" -- Ch37, Order of the Phoenix, JK Rowling From mark at msapiro.net Fri Jan 7 00:49:09 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 06 Jan 2011 15:49:09 -0800 Subject: [Mailman-Users] Fwd: Re: How to allow Poster to change default reply to from the list to the poster Message-ID: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> Ironically, or perhaps appropriately, I fumbled the addressing of this reply. -------- Original Message -------- Subject: Re: [Mailman-Users] How to allow Poster to change default reply to from the list to the poster From: "Mark Sapiro" To: "Richard Damon" CC: "Richard Damon" wrote: > >I see two possibilities. > >One is to change the settings so while you continue to add the reply >to list header, you do not strip it out if present. Then the quizzer >can add the reply to header and the list will leave that, but >otherwise replies go to the list ... unless someone has their email >program setup to add the reply to header to their mail, then replies >to their messages will not automatically go to the list. This won't work in this context. The list address will just be added to the posters reply to and reply will go to both addresses. >A second solution is to have the quizzer add a token like [Quiz] to >these messages, and set the list to automatically hold all messages >with this token. You then accept the quiz, but reject the improperly >sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding >the Quiz up, but this assumes that everyone who messes up where to >send the replies has their program properly set up to add the Re: Good idea. -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From jason at bilbrey.me Fri Jan 7 01:13:28 2011 From: jason at bilbrey.me (Jason Bilbrey) Date: Thu, 6 Jan 2011 18:13:28 -0600 Subject: [Mailman-Users] Fwd: Re: How to allow Poster to change default reply to from the list to the poster In-Reply-To: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> References: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> Message-ID: The other idea I had was to create a 2nd mailing list with the exact same members and changing the reply for the 2nd list to go to the poster. That makes it easy for the poster... Just wish I could automatically sync to the two lists without having to manually add/remove people to the 2nd "mirrored" list... I still think the nicest idea would be the "listname at domain.com" and allow adding a "-replytome" tag...for example: "listname-replytome at domain.com". Simple, don't have to manage multiple lists and has the desired effect. There could be a checkbox in the config that allows the list admin to allow/disallow the "-replytome" tag... Anyway, thanks for all the various ideas. I appreciate everyone's suggestions! Jason On Thu, Jan 6, 2011 at 5:49 PM, Mark Sapiro wrote: > Ironically, or perhaps appropriately, I fumbled the addressing of this > reply. > > > > > -------- Original Message -------- > Subject: Re: [Mailman-Users] How to allow Poster to change default reply to > from the list to the poster > From: "Mark Sapiro" > To: "Richard Damon" > CC: > > > > "Richard Damon" wrote: > > > >I see two possibilities. > > > >One is to change the settings so while you continue to add the reply > >to list header, you do not strip it out if present. Then the quizzer > >can add the reply to header and the list will leave that, but > >otherwise replies go to the list ... unless someone has their email > >program setup to add the reply to header to their mail, then replies > >to their messages will not automatically go to the list. > > > This won't work in this context. The list address will just be added to the > posters reply to and reply will go to both addresses. > > > >A second solution is to have the quizzer add a token like [Quiz] to > >these messages, and set the list to automatically hold all messages > >with this token. You then accept the quiz, but reject the improperly > >sent replies. You could just filter on Re:.*\[Quiz\] to avoid holding > >the Quiz up, but this assumes that everyone who messes up where to > >send the replies has their program properly set up to add the Re: > > > Good idea. > > > -- > Mark Sapiro - mark at msapiro.net > > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > 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/jason%40bilbrey.me > From michael.capelle at charter.net Fri Jan 7 00:52:35 2011 From: michael.capelle at charter.net (Michael Capelle) Date: Thu, 6 Jan 2011 17:52:35 -0600 Subject: [Mailman-Users] globally unbouncing a group of subscribers. References: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> Message-ID: Hello there. I own a few lists, and we are having bouncing issues. How do I globally unbounce people, without going in and individually unboun cing them? thanks. mike From mark at msapiro.net Fri Jan 7 03:19:05 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 06 Jan 2011 18:19:05 -0800 Subject: [Mailman-Users] globally unbouncing a group of subscribers. In-Reply-To: References: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> Message-ID: <0f7fce2d-c057-45b0-9e35-67bb998ecba2@email.android.com> "Michael Capelle" wrote: >Hello there. >I own a few lists, and we are having bouncing issues. How do I >globally >unbounce people, without going in and individually unboun cing them? >thanks. >mike See http://www.msapiro.net/scripts/reset_bounce.py -- Mark Sapiro - mark at msapiro.net Sent from my Android phone with K-9 Mail. Please excuse my brevity. From stephen at xemacs.org Fri Jan 7 03:57:25 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Fri, 07 Jan 2011 11:57:25 +0900 Subject: [Mailman-Users] Fwd: Re: How to allow Poster to change default reply to from the list to the poster In-Reply-To: References: <7f1bece3-804a-4993-9979-701b1cd87d1d@email.android.com> Message-ID: <874o9lbeui.fsf@uwakimon.sk.tsukuba.ac.jp> Jason Bilbrey writes: > The other idea I had was to create a 2nd mailing list with the exact same > members and changing the reply for the 2nd list to go to the poster. That > makes it easy for the poster... Just wish I could automatically sync to the > two lists without having to manually add/remove people to the 2nd "mirrored" > list... Don't add members, add lists. Ie, the only member of the "reply to me" list is the discussion/ announcments list. I don't think "Poster" is appropriate here; you should set the reply-to explicitly to the quizmaster's address. If you have multiple quizmasters, you can have a separate owner password for that list only, and give it to the quizmasters so that they can reset the reply-to to their own address immediately before posting. There may be additional configuration you want to do, to make it look as though the quiz list is the same as the original, or maybe you don't. HTH From nainil.chheda at eclinicalworks.com Fri Jan 7 21:28:59 2011 From: nainil.chheda at eclinicalworks.com (Nainil C. Chheda) Date: Fri, 07 Jan 2011 15:28:59 -0500 Subject: [Mailman-Users] Automatic Reject Emails Larger than Size Message-ID: <4D27778B.2020606@eclinicalworks.com> Hi, I use Mailman Version: 2.1.5. How do I automatically Reject emails larger than the acceptable size specified for the list? I looked at a couple of threads but I couldn't get the right direction. I would appreciate a step by step help for a newbie. -- Nainil Chheda This transmission contains confidential information belonging to the sender that is legally privileged and proprietary and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. Please consider the environment and only print this e-mail if necessary. CONFIDENTIALITY NOTICE TO RECIPIENT: This transmission contains confidential information belonging to the sender that is legally privileged and proprietary and may be subject to protection under the law, including the Health Insurance Portability and Accountability Act (HIPAA). If you are not the intended recipient of this e-mail, you are prohibited from sharing, copying, or otherwise using or disclosing its contents. If you have received this e-mail in error, please notify the sender immediately by reply e-mail and permanently delete this e-mail and any attachments without reading, forwarding or saving them. Thank you. From mcmcfall at gmail.com Fri Jan 7 16:23:52 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Fri, 7 Jan 2011 10:23:52 -0500 Subject: [Mailman-Users] JPG Images not being filtered Message-ID: I had someone email out to the entire list an embedded jpg image that was not filtered, yet I have jpg on the list of file attachments to be filtered. Can embedded images not be filtered? Am I missing something? From mark at msapiro.net Sat Jan 8 01:21:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Jan 2011 16:21:14 -0800 Subject: [Mailman-Users] Automatic Reject Emails Larger than Size In-Reply-To: <4D27778B.2020606@eclinicalworks.com> Message-ID: Nainil C. Chheda wrote > >How do I automatically Reject emails larger than the acceptable size >specified for the list? You can set General Options -> max_message_size to establish the maximum acceptable size. However, this will result in large messages being held for moderator action. If you want to automatically reject or discard such messages without moderator action, you have to modify the code in Mailman/Handlers/Hold.py or implement a custom handler to do it. See the FAQ at for info on custom handlers. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Jan 8 01:39:52 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Jan 2011 16:39:52 -0800 Subject: [Mailman-Users] JPG Images not being filtered In-Reply-To: Message-ID: Mike McFall wrote: >I had someone email out to the entire list an embedded jpg image that was >not filtered, yet I have jpg on the list of file attachments to be >filtered. Can embedded images not be filtered? They can, but there are several possibilities. To filter on extension, the 'attachment' must have either a 'filename' parameter in its Content-Disposition header or a 'name' parameter in its Content-Type header. Then, the extension of that name must exactly match (including case in Mailman prior to 2.1.10) an extension in filter_filename_extensions. So, maybe the attachment didn't have a filename or name or it didn't match, e.g. it was jpeg and you only list jpg, or your Mailman is 2.1.9 or older and it was JPG and you only have jpg. It is advisable to include only those MIME types you want to accept in pass_mime_types, e.g. 'multipart', 'text/plain' and 'text/html' if that's all you want. Or, if pass_mime_types is empty, put 'image/jpeg' or even 'image' in filter_mime_types. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sat Jan 8 03:20:51 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 7 Jan 2011 21:20:51 -0500 (EST) Subject: [Mailman-Users] List on a different domain name? In-Reply-To: Message-ID: <6498519.2051.1294453251516.JavaMail.root@mail> >You can use Mailman on any number of domains. The only restriction with >standard GNU Mailman 2.1.x is tha list names must be globally unique >in the installation. >There are 3 components to this. >1) The web server must recognize the appropriate Mailman ScriptAlias, >Alias, etc. directives in all the domains. Here is the vhost mailman section: ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to. # AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all >2) The MTA must know how to deliver the mail to Mailman for all the >list addresses. I have created these on the MTA >3) There should be appropriate add_virtualhost() directives and for >Postfix integration with Postfix virtual domains, appropriate >POSTFIX_STYLE_VIRTUAL_DOMAINS entries in mm_cfg.py. Here is the mm_cfg.py config: ################################################## # Put YOUR site-specific settings below this line. DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'FQDN' DEFAULT_EMAIL_HOST = 'mail.domain.com' DEFAULT_URL_HOST = 'web.domain.com' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) #IMAGE_LOGOS = '/mailmanicons/' add_virtualhost('web.domain.com', 'mail.domain.com') POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com'] >See the FAQ at http://wiki.list.org/x/gIA9 for more, particularly the >part about fix_url. I do not see anything about fix_url anywhere on that link I can not get to http://domain.com/mailman/admin. Mailmanctl restart gives me bash: command not found. From mark at msapiro.net Sat Jan 8 03:48:06 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Jan 2011 18:48:06 -0800 Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <6498519.2051.1294453251516.JavaMail.root@mail> Message-ID: Chris Arnold wrote: [...] >Here is the mm_cfg.py config: >################################################## ># Put YOUR site-specific settings below this line. >DEFAULT_URL_PATTERN = 'http://%s/mailman/' >DEFAULT_NNTP_HOST = 'FQDN' >DEFAULT_EMAIL_HOST = 'mail.domain.com' >DEFAULT_URL_HOST = 'web.domain.com' >MTA = 'Postfix' >POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' >POSTFIX_MAP_CMD = '/usr/sbin/postmap' >DELIVERY_MODULE = 'SMTPDirect' >SMTPHOST = 'localhost' >SMTPPORT = '25' >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >#IMAGE_LOGOS = '/mailmanicons/' >add_virtualhost('web.domain.com', 'mail.domain.com') This duplicates the preceding add_virtualhost() because the literal domain names are the same as the values of DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST. >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com'] If some lists are in the 'lists.domain.com' domain, there should be add_virtualhost('someotherweb.domain.com', 'lists.domain.com') If all lists are in the 'lists.domain.com' domain, you should have DEFAULT_EMAIL_HOST = 'lists.domain.com' DEFAULT_URL_HOST = 'web.domain.com' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>See the FAQ at http://wiki.list.org/x/gIA9 for more, particularly the >>part about fix_url. >I do not see anything about fix_url anywhere on that link Its in the section "Existing versus new lists". It's also in other FAQs such as . >I can not get to http://domain.com/mailman/admin. Is there a Mailman ScriptAlias that applies to the 'domain.com' domain? Can you get to http://web.domain.com/mailman/admin ? >Mailmanctl restart gives me bash: command not found. what about /usr/lib/mailman/bin/mailmanctl restart or maybe service mailman restart if you have an init.d script? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sat Jan 8 04:17:48 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 7 Jan 2011 22:17:48 -0500 (EST) Subject: [Mailman-Users] List on a different domain name? In-Reply-To: Message-ID: <23536259.2066.1294456668946.JavaMail.root@mail> CA put forth: [...] >>Here is the mm_cfg.py config: >>################################################## >># Put YOUR site-specific settings below this line. >>DEFAULT_URL_PATTERN = 'http://%s/mailman/' >>DEFAULT_NNTP_HOST = 'FQDN' >>DEFAULT_EMAIL_HOST = 'mail.domain.com' >>DEFAULT_URL_HOST = 'web.domain.com' >>MTA = 'Postfix' >>POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' >>POSTFIX_MAP_CMD = '/usr/sbin/postmap' >>DELIVERY_MODULE = 'SMTPDirect' >>SMTPHOST = 'localhost' >>SMTPPORT = '25' >>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>#IMAGE_LOGOS = '/mailmanicons/' >>add_virtualhost('web.domain.com', 'mail.domain.com') >This duplicates the preceding add_virtualhost() because the literal >domain names are the same as the values of DEFAULT_URL_HOST and >DEFAULT_EMAIL_HOST. >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com'] >If some lists are in the 'lists.domain.com' domain, there should be >add_virtualhost('someotherweb.domain.com', 'lists.domain.com') >If all lists are in the 'lists.domain.com' domain, you should have We have 2 domains that i want to use with mailman, firstdomain.com and seconddomain.net. Should i have lists.firstdomain.com and lists.seconddomain.net? >DEFAULT_EMAIL_HOST = 'lists.domain.com' >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) New section of mm_cfg: # Put YOUR site-specific settings below this line. DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'web.domain.com' DEFAULT_EMAIL_HOST = 'web.domain.com' DEFAULT_URL_HOST = 'web.domain.com' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) #IMAGE_LOGOS = '/mailmanicons/' #add_virtualhost('web.domain.com', 'lists.domian.com') POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.net'] >>I can not get to http://domain.com/mailman/admin. >Is there a Mailman ScriptAlias that applies to the 'domain.com' domain? Here is said section: ServerAdmin administrator at domain.com ServerName domain.com ServerAlias domain.com # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. DocumentRoot /srv/www/htdocs/sites/MTwG # if not specified, the global error log is used ErrorLog /var/log/apache2/MTwG-error_log CustomLog /var/log/apache2/MTwG-access_log combined # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off # configures the footer on server-generated documents ServerSignature On # Optionally, include *.conf files from /etc/apache2/conf.d/ # # For example, to allow execution of PHP scripts: # # Include /etc/apache2/conf.d/mod_php4.conf # # or, to include all configuration snippets added by packages: # Include /etc/apache2/conf.d/*.conf # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to. # AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. # # To disable it, simply remove userdir from the list of modules in APACHE_MODULES # in /etc/sysconfig/apache2. # # Note that the name of the user directory ("public_html") cannot simply be # changed here, since it is a compile time setting. The apache package # would have to be rebuilt. You could work around by deleting # /usr/sbin/suexec, but then all scripts from the directories would be # executed with the UID of the webserver. UserDir public_html # The actual configuration of the directory is in # /etc/apache2/mod_userdir.conf. Include /etc/apache2/mod_userdir.conf # You can, however, change the ~ if you find it awkward, by mapping e.g. # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/ #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2 # # This should be changed to whatever you set DocumentRoot to. # # # Controls who can get stuff from this server. # Order allow,deny Allow from all >Can you get to http://web.domain.com/mailman/admin ? No. Or lists.domain.com/mailman/admin, ip/mailman/admin >>Mailmanctl restart gives me bash: command not found. Brain fart and got it restarted From carnold at electrichendrix.com Sat Jan 8 04:21:26 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Fri, 7 Jan 2011 22:21:26 -0500 (EST) Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <23536259.2066.1294456668946.JavaMail.root@mail> Message-ID: <32506905.2068.1294456886681.JavaMail.root@mail> CA put forth: [...] >>Here is the mm_cfg.py config: >>################################################## >># Put YOUR site-specific settings below this line. >>DEFAULT_URL_PATTERN = 'http://%s/mailman/' >>DEFAULT_NNTP_HOST = 'FQDN' >>DEFAULT_EMAIL_HOST = 'mail.domain.com' >>DEFAULT_URL_HOST = 'web.domain.com' >>MTA = 'Postfix' >>POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' >>POSTFIX_MAP_CMD = '/usr/sbin/postmap' >>DELIVERY_MODULE = 'SMTPDirect' >>SMTPHOST = 'localhost' >>SMTPPORT = '25' >>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >>#IMAGE_LOGOS = '/mailmanicons/' >>add_virtualhost('web.domain.com', 'mail.domain.com') >This duplicates the preceding add_virtualhost() because the literal >domain names are the same as the values of DEFAULT_URL_HOST and >DEFAULT_EMAIL_HOST. >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.com'] >If some lists are in the 'lists.domain.com' domain, there should be >add_virtualhost('someotherweb.domain.com', 'lists.domain.com') >If all lists are in the 'lists.domain.com' domain, you should have We have 2 domains that i want to use with mailman, firstdomain.com and seconddomain.net. Should i have lists.firstdomain.com and lists.seconddomain.net? >DEFAULT_EMAIL_HOST = 'lists.domain.com' >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) New section of mm_cfg: # Put YOUR site-specific settings below this line. DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'web.domain.com' DEFAULT_EMAIL_HOST = 'web.domain.com' DEFAULT_URL_HOST = 'web.domain.com' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) #IMAGE_LOGOS = '/mailmanicons/' #add_virtualhost('web.domain.com', 'lists.domian.com') POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain.net'] >>I can not get to http://domain.com/mailman/admin. >Is there a Mailman ScriptAlias that applies to the 'domain.com' domain? Here is said section: ServerAdmin administrator at domain.com ServerName domain.com ServerAlias domain.com # DocumentRoot: The directory out of which you will serve your # documents. By default, all requests are taken from this directory, but # symbolic links and aliases may be used to point to other locations. DocumentRoot /srv/www/htdocs/sites/MTwG # if not specified, the global error log is used ErrorLog /var/log/apache2/MTwG-error_log CustomLog /var/log/apache2/MTwG-access_log combined # don't loose time with IP address lookups HostnameLookups Off # needed for named virtual hosts UseCanonicalName Off # configures the footer on server-generated documents ServerSignature On # Optionally, include *.conf files from /etc/apache2/conf.d/ # # For example, to allow execution of PHP scripts: # # Include /etc/apache2/conf.d/mod_php4.conf # # or, to include all configuration snippets added by packages: # Include /etc/apache2/conf.d/*.conf # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /mailman/ "/usr/lib/mailman/cgi-bin/" # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have one, and where ScriptAlias points to. # AllowOverride None Options +ExecCGI -Includes Order allow,deny Allow from all # UserDir: The name of the directory that is appended onto a user's home # directory if a ~user request is received. # # To disable it, simply remove userdir from the list of modules in APACHE_MODULES # in /etc/sysconfig/apache2. # # Note that the name of the user directory ("public_html") cannot simply be # changed here, since it is a compile time setting. The apache package # would have to be rebuilt. You could work around by deleting # /usr/sbin/suexec, but then all scripts from the directories would be # executed with the UID of the webserver. UserDir public_html # The actual configuration of the directory is in # /etc/apache2/mod_userdir.conf. Include /etc/apache2/mod_userdir.conf # You can, however, change the ~ if you find it awkward, by mapping e.g. # http://www.example.com/users/karl-heinz/ --> /home/karl-heinz/public_html/ #AliasMatch ^/users/([a-zA-Z0-9-_.]*)/?(.*) /home/$1/public_html/$2 # # This should be changed to whatever you set DocumentRoot to. # # # Controls who can get stuff from this server. # Order allow,deny Allow from all >Can you get to http://web.domain.com/mailman/admin ? No. Or lists.domain.com/mailman/admin, ip/mailman/admin >>Mailmanctl restart gives me bash: command not found. Brain fart and got it restarted. When restarting mailman, i get this: Starting mailman (Warning: the Apache2 webinterface for Mailman has not been activated!) I googled this and found old results from 2005 and older. The "fixes" don't seem to pertain to up-to-date mailman From mark at msapiro.net Sat Jan 8 08:11:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 7 Jan 2011 23:11:07 -0800 Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <32506905.2068.1294456886681.JavaMail.root@mail> Message-ID: Chris Arnold wrote: >We have 2 domains that i want to use with mailman, firstdomain.com and seconddomain.net. Should i have lists.firstdomain.com and lists.seconddomain.net? Let's say you want the web interfaces at lists.firstdomain.com and lists.seconddomain.net respectively and the list email addresses to be like list1 at firstdomain.com and list2 at seconddomain.net respectively. Let's further assume that there will be more lists in the firstdomain.com domain. Then you would have DEFAULT_URL_HOST = 'lists.firstdomain.com' DEFAULT_EMAIL_HOST = 'firstdomain.com' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost('lists.seconddomain.net', 'seconddomain.net') You also want MTA = 'Postfix' and if both the mail domains are virtual in Postfix POSTFIX_STYLE_VIRTUAL_DOMAINS = ['firstdomain.com', 'seconddomain.net'] If one or both email domains is local in Postfix, it wouldn't appear in the above. If the email addresses should also be in the lists. domains, then add lists. to those domains above that don't have it. As for your other settings: >DEFAULT_URL_PATTERN = 'http://%s/mailman/' >DEFAULT_NNTP_HOST = 'web.domain.com' >POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' >POSTFIX_MAP_CMD = '/usr/sbin/postmap' >DELIVERY_MODULE = 'SMTPDirect' >SMTPHOST = 'localhost' >SMTPPORT = '25' These are all default values and thus redundant (but may provide documentation) except for DEFAULT_NNTP_HOST which sets the default news server for a list which uses Mail<->News gateways. >>>I can not get to http://domain.com/mailman/admin. > > >>Is there a Mailman ScriptAlias that applies to the 'domain.com' domain? >Here is said section: > > ServerAdmin administrator at domain.com > ServerName domain.com > ServerAlias domain.com So the only host that this applies to is domain.com. It doesn't apply to lists.firstdomain.com or lists.seconddomain.net unless you add those as ServerAlias in this VirtualHost or make similar VirtualHost blocks for them. [...] > >>Can you get to http://web.domain.com/mailman/admin ? >No. Or lists.domain.com/mailman/admin, ip/mailman/admin > >>>Mailmanctl restart gives me bash: command not found. >Brain fart and got it restarted. When restarting mailman, i get this: >Starting mailman (Warning: the Apache2 webinterface for Mailman has not been activated!) This may have do do with why you can't access Mailman's web pages at domain.com, but this is a message from a downstream package. I do the best I can to support even packaged versions of Mailman, but I don't know what to do about this. Your primary support resource for any downstream package should be the packager, not the upstream provider. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Sat Jan 8 18:03:36 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Sat, 8 Jan 2011 12:03:36 -0500 (EST) Subject: [Mailman-Users] List on a different domain name? In-Reply-To: Message-ID: <5133735.2316.1294506216821.JavaMail.root@mail> CA scratched his head and then wrote: >We have 2 domains that i want to use with mailman, firstdomain.com and seconddomain.net. Should i have lists.firstdomain.com and lists.seconddomain.net? >Let's say you want the web interfaces at lists.firstdomain.com and lists.seconddomain.net respectively and the list email addresses to be like list1 at firstdomain.com and list2 at seconddomain.net respectively. >Let's further assume that there will be more lists in the firstdomain.com domain. >Then you would have >DEFAULT_URL_HOST = 'lists.firstdomain.com' >DEFAULT_EMAIL_HOST = 'firstdomain.com' >VIRTUAL_HOSTS.clear() >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >add_virtualhost('lists.seconddomain.net', 'seconddomain.net') This use to work on a domain we had that has expired now and in fact when internal network users goto that old address, we can still use the old existing list. So i am not sure about the downstream and upstream packages you referred to. I have tried everything you have suggested and nothing seems to work. You helped me get the old expired domain list working and i seem to remember something about split lists or something split. Maybe i should bring forth the network servers setup: -mailman host= installed on domain.com which is our webserver (apache2 2.2.3), SLES10 SP3 with OES2 SP3. Has a separate postfix install that is not used (i seem to remember having to have this postfix instance send the email to our email server, more on this next). -email server= separate server with Zimbra 6.0.9 FOSS (this uses postfix) running on SLES10 SP3 with OES2 SP3.The maillist users have been created. I'm not sure what else info to give you from this server. I will happily give you remote access to the servers if you need it. From mark at msapiro.net Sat Jan 8 20:23:30 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 08 Jan 2011 11:23:30 -0800 Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <5133735.2316.1294506216821.JavaMail.root@mail> References: <5133735.2316.1294506216821.JavaMail.root@mail> Message-ID: <4D28B9B2.3060504@msapiro.net> On 1/8/2011 9:03 AM, Chris Arnold wrote: > This use to work on a domain we had that has expired now and in fact > when internal network users goto that old address, we can still use > the old existing list. So i am not sure about the downstream and > upstream packages you referred to. The upstream product is GNU Mailman as distributed by the Mailman project. This can be downloaded and installed following our installation documentation. It is also packaged by value-added resellers/distributors for "turn-key" installation on their systems (In your case apparently Novell/SLES). These are referred to as downstream packagers because they are downstream in the flow from the base or upstream product to you. Downstream packagers do many things to make a turn-key package that integrates Mailman with a web server and MTA. They may or may not do things in ways that we recommend, and except for the most common packages, we don't have a clue as to what they have done. That's why your first recourse for support should always be the packager. > I have tried everything you have > suggested and nothing seems to work. You helped me get the old > expired domain list working and i seem to remember something about > split lists or something split. Maybe i should bring forth the > network servers setup: -mailman host= installed on domain.com which > is our webserver (apache2 2.2.3), SLES10 SP3 with OES2 SP3. Has a > separate postfix install that is not used (i seem to remember having > to have this postfix instance send the email to our email server, > more on this next). -email server= separate server with Zimbra 6.0.9 > FOSS (this uses postfix) running on SLES10 SP3 with OES2 SP3.The > maillist users have been created. I'm not sure what else info to give > you from this server. I will happily give you remote access to the > servers if you need it. I am a volunteer. I neither ask nor receive any remuneration for what I do to support Mailman. I do it because I like to see people succeed in using Mailman, and because I am a "problem solver". There are however, limits to what I am willing or even able to do. If you like, you can mail me off list with the following information. What works. What doesn't work - expected and actual results. The contents of mm_cfg.py. ls -l of mailman's data/ directory The contents of data/aliases and, if it exists, data/virtual-mailman The output from postconf -n The contents of apache's httpd.conf and all included files All of the above with actual, unmunged domain names. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From melinko2003 at gmail.com Sun Jan 9 07:57:05 2011 From: melinko2003 at gmail.com (Llewellyn Curran) Date: Sat, 8 Jan 2011 23:57:05 -0700 Subject: [Mailman-Users] Mailman/Sendmail not accepting email's Message-ID: Hi All, I've recently started assisting a friend with a mailman build on his Centos 5.5 box. I followed: http://davmp.kimanddave.com/2008/03/30/installing-mailman-to-use-https-on-centos-51/but now im stuck I added my mail address, got the confirmation, went to the site, signed up and all that. I have to stay with sendmail due to my friends configuration at the moment. So I attempt to send my first mail, no joy, and I go to analyze my /var/log/maillog theres nothing there, so I login to telnet, and im able to send mail. So I throw TCPDump up using : tcpdump smtp, and send another mail from gmail. I see Gmail's mail server send the mail to the box, and then basically it disappears from there, no logs or anything? I've done around 8 hours of googling, and I still can't figure it out? Anyone? Kind Regards, -- Llewellyn G.S. Curran From mark at msapiro.net Sun Jan 9 16:47:16 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 9 Jan 2011 07:47:16 -0800 Subject: [Mailman-Users] Mailman/Sendmail not accepting email's In-Reply-To: Message-ID: Llewellyn Curran wrote: >I have to stay with sendmail due to my friends >configuration at the moment. So I attempt to send my first mail, no joy, and >I go to analyze my /var/log/maillog theres nothing there, so I login to >telnet, and im able to send mail. So I throw TCPDump up using : tcpdump >smtp, and send another mail from gmail. I see Gmail's mail server send the >mail to the box, and then basically it disappears from there, no logs or >anything? I've done around 8 hours of googling, and I still can't figure it >out? Anyone? Did you install the list aliases in /etc/aliases or wherever they go? If the incoming message is not logged in any way by sendmail, it never got to Mailman and this is a sendmail question, not a Mailman question. The first question is if sendmail answers the SMTP connect and accepts the mail, why is there nothing logged? Just in case it is a Mailman issue, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From carnold at electrichendrix.com Mon Jan 10 20:45:30 2011 From: carnold at electrichendrix.com (Chris Arnold) Date: Mon, 10 Jan 2011 14:45:30 -0500 (EST) Subject: [Mailman-Users] List on a different domain name? In-Reply-To: <4D28B9B2.3060504@msapiro.net> Message-ID: <4562245.2926.1294688730639.JavaMail.root@mail> On 1/8/2011 9:03 AM, C A wrote: > This use to work on a domain we had that has expired now and in fact > when internal network users goto that old address, we can still use > the old existing list. So i am not sure about the downstream and > upstream packages you referred to. >The upstream product is GNU Mailman as distributed by the Mailman >project. This can be downloaded and installed following our installation >documentation. It is also packaged by value-added resellers/distributors >for "turn-key" installation on their systems (In your case apparently >Novell/SLES). These are referred to as downstream packagers because they >are downstream in the flow from the base or upstream product to you. >Downstream packagers do many things to make a turn-key package that >integrates Mailman with a web server and MTA. They may or may not do >things in ways that we recommend, and except for the most common >packages, we don't have a clue as to what they have done. That's why >your first recourse for support should always be the packager. I did not install mailman from Novell/SuSE. I downloaded and installed from source. > I have tried everything you have > suggested and nothing seems to work. You helped me get the old > expired domain list working and i seem to remember something about > split lists or something split. Maybe i should bring forth the > network servers setup: -mailman host= installed on domain.com which > is our webserver (apache2 2.2.3), SLES10 SP3 with OES2 SP3. Has a > separate postfix install that is not used (i seem to remember having > to have this postfix instance send the email to our email server, > more on this next). -email server= separate server with Zimbra 6.0.9 > FOSS (this uses postfix) running on SLES10 SP3 with OES2 SP3.The > maillist users have been created. I'm not sure what else info to give > you from this server. I will happily give you remote access to the > servers if you need it. >I am a volunteer. I neither ask nor receive any remuneration for what I >do to support Mailman. I do it because I like to see people succeed in >using Mailman, and because I am a "problem solver". There are however, >limits to what I am willing or even able to do. I thank you for all that you do and in sharing the info you have filed away in your head. >If you like, you can mail me off list with the following information. >What works. >What doesn't work - expected and actual results. >The contents of mm_cfg.py. >ls -l of mailman's data/ directory >The contents of data/aliases and, if it exists, data/virtual-mailman >The output from postconf -n >The contents of apache's httpd.conf and all included files This is going to sound weird but i do not see any mailman data folders. Where should they be located? From umarzuki at gmail.com Mon Jan 10 16:17:09 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Mon, 10 Jan 2011 23:17:09 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/3 Mark Sapiro > > > Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in > mm_cfg.py and run /usr/lib/mailman/bin/genaliases again. > > even after that i'm having Jan 11 06:01:55 mail-server postfix/pipe[3864]: 3CE0419C8835: to=, relay=dovecot, delay=21649, delays=21633/13/0/2.4, dsn=4.3.0, status=deferred (temporary failure) any more idea? i don't know where else to look. -- Regards, Umarzuki Mochlis http://debmal.my From mark at msapiro.net Mon Jan 10 22:13:24 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 10 Jan 2011 13:13:24 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >2011/1/3 Mark Sapiro >> >> >> Yes. Undo the 4 steps above. Fix POSTFIX_STYLE_VIRTUAL_DOMAINS in >> mm_cfg.py and run /usr/lib/mailman/bin/genaliases again. >> >> even after that i'm having > >Jan 11 06:01:55 mail-server postfix/pipe[3864]: 3CE0419C8835: >to=, relay=dovecot, delay=21649, delays=21633/13/0/2.4, >dsn=4.3.0, status=deferred (temporary failure) > >any more idea? >i don't know where else to look. I have totally lost track of what you currently have. If you go back to what you reported at , the changes at the bottom of that post were almost there. The only thing wrong was POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] This should be POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail-server.mydomain.my'] If you go back to the configuration that follows "after i read ... i changed & added a few options in mm_cfg.py", correct POSTFIX_STYLE_VIRTUAL_DOMAINS and run bin/genaliases, I think it will work. If it doesn't, post: output from postconf -n output from ls -l /etc/mailman entire contents of mm_cfg.py -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From yahoo at 8es.com Tue Jan 11 07:40:42 2011 From: yahoo at 8es.com (yahoo) Date: Tue, 11 Jan 2011 01:40:42 -0500 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: References: Message-ID: <4D2BFB6A.50702@8es.com> v 2.1.9 >> b) /dev/null the attachments, both in delivery and archives. > > > > filter_content - Yes > filter_mime_types - empty > pass_mime_types - > multipart > message/rfc822 (allows plain text and converted HTML from attached > messages. Remove to filter attached messages) > text/plain > text/html > filter_filename_extensions - > exe bat cmd com pif scr vbs cpl > (these are defaults - this setting doesn't exist in 2.1.3) > pass_filename_extensions - empty; default; this setting doesn't exist > in 2.1.3) > collapse_alternatives - Yes (this setting doesn't exist in 2.1.3) > convert_html_to_plaintext - Yes > How do I filter out the "Part 1.2" leftovers? These are ASCII and seem to be the sig divider, and the sig contents. They are left on messages relieved of other attachments. From Werner.Spirk at lrz.de Tue Jan 11 12:58:30 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Tue, 11 Jan 2011 12:58:30 +0100 (MET) Subject: [Mailman-Users] German umlaut in From-line using outlook exchange with closed lists Message-ID: Mails sent from outlook exchange will not be sent to a closed list when there is a German umlaut within the name like From: =?iso-8859-1?Q?Mai=2C_G=FCnter?= in general: Mail sent From: =?iso-8859-1?Q?Surname=2C_Givenname?=
causes an undeliverable message by mailman sent to surname at mailman.lrz-muenchen.de, if the list in a closed list: Jan 11 10:32:16 lxmhs42 postfix/cleanup[1482]: 0F2DD1CD6DB5: message-id= Jan 11 10:32:16 lxmhs42 postfix/cleanup[1482]: 0F2DD1CD6DB5: warning: header Subject: Test mit Surname, Givenname from lxmhs42.srv.lrz.de[10.156.6.28]; from= to= proto=ESMTP helo= Jan 11 10:32:16 lxmhs42 postfix/qmgr[28553]: 0F2DD1CD6DB5: from=, size=2213, nrcpt=1 (queue active) Jan 11 10:32:16 lxmhs42 postfix/smtpd[1485]: disconnect from lxmhs42.srv.lrz.de[10.156.6.28] Jan 11 10:32:16 lxmhs42 postfix/smtp[1486]: 0F2DD1CD6DB5: to=, relay=postbulk.mail.lrz.de[129.187.255.22]:25, delay=0.08, delays=0.02/0.01/0.01/0.05, dsn=2.0.0, status=sent (250 2.0.0 Ok: queued as 15FD6200AFB4) Jan 11 10:32:16 lxmhs42 postfix/qmgr[28553]: 0F2DD1CD6DB5: removed with the content like: It is not allowd to you to send mails to this mailing list because you aren't member of the list. Outlook Exchange goes conform with RFC 2047 . Is there any patch for this problem? Thanks in advance From umarzuki at gmail.com Tue Jan 11 15:45:13 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Tue, 11 Jan 2011 22:45:13 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/11 Mark Sapiro > > If you go back to the configuration that follows "after i read ... i > changed & added a few options in mm_cfg.py", correct > POSTFIX_STYLE_VIRTUAL_DOMAINS and run bin/genaliases, I think it will > work. If it doesn't, post: > > i had done that although i may had messed somewhere else > output from postconf -n > output from ls -l /etc/mailman > entire contents of mm_cfg.py > > # postconf -n alias_database = hash:/etc/postfix/aliases alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases allow_min_user = no biff = no bounce_queue_lifetime = 1d broken_sasl_auth_clients = yes command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 delay_warning_time = 0h disable_vrfy_command = yes enable_original_recipient = no home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = ipv4 local_recipient_maps = mail_name = iRedMail mail_owner = postfix mail_version = 0.6.1 mailbox_command = /usr/libexec/dovecot/deliver mailbox_size_limit = 15728640 mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man maximal_backoff_time = 4000s maximal_queue_lifetime = 1d minimal_backoff_time = 300s mydestination = $myhostname, localhost, localhost.localdomain, localhost.$myhostname mydomain = mydomain.my myhostname = mail-server.mydomain.my mynetworks = 127.0.0.0/8 mynetworks_style = subnet myorigin = mail-server.mydomain.my newaliases_path = /usr/bin/newaliases.postfix proxy_read_maps = $canonical_maps $lmtp_generic_maps $local_recipient_maps $mydestination $mynetworks $recipient_bcc_maps $recipient_canonical_maps $relay_domains $relay_recipient_maps $relocated_maps $sender_bcc_maps $sender_canonical_maps $smtp_generic_maps $smtpd_sender_login_maps $transport_maps $virtual_alias_domains $virtual_alias_maps $virtual_mailbox_domains $virtual_mailbox_maps queue_directory = /var/spool/postfix queue_run_delay = 300s readme_directory = /usr/share/doc/postfix-2.5.9/README_FILES recipient_bcc_maps = proxy:ldap:/etc/postfix/ ldap_recipient_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ ldap_recipient_bcc_maps_user.cf recipient_delimiter = + relay_domains = $mydestination, proxy:ldap:/etc/postfix/ ldap_relay_domains.cf relay_recipient_maps = proxy:mysql:/etc/postfix/ mysql_virtual_mailbox_maps.cf sample_directory = /usr/share/doc/postfix-2.5.9/samples sender_bcc_maps = proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_domain.cf, proxy:ldap:/etc/postfix/ldap_sender_bcc_maps_user.cf sendmail_path = /usr/sbin/sendmail.postfix setgid_group = postdrop smtpd_data_restrictions = reject_unauth_pipelining smtpd_enforce_tls = no smtpd_helo_required = yes smtpd_helo_restrictions = permit_mynetworks,permit_sasl_authenticated, check_helo_access pcre:/etc/postfix/helo_access.pcre smtpd_recipient_restrictions = reject_unknown_recipient_domain, reject_non_fqdn_recipient, reject_unlisted_recipient, check_policy_service inet:127.0.0.1:7777, permit_mynetworks, permit_sasl_authenticated, reject_unauth_destination, check_policy_service inet:127.0.0.1:10031 smtpd_reject_unlisted_recipient = no smtpd_reject_unlisted_sender = yes smtpd_sasl_auth_enable = yes smtpd_sasl_authenticated_header = no smtpd_sasl_local_domain = smtpd_sasl_path = dovecot-auth smtpd_sasl_security_options = noanonymous smtpd_sasl_type = dovecot smtpd_sender_login_maps = proxy:ldap:/etc/postfix/ldap_sender_login_maps.cf smtpd_sender_restrictions = permit_mynetworks, reject_sender_login_mismatch, permit_sasl_authenticated smtpd_tls_cert_file = /etc/pki/tls/certs/iRedMail_CA.pem smtpd_tls_key_file = /etc/pki/tls/private/iRedMail.key smtpd_tls_loglevel = 0 smtpd_tls_security_level = may tls_random_source = dev:/dev/urandom transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, hash:/etc/mailman/transport-mailman unknown_local_recipient_reject_code = 550 virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf virtual_gid_maps = static:502 virtual_mailbox_base = /var/vmail virtual_mailbox_domains = proxy:ldap:/etc/postfix/ ldap_virtual_mailbox_domains.cf virtual_mailbox_maps = proxy:ldap:/etc/postfix/ldap_virtual_mailbox_maps.cf virtual_minimum_uid = 502 virtual_transport = dovecot virtual_uid_maps = static:502 # ls -l /etc/mailman/ total 220 -rw-r----- 1 root mailman 41 Dec 8 18:25 adm.pw -rw-rw---- 1 root mailman 33942 Jan 3 16:55 aliases -rw-r----- 1 root mailman 77824 Jan 3 16:55 aliases.db -rw-r----- 1 root mailman 41 Dec 8 18:26 creator.pw lrwxrwxrwx 1 root mailman 34 Dec 8 18:12 mm_cfg.py -> /usr/lib/mailman/Mailman/mm_cfg.py -rw-r--r-- 1 root mailman 14114 Jan 23 2008 sitelist.cfg -rw-rw-r-- 1 root mailman 24376 Jan 3 16:55 transport-mailman -rw-r--r-- 1 root mailman 45056 Jan 3 16:55 transport-mailman.db -rw-rw---- 1 root mailman 28283 Jan 3 16:55 virtual-mailman -rwxr-x--- 1 root mailman 141 Jan 3 16:48 virtual_to_transport # cat /etc/mailman/mm_cfg.py # -*- python -*- # Copyright (C) 1998,1999,2000,2001,2002 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. """This module contains your site-specific settings. >From a brand new distribution it should be copied to mm_cfg.py. If you already have an mm_cfg.py, be careful to add in only the new settings you want. Mailman's installation procedure will never overwrite your mm_cfg.py file. The complete set of distributed defaults, with documentation, are in the file Defaults.py. In mm_cfg.py, override only those you want to change, after the from Defaults import * line (see below). Note that these are just default settings; many can be overridden via the administrator and user interfaces on a per-list or per-user basis. """ ############################################### # Here's where we get the distributed defaults. from Defaults import * import pwd, grp ################################################## # Put YOUR site-specific settings below this line. ############################################################## # Here's where we override shipped defaults with settings # # suitable for the RPM package. # MAILMAN_UID = pwd.getpwnam('mailman')[2] MAILMAN_GID = grp.getgrnam('mailman')[2] ############################################################## # Set URL and email domain names # # # Mailman needs to know about (at least) two fully-qualified domain # names (fqdn) # # 1) the hostname used in your urls (DEFAULT_URL_HOST) # 2) the hostname used in email addresses for your domain (DEFAULT_EMAIL_HOST) # # For example, if people visit your Mailman system with # "http://www.dom.ain/mailman" then your url fqdn is "www.dom.ain", # and if people send mail to your system via "yourlist at dom.ain" then # your email fqdn is "dom.ain". DEFAULT_URL_HOST controls the former, # and DEFAULT_EMAIL_HOST controls the latter. Mailman also needs to # know how to map from one to the other (this is especially important # if you're running with virtual domains). You use # "add_virtualhost(urlfqdn, emailfqdn)" to add new mappings. # Default to using the FQDN of machine mailman is running on. # If this is not correct for your installation delete the following 5 # lines that acquire the FQDN and manually edit the hosts instead. POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail-server.mydomain.my'] from socket import * try: fqdn = getfqdn() except: fqdn = 'mm_cfg_has_unknown_host_domains' #DEFAULT_URL_HOST = fqdn DEFAULT_URL_HOST = "mail-server.mydomain.my" #DEFAULT_EMAIL_HOST = fqdn DEFAULT_EMAIL_HOST = "mail-server.mydomain.my" #VIRTUAL_HOSTS.clear() # Because we've overriden the virtual hosts above add_virtualhost # MUST be called after they have been defined. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, ) ############################################################## # Put YOUR site-specific configuration below, in mm_cfg.py . # # See Defaults.py for explanations of the values. # # Note - if you're looking for something that is imported from mm_cfg, but you # didn't find it above, it's probably in Defaults.py. MTA = 'Postfix' POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport' -- Regards, Umarzuki Mochlis http://debmal.my From mark at msapiro.net Tue Jan 11 18:07:32 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 11 Jan 2011 09:07:32 -0800 Subject: [Mailman-Users] A basic filtering MIME question In-Reply-To: <4D2BFB6A.50702@8es.com> Message-ID: yahoo wrote: > >How do I filter out the "Part 1.2" leftovers? These are ASCII and seem to >be the sig divider, and the sig contents. They are left on messages >relieved of other attachments. If the final message delivered from the list is a multipart message with just two parts and those parts are a text/plain message body and the text/plain msg_footer, this is a bug which I recently discovered. I have attached a patch which will fix this. This will be fixed in Mailman 2.1.15. If the final message has any other structure, e.g. a text/html body and the text/plain msg_footer, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: MimeDel.patch.txt URL: From mark at msapiro.net Tue Jan 11 19:54:01 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 11 Jan 2011 10:54:01 -0800 Subject: [Mailman-Users] German umlaut in From-line using outlook exchangewith closed lists In-Reply-To: Message-ID: Werner Spirk wrote: > >Mails sent from outlook exchange will not be sent to a closed list >when there is a German umlaut within the name like > >From: =?iso-8859-1?Q?Mai=2C_G=FCnter?= > >in general: > >Mail sent >From: =?iso-8859-1?Q?Surname=2C_Givenname?=
> >causes an undeliverable message by mailman sent to >surname at mailman.lrz-muenchen.de, if the list in a closed list: It is not the umlaut that causes the problem. It is the comma. >Outlook Exchange goes conform with RFC 2047 . You are correct, but this is tricky. The intent of RFC 2047 section 5, rule 3 is that an encoded word such as =?iso-8859-1?Q?Mai=2C_G=FCnter?= when used as the real name portion of an address will not contain any of the characters which are not allowed unquoted in this context, and this is true of that encoded word. However, Mailman looks at the From: header, and because of the way it processes this, it sees an ascii decoded header value which looks like 'Mai, G?nter '. It then parses this and gets two email addresses, 'mai' and 'guenter.mai at lrz.de' because of the unquoted comma. For some purposes, such as determining whether a post is from a list member, Mailman considers all the addresses and will determine that this is from a list member if 'guenter.mai at lrz.de' is a member, but if the post is held for some reason such as 'guenter.mai at lrz.de' is moderated, the notice to the user will be sent to only the first address 'mai' which is invalid. So, yes, you are correct that Mailman is not doing the right thing here. I've developed a patch that I think will fix this without any other side effects. I've attached that as rfc2047.patch.txt. Please try this patch and see if it solves your problems. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: rfc2047.patch.txt URL: From mark at msapiro.net Wed Jan 12 02:32:49 2011 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 11 Jan 2011 17:32:49 -0800 Subject: [Mailman-Users] {Disarmed} Re: User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: >> ># postconf -n >alias_database = hash:/etc/postfix/aliases >alias_maps = hash:/etc/postfix/aliases, hash:/var/lib/mailman/data/aliases Good. [...] >mydestination = $myhostname, localhost, localhost.localdomain, >localhost.$myhostname >mydomain = mydomain.my >myhostname = mail-server.mydomain.my So mail-server.mydomain.my is in mydestination and is thus a postfix local domain, yet it seems to use the dovecot LDA rather than Postfix local delivery. [...] >relay_domains = $mydestination, proxy:ldap:/etc/postfix/ >ldap_relay_domains.cf >relay_recipient_maps = proxy:mysql:/etc/postfix/ >mysql_virtual_mailbox_maps.cf But here, $mydestination is a relay domain so possibly relay_recipient_maps is overriding transport_maps and that is why list addresses are relayed to dovecot rather than local [...] >transport_maps = proxy:ldap:/etc/postfix/ldap_transport_maps_user.cf, >proxy:ldap:/etc/postfix/ldap_transport_maps_domain.cf, >hash:/etc/mailman/transport-mailman OK > ># ls -l /etc/mailman/ >total 220 >-rw-r----- 1 root mailman 41 Dec 8 18:25 adm.pw >-rw-rw---- 1 root mailman 33942 Jan 3 16:55 aliases >-rw-r----- 1 root mailman 77824 Jan 3 16:55 aliases.db >-rw-r----- 1 root mailman 41 Dec 8 18:26 creator.pw >lrwxrwxrwx 1 root mailman 34 Dec 8 18:12 mm_cfg.py -> >/usr/lib/mailman/Mailman/mm_cfg.py >-rw-r--r-- 1 root mailman 14114 Jan 23 2008 sitelist.cfg >-rw-rw-r-- 1 root mailman 24376 Jan 3 16:55 transport-mailman >-rw-r--r-- 1 root mailman 45056 Jan 3 16:55 transport-mailman.db >-rw-rw---- 1 root mailman 28283 Jan 3 16:55 virtual-mailman >-rwxr-x--- 1 root mailman 141 Jan 3 16:48 virtual_to_transport OK ># cat /etc/mailman/mm_cfg.py ># -*- python -*- [...] >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mail-server.mydomain.my'] Good. [...] >#DEFAULT_URL_HOST = fqdn >DEFAULT_URL_HOST = "mail-server.mydomain.my" >#DEFAULT_EMAIL_HOST = fqdn >DEFAULT_EMAIL_HOST = "mail-server.mydomain.my" >#VIRTUAL_HOSTS.clear() Better to uncomment the above VIRTUAL_HOSTS.clear() but it doesn't affect this issue. ># Because we've overriden the virtual hosts above add_virtualhost ># MUST be called after they have been defined. > >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST, ) Good. [...] >MTA = 'Postfix' >POSTFIX_MAP_CMD = '/etc/mailman/virtual_to_transport' Good. This all looks good except the Postfix things I noted above. The hash:/etc/mailman/transport-mailman entry in transport_maps should specify the 'local' transport for the list addresses, but somehow this is overriden, possibly by relay_recipient_maps, and the dovecot LDA is used for these addresses. This is why it doesn't work. Exactly what to do to fix it is beyond my Postfix expertise. It seems to me that transport_maps should take priority in defining the transport used for a matching address. Have you redefined the 'local' transport in master.cf to use dovecot? If so, this can't work with Mailman. If so, you could define another transport, say 'reallylocal' to use postfix local delivery, and modify the sed command in /etc/mailman/virtual_to_transport to specify that transport. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Werner.Spirk at lrz.de Wed Jan 12 15:01:28 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Wed, 12 Jan 2011 15:01:28 +0100 (MET) Subject: [Mailman-Users] German umlaut in From-line using outlook exchangewith closed lists In-Reply-To: References: Message-ID: Hello Mark, I put in your patch and it works !! Thank you very much Werner On Tue, 11 Jan 2011, Mark Sapiro wrote: > Werner Spirk wrote: > > > > >Mails sent from outlook exchange will not be sent to a closed list > >when there is a German umlaut within the name like > > > >From: =?iso-8859-1?Q?Mai=2C_G=FCnter?= > > > >in general: > > > >Mail sent > >From: =?iso-8859-1?Q?Surname=2C_Givenname?=
> > > >causes an undeliverable message by mailman sent to > >surname at mailman.lrz-muenchen.de, if the list in a closed list: > > > It is not the umlaut that causes the problem. It is the comma. > > > >Outlook Exchange goes conform with RFC 2047 . > > > You are correct, but this is tricky. The intent of RFC 2047 section 5, > rule 3 is that an encoded word such as > =?iso-8859-1?Q?Mai=2C_G=FCnter?= when used as the real name portion of > an address will not contain any of the characters which are not > allowed unquoted in this context, and this is true of that encoded > word. > > However, Mailman looks at the From: header, and because of the way it > processes this, it sees an ascii decoded header value which looks like > 'Mai, G?nter '. It then parses this and gets two > email addresses, 'mai' and 'guenter.mai at lrz.de' because of the > unquoted comma. > > For some purposes, such as determining whether a post is from a list > member, Mailman considers all the addresses and will determine that > this is from a list member if 'guenter.mai at lrz.de' is a member, but > if the post is held for some reason such as 'guenter.mai at lrz.de' is > moderated, the notice to the user will be sent to only the first > address 'mai' which is invalid. > > So, yes, you are correct that Mailman is not doing the right thing here. > > I've developed a patch that I think will fix this without any other > side effects. I've attached that as rfc2047.patch.txt. Please try this > patch and see if it solves your problems. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > +--------------------------------------------------------------------+ | Werner Spirk . . Tel.: +49 89 35831 8707 | | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | | Boltzmannstr. 1 | | | | | | 85748 Garching |o| |o| Email: Spirk at lrz.de | | | |/\| | | | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | +--------------------------------------------------------------------+ From Werner.Spirk at lrz.de Wed Jan 12 15:08:56 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Wed, 12 Jan 2011 15:08:56 +0100 (MET) Subject: [Mailman-Users] German umlaut in From-line using outlook exchangewith closed lists In-Reply-To: References: Message-ID: On Wed, 12 Jan 2011, Werner Spirk wrote: > > Hello Mark, > > I put in your patch and it works !! That was mine: the test was sent to an open list sorry -- it didn't do here the diffs ( are the patches correct?): diff Message.py Message.py.orig 1c1 < # Copyright (C) 1998-2011 by the Free Software Foundation, Inc. --- > # Copyright (C) 1998-2009 by the Free Software Foundation, Inc. 154,156c154 < # Actually, just get the raw header as one line in case the < # decoded words contain a comma. < fieldval = Utils.oneline(fieldval, 'us-ascii', raw=True) --- > fieldval = Utils.oneline(fieldval, 'us-ascii') 212c210 < fieldvals = [Utils.oneline(fv, 'us-ascii', raw=True) --- > fieldvals = [Utils.oneline(fv, 'us-ascii') diff Utils.py U.orig UserDesc.py Utils.py Utils.py.orig UserDesc.pyc Utils.pyc Utils.py.roig lxmhs42 mailman/Mailman> diff Utils.py Utils.py.orig 1c1 < # Copyright (C) 1998-2011 by the Free Software Foundation, Inc. --- > # Copyright (C) 1998-2010 by the Free Software Foundation, Inc. 889,892c889 < def oneline(s, cset, raw=False): < if raw: < # Just return the header as one line without decoding < return EMPTYSTRING.join(s.splitlines()) --- > def oneline(s, cset): Werner > > Thank you very much > > Werner > > > > On Tue, 11 Jan 2011, Mark Sapiro wrote: > > > Werner Spirk wrote: > > > > > > > >Mails sent from outlook exchange will not be sent to a closed list > > >when there is a German umlaut within the name like > > > > > >From: =?iso-8859-1?Q?Mai=2C_G=FCnter?= > > > > > >in general: > > > > > >Mail sent > > >From: =?iso-8859-1?Q?Surname=2C_Givenname?=
> > > > > >causes an undeliverable message by mailman sent to > > >surname at mailman.lrz-muenchen.de, if the list in a closed list: > > > > > > It is not the umlaut that causes the problem. It is the comma. > > > > > > >Outlook Exchange goes conform with RFC 2047 . > > > > > > You are correct, but this is tricky. The intent of RFC 2047 section 5, > > rule 3 is that an encoded word such as > > =?iso-8859-1?Q?Mai=2C_G=FCnter?= when used as the real name portion of > > an address will not contain any of the characters which are not > > allowed unquoted in this context, and this is true of that encoded > > word. > > > > However, Mailman looks at the From: header, and because of the way it > > processes this, it sees an ascii decoded header value which looks like > > 'Mai, G?nter '. It then parses this and gets two > > email addresses, 'mai' and 'guenter.mai at lrz.de' because of the > > unquoted comma. > > > > For some purposes, such as determining whether a post is from a list > > member, Mailman considers all the addresses and will determine that > > this is from a list member if 'guenter.mai at lrz.de' is a member, but > > if the post is held for some reason such as 'guenter.mai at lrz.de' is > > moderated, the notice to the user will be sent to only the first > > address 'mai' which is invalid. > > > > So, yes, you are correct that Mailman is not doing the right thing here. > > > > I've developed a patch that I think will fix this without any other > > side effects. I've attached that as rfc2047.patch.txt. Please try this > > patch and see if it solves your problems. > > > > -- > > Mark Sapiro The highway is for gamblers, > > San Francisco Bay Area, California better use your sense - B. Dylan > > > > > > > +--------------------------------------------------------------------+ > | Werner Spirk . . Tel.: +49 89 35831 8707 | > | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | > | Boltzmannstr. 1 | | | | | > | 85748 Garching |o| |o| Email: Spirk at lrz.de | > | | |/\| | | > | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | > +--------------------------------------------------------------------+ > +--------------------------------------------------------------------+ | Werner Spirk . . Tel.: +49 89 35831 8707 | | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | | Boltzmannstr. 1 | | | | | | 85748 Garching |o| |o| Email: Spirk at lrz.de | | | |/\| | | | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | +--------------------------------------------------------------------+ From Werner.Spirk at lrz.de Wed Jan 12 15:56:51 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Wed, 12 Jan 2011 15:56:51 +0100 (MET) Subject: [Mailman-Users] German umlaut in From-line using outlook exchangewith closed lists In-Reply-To: References: Message-ID: On Wed, 12 Jan 2011, Werner Spirk wrote: > On Wed, 12 Jan 2011, Werner Spirk wrote: > > > > > Hello Mark, > > > > I put in your patch and it works !! > > That was mine: the test was sent to an open list > sorry -- it didn't do > That's not really correct. There are three cases: 1. the patch works if the sender is within the closed list 2. it doesn't work if the sender is in accept_these_nonmembers 3. the DSN goes to the wrong address if the sender is not allowed to post to the list Best regards Werner > > > > On Tue, 11 Jan 2011, Mark Sapiro wrote: > > > > > Werner Spirk wrote: > > > > > > > > > > >Mails sent from outlook exchange will not be sent to a closed list > > > >when there is a German umlaut within the name like > > > > > > > >From: =?iso-8859-1?Q?Mai=2C_G=FCnter?= > > > > > > > >in general: > > > > > > > >Mail sent > > > >From: =?iso-8859-1?Q?Surname=2C_Givenname?=
> > > > > > > >causes an undeliverable message by mailman sent to > > > >surname at mailman.lrz-muenchen.de, if the list in a closed list: > > > > > > > > > It is not the umlaut that causes the problem. It is the comma. > > > > > > > > > >Outlook Exchange goes conform with RFC 2047 . > > > > > > > > > You are correct, but this is tricky. The intent of RFC 2047 section 5, > > > rule 3 is that an encoded word such as > > > =?iso-8859-1?Q?Mai=2C_G=FCnter?= when used as the real name portion of > > > an address will not contain any of the characters which are not > > > allowed unquoted in this context, and this is true of that encoded > > > word. > > > > > > However, Mailman looks at the From: header, and because of the way it > > > processes this, it sees an ascii decoded header value which looks like > > > 'Mai, G?nter '. It then parses this and gets two > > > email addresses, 'mai' and 'guenter.mai at lrz.de' because of the > > > unquoted comma. > > > > > > For some purposes, such as determining whether a post is from a list > > > member, Mailman considers all the addresses and will determine that > > > this is from a list member if 'guenter.mai at lrz.de' is a member, but > > > if the post is held for some reason such as 'guenter.mai at lrz.de' is > > > moderated, the notice to the user will be sent to only the first > > > address 'mai' which is invalid. > > > > > > So, yes, you are correct that Mailman is not doing the right thing here. > > > > > > I've developed a patch that I think will fix this without any other > > > side effects. I've attached that as rfc2047.patch.txt. Please try this > > > patch and see if it solves your problems. > > > > > > -- > > > Mark Sapiro The highway is for gamblers, > > > San Francisco Bay Area, California better use your sense - B. Dylan > > > > > > > > > > > > +--------------------------------------------------------------------+ > > | Werner Spirk . . Tel.: +49 89 35831 8707 | > > | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | > > | Boltzmannstr. 1 | | | | | > > | 85748 Garching |o| |o| Email: Spirk at lrz.de | > > | | |/\| | | > > | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | > > +--------------------------------------------------------------------+ > > > > > +--------------------------------------------------------------------+ > | Werner Spirk . . Tel.: +49 89 35831 8707 | > | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | > | Boltzmannstr. 1 | | | | | > | 85748 Garching |o| |o| Email: Spirk at lrz.de | > | | |/\| | | > | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | > +--------------------------------------------------------------------+ > +--------------------------------------------------------------------+ | Werner Spirk . . Tel.: +49 89 35831 8707 | | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | | Boltzmannstr. 1 | | | | | | 85748 Garching |o| |o| Email: Spirk at lrz.de | | | |/\| | | | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | +--------------------------------------------------------------------+ From hansen at rc.org Wed Jan 12 11:08:17 2011 From: hansen at rc.org (Allan Hansen) Date: Wed, 12 Jan 2011 02:08:17 -0800 Subject: [Mailman-Users] Missing password reminders Message-ID: Hi all, I run Mailman 2.1.13 under Mac OS X Server 10.5.8. The mail delivery works fine (so far), but some of my subscribers insist that they are not getting the password reminders. One uses Google Mail, another Earthlink, so it's not provider specific. They assure me that the password reminder is not in their spam folder. The lists have password reminders turned on and the users have password reminders turned on. For the users that complain, I don't have bounces resulting from the reminders. Other users of the same lists get password reminders just fine. I looked through the archives and did not find anything indicating that I'm not the only one with this problem. Thus my message here. Thanks, Allan -- Allan Hansen P.O Box 2423 Cypress, CA 90630 U.S.A. hansen at rc.org +1-714-875-8870 From mark at msapiro.net Wed Jan 12 15:56:49 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 06:56:49 -0800 Subject: [Mailman-Users] German umlaut in From-line using outlookexchangewith closed lists In-Reply-To: Message-ID: Werner Spirk wrote: >> >> I put in your patch and it works !! > >That was mine: the test was sent to an open list >sorry -- it didn't do What exactly doesn't work in this case? How is the list configured and exactly what went wrong? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mcmcfall at gmail.com Wed Jan 12 16:05:18 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Wed, 12 Jan 2011 10:05:18 -0500 Subject: [Mailman-Users] AOL email not getting messages Message-ID: I have a subscriber who is using AOL for email, and she isn't receiving messages that are sent out to the mail list. She can send them out from her AOL email, but isn't getting any. Any ideas? From mark at msapiro.net Wed Jan 12 16:18:33 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 07:18:33 -0800 Subject: [Mailman-Users] German umlaut in From-line using outlookexchangewith closed lists In-Reply-To: Message-ID: Werner Spirk wrote: > >That's not really correct. >There are three cases: > >1. the patch works if the sender is within the closed list >2. it doesn't work if the sender is in accept_these_nonmembers >3. the DSN goes to the wrong address if the sender is not allowed > to post to the list This is the behavior I would expect without the patch. Did you restart Mailman after applying the patches? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Ralf.Hildebrandt at charite.de Wed Jan 12 16:25:26 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 12 Jan 2011 16:25:26 +0100 Subject: [Mailman-Users] AOL email not getting messages In-Reply-To: References: Message-ID: <20110112152526.GG15314@charite.de> * Mike McFall : > I have a subscriber who is using AOL for email, and she isn't receiving > messages that are sent out to the mail list. The settings for her a set in a way that she IS supposed to receive mail? > She can send them out from her AOL email, but isn't getting any. > > Any ideas? Check your logs! -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From mcmcfall at gmail.com Wed Jan 12 16:33:11 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Wed, 12 Jan 2011 10:33:11 -0500 Subject: [Mailman-Users] AOL email not getting messages In-Reply-To: <20110112152526.GG15314@charite.de> References: <20110112152526.GG15314@charite.de> Message-ID: The only boxes in her subscription that are checked are "nodupes" and "plain" just like everyone else. On Wed, Jan 12, 2011 at 10:25 AM, Ralf Hildebrandt < Ralf.Hildebrandt at charite.de> wrote: > * Mike McFall : > > I have a subscriber who is using AOL for email, and she isn't receiving > > messages that are sent out to the mail list. > > The settings for her a set in a way that she IS supposed to receive > mail? > > > She can send them out from her AOL email, but isn't getting any. > > > > Any ideas? > > Check your logs! > > -- > Ralf Hildebrandt > Gesch?ftsbereich IT | Abteilung Netzwerk > Charit? - Universit?tsmedizin Berlin > Campus Benjamin Franklin > Hindenburgdamm 30 | D-12203 Berlin > Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 > ralf.hildebrandt at charite.de | http://www.charite.de > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > 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/mcmcfall%40gmail.com From Ralf.Hildebrandt at charite.de Wed Jan 12 16:35:44 2011 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 12 Jan 2011 16:35:44 +0100 Subject: [Mailman-Users] AOL email not getting messages In-Reply-To: References: <20110112152526.GG15314@charite.de> Message-ID: <20110112153544.GH15314@charite.de> * Mike McFall : > The only boxes in her subscription that are checked are "nodupes" and > "plain" just like everyone else. OK! > > Check your logs! What about those? -- Ralf Hildebrandt Gesch?ftsbereich IT | Abteilung Netzwerk Charit? - Universit?tsmedizin Berlin Campus Benjamin Franklin Hindenburgdamm 30 | D-12203 Berlin Tel. +49 30 450 570 155 | Fax: +49 30 450 570 962 ralf.hildebrandt at charite.de | http://www.charite.de From Werner.Spirk at lrz.de Wed Jan 12 16:37:21 2011 From: Werner.Spirk at lrz.de (Werner Spirk) Date: Wed, 12 Jan 2011 16:37:21 +0100 (MET) Subject: [Mailman-Users] German umlaut in From-line using outlookexchangewith closed lists In-Reply-To: References: Message-ID: On Wed, 12 Jan 2011, Mark Sapiro wrote: > Werner Spirk wrote: > > > >That's not really correct. > >There are three cases: > > > >1. the patch works if the sender is within the closed list > >2. it doesn't work if the sender is in accept_these_nonmembers > >3. the DSN goes to the wrong address if the sender is not allowed > > to post to the list > > > This is the behavior I would expect without the patch. Did you restart > Mailman after applying the patches? OK - you are right: I did'nt restart mailman. Sorry for that Thanks a lot Werner > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > +--------------------------------------------------------------------+ | Werner Spirk . . Tel.: +49 89 35831 8707 | | Leibniz-Rechenzentrum (_) (_) Fax : +49 89 35831 8507 | | Boltzmannstr. 1 | | | | | | 85748 Garching |o| |o| Email: Spirk at lrz.de | | | |/\| | | | Deutschland bei M?nchen http://www.lrz.de/~spirk/ | +--------------------------------------------------------------------+ From mark at msapiro.net Wed Jan 12 16:46:02 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 07:46:02 -0800 Subject: [Mailman-Users] AOL email not getting messages In-Reply-To: Message-ID: Mike McFall wrote: >The only boxes in her subscription that are checked are "nodupes" and >"plain" just like everyone else. Are there other AOL users that receive posts? If so, it may be some filtering in her own AOL account. She should try adding the LISTNAME-bounces at LIST.DOMAIN address to her AOL address book. If not, see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Wed Jan 12 16:41:32 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Wed, 12 Jan 2011 23:41:32 +0800 Subject: [Mailman-Users] {Disarmed} Re: User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/12 Mark Sapiro Have you redefined the 'local' transport in master.cf to use dovecot? > If so, this can't work with Mailman. If so, you could define another > transport, say 'reallylocal' to use postfix local delivery, and modify > the sed command in /etc/mailman/virtual_to_transport to specify that > transport. > > did you mean these: # Use dovecot deliver program as LDA. dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain} procmail unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc smtp-amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings # Bypass checks for internally generated mail. pickup fifo n - n 60 1 pickup -o content_filter= submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 # Use dovecot deliver program as LDA. dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain} procmail unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc smtp-amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings is there any document that you could point me to achieve what you had suggested? Many thanks. -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From mcmcfall at gmail.com Wed Jan 12 17:17:43 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Wed, 12 Jan 2011 11:17:43 -0500 Subject: [Mailman-Users] AOL email not getting messages In-Reply-To: References: Message-ID: I didn't do anything, but for some reason she just started receiving emails. Thanks for your help! On Wed, Jan 12, 2011 at 10:46 AM, Mark Sapiro wrote: > Mike McFall wrote: > > >The only boxes in her subscription that are checked are "nodupes" and > >"plain" just like everyone else. > > > Are there other AOL users that receive posts? If so, it may be some > filtering in her own AOL account. She should try adding the > LISTNAME-bounces at LIST.DOMAIN address to her AOL address book. > > If not, see the FAQ at . > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > From lstone19 at stonejongleux.com Wed Jan 12 17:13:22 2011 From: lstone19 at stonejongleux.com (Larry Stone) Date: Wed, 12 Jan 2011 10:13:22 -0600 (CST) Subject: [Mailman-Users] Missing password reminders In-Reply-To: References: Message-ID: On Wed, 12 Jan 2011, Allan Hansen wrote: > Hi all, > > I run Mailman 2.1.13 under Mac OS X Server 10.5.8. The mail delivery works > fine (so far), but some of my subscribers insist that they are not getting > the password reminders. One uses Google Mail, another Earthlink, so it's > not provider specific. They assure me that the password reminder is not in > their spam folder. The lists have password reminders turned on and the > users have password reminders turned on. For the users that complain, I > don't have bounces resulting from the reminders. Other users of the same > lists get password reminders just fine. First, determine if it's actually your problem and if so, is it a Mailman problem or someplace else on your system. look at your mail server logs and see if the message went out. If the password reminder message is being accepted by their provider, then it is not your problem. If you don't see it being accepted, then determine where things are failing on your system. Is Mailman giving it to the mail server (Postfix on a Macintosh)? Once Postfix has it, Mailman has done its job. -- Larry Stone lstone19 at stonejongleux.com From mark at msapiro.net Wed Jan 12 17:26:51 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 08:26:51 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >2011/1/12 Mark Sapiro > >Have you redefined the 'local' transport in master.cf to use dovecot? >> If so, this can't work with Mailman. If so, you could define another >> transport, say 'reallylocal' to use postfix local delivery, and modify >> the sed command in /etc/mailman/virtual_to_transport to specify that >> transport. >> >> >did you mean these: > ># Use dovecot deliver program as LDA. >dovecot unix - n n - - pipe > flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f >${sender} -d ${user}@${domain} >procmail unix - n n - - pipe > flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} >RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} >EXTENSION=${extension} /etc/procmailrc >smtp-amavis unix - - - - 2 smtp > -o smtp_data_done_timeout=1200 > -o smtp_send_xforward_command=yes > -o disable_dns_lookups=yes > -o max_use=20 > >127.0.0.1:10025 inet n - - - - smtpd > -o content_filter= > -o local_recipient_maps= > -o relay_recipient_maps= > -o smtpd_restriction_classes= > -o smtpd_delay_reject=no > -o smtpd_client_restrictions=permit_mynetworks,reject > -o smtpd_helo_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks_style=host > -o mynetworks=127.0.0.0/8 > -o strict_rfc821_envelopes=yes > -o smtpd_error_sleep_time=0 > -o smtpd_soft_error_limit=1001 > -o smtpd_hard_error_limit=1000 > -o smtpd_client_connection_count_limit=0 > -o smtpd_client_connection_rate_limit=0 > -o >receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings ># Bypass checks for internally generated mail. >pickup fifo n - n 60 1 pickup > -o content_filter= >submission inet n - n - - smtpd > -o smtpd_enforce_tls=yes > -o smtpd_sasl_auth_enable=yes > -o >smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject ># -o content_filter=smtp-amavis:[127.0.0.1]:10026 > >smtps inet n - n - - smtpd > -o smtpd_tls_wrappermode=yes > -o smtpd_sasl_auth_enable=yes > -o smtpd_client_restrictions=permit_sasl_authenticated,reject ># -o content_filter=smtp-amavis:[127.0.0.1]:10026 ># Use dovecot deliver program as LDA. >dovecot unix - n n - - pipe > flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f >${sender} -d ${user}@${domain} >procmail unix - n n - - pipe > flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} >RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} >EXTENSION=${extension} /etc/procmailrc >smtp-amavis unix - - - - 2 smtp > -o smtp_data_done_timeout=1200 > -o smtp_send_xforward_command=yes > -o disable_dns_lookups=yes > -o max_use=20 > >127.0.0.1:10025 inet n - - - - smtpd > -o content_filter= > -o local_recipient_maps= > -o relay_recipient_maps= > -o smtpd_restriction_classes= > -o smtpd_delay_reject=no > -o smtpd_client_restrictions=permit_mynetworks,reject > -o smtpd_helo_restrictions= > -o smtpd_sender_restrictions= > -o smtpd_recipient_restrictions=permit_mynetworks,reject > -o mynetworks_style=host > -o mynetworks=127.0.0.0/8 > -o strict_rfc821_envelopes=yes > -o smtpd_error_sleep_time=0 > -o smtpd_soft_error_limit=1001 > -o smtpd_hard_error_limit=1000 > -o smtpd_client_connection_count_limit=0 > -o smtpd_client_connection_rate_limit=0 > -o >receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings I don't see local unix - n n - - local in the above. Is that a complete listing of master.cf? If so, add the above line and reload Postfix and see if that helps. >is there any document that you could point me to achieve what you had >suggested? Many thanks. Try man 5 master or see . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Jan 12 17:43:15 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 08:43:15 -0800 Subject: [Mailman-Users] Missing password reminders In-Reply-To: Message-ID: Allan Hansen wrote: > >I run Mailman 2.1.13 under Mac OS X Server 10.5.8. The mail delivery works >fine (so far), but some of my subscribers insist that they are not getting >the password reminders. One uses Google Mail, another Earthlink, so it's >not provider specific. They assure me that the password reminder is not in >their spam folder. The lists have password reminders turned on and the >users have password reminders turned on. For the users that complain, I >don't have bounces resulting from the reminders. Other users of the same >lists get password reminders just fine. Just a couple of remarks in addition to Larry Stone's advice. Password reminders are sent from the site (mailman) list. In Mailman 2.1.13, bounces of messages from the site list are sent to the owner(s) of the site list and not processed automatically. If the site list owner is not a deliverable address whose mail you receive, you won't see any password reminder bounces. Some ISPs may filter or even discard password reminders. They can be seen as spam because of the very large number of similar messages being sent at one time. Services like Vipul's Razor and Pyzor will generally flag password reminders. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Wed Jan 12 17:58:25 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Thu, 13 Jan 2011 00:58:25 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/13 Mark Sapiro > > I don't see > > local unix - n n - - local > > in the above. Is that a complete listing of master.cf? If so, add the > above line and reload Postfix and see if that helps. > > it is there, i did not paste all of master.cf. So i guess reloading postfix won't do. this is all of my master.cf # cat /etc/postfix/master.cf # # Postfix master process configuration file. For details on the format # of the file, see the master(5) manual page (command: "man 5 master"). # # Do not forget to execute "postfix reload" after editing this file. # # ========================================================================== # service type private unpriv chroot wakeup maxproc command + args # (yes) (yes) (yes) (never) (100) # ========================================================================== smtp inet n - - - - smtpd #submission inet n - n - - smtpd # -o smtpd_tls_security_level=encrypt # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #smtps inet n - n - - smtpd # -o smtpd_tls_wrappermode=yes # -o smtpd_sasl_auth_enable=yes # -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING #628 inet n - n - - qmqpd #pickup fifo n - n 60 1 pickup cleanup unix n - n - 0 cleanup qmgr fifo n - n 300 1 qmgr #qmgr fifo n - n 300 1 oqmgr 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 # When relaying mail as backup MX, disable fallback_relay to avoid MX loops relay unix - - n - - smtp -o smtp_fallback_relay= # -o smtp_helo_timeout=5 -o smtp_connect_timeout=5 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 # # ==================================================================== # Interfaces to non-Postfix software. Be sure to examine the manual # pages of the non-Postfix software to find out what options it wants. # # Many of the following services use the Postfix pipe(8) delivery # agent. See the pipe(8) man page for information about ${recipient} # and other message envelope options. # ==================================================================== # # maildrop. See the Postfix MAILDROP_README file for details. # Also specify in main.cf: maildrop_destination_recipient_limit=1 # #maildrop unix - n n - - pipe # flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient} # # ==================================================================== # # The Cyrus deliver program has changed incompatibly, multiple times. # #old-cyrus unix - n n - - pipe # flags=R user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -m ${extension} ${user} # # ==================================================================== # # Cyrus 2.1.5 (Amos Gouaux) # Also specify in main.cf: cyrus_destination_recipient_limit=1 # #cyrus unix - n n - - pipe # user=cyrus argv=/usr/lib/cyrus-imapd/deliver -e -r ${sender} -m ${extension} ${user} # # ==================================================================== # # See the Postfix UUCP_README file for configuration details. # #uucp unix - n n - - pipe # flags=Fqhu user=uucp argv=uux -r -n -z -a$sender - $nexthop!rmail ($recipient) # # ==================================================================== # # Other external delivery methods. # #ifmail unix - n n - - pipe # flags=F user=ftn argv=/usr/lib/ifmail/ifmail -r $nexthop ($recipient) # #bsmtp unix - n n - - pipe # flags=Fq. user=bsmtp argv=/usr/local/sbin/bsmtp -f $sender $nexthop $recipient # #scalemail-backend unix - n n - 2 pipe # flags=R user=scalemail argv=/usr/lib/scalemail/bin/scalemail-store # ${nexthop} ${user} ${extension} # #mailman unix - n n - - pipe # flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py # ${nexthop} ${user} # Bypass checks for internally generated mail. #pickup fifo n - n 60 1 pickup -o content_filter= submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 smtps inet n - - - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 # Use dovecot deliver program as LDA. dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain} procmail unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc smtp-amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings # Bypass checks for internally generated mail. pickup fifo n - n 60 1 pickup -o content_filter= submission inet n - n - - smtpd -o smtpd_enforce_tls=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_mynetworks,permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 smtps inet n - n - - smtpd -o smtpd_tls_wrappermode=yes -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o content_filter=smtp-amavis:[127.0.0.1]:10026 # Use dovecot deliver program as LDA. dovecot unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${domain} procmail unix - n n - - pipe flags=DRhu user=vmail:vmail argv=/usr/bin/procmail -r -t SENDER=${sender} RECIPIENT=${recipient} DOMAIN=${nexthop} -m USER=${user} EXTENSION=${extension} /etc/procmailrc smtp-amavis unix - - - - 2 smtp -o smtp_data_done_timeout=1200 -o smtp_send_xforward_command=yes -o disable_dns_lookups=yes -o max_use=20 127.0.0.1:10025 inet n - - - - smtpd -o content_filter= -o local_recipient_maps= -o relay_recipient_maps= -o smtpd_restriction_classes= -o smtpd_delay_reject=no -o smtpd_client_restrictions=permit_mynetworks,reject -o smtpd_helo_restrictions= -o smtpd_sender_restrictions= -o smtpd_recipient_restrictions=permit_mynetworks,reject -o mynetworks_style=host -o mynetworks=127.0.0.0/8 -o strict_rfc821_envelopes=yes -o smtpd_error_sleep_time=0 -o smtpd_soft_error_limit=1001 -o smtpd_hard_error_limit=1000 -o smtpd_client_connection_count_limit=0 -o smtpd_client_connection_rate_limit=0 -o receive_override_options=no_header_body_checks,no_unknown_recipient_checks,no_address_mappings From bsfinkel at anl.gov Wed Jan 12 18:29:14 2011 From: bsfinkel at anl.gov (Barry Finkel) Date: Wed, 12 Jan 2011 11:29:14 -0600 Subject: [Mailman-Users] Need Script to Apend to acceptable_aliases Message-ID: <4D2DE4EA.5090801@anl.gov> I have a script that adds an e-mail address to accept_these_nonmembers for a number of lists. # From a Mailman-Users reply August 19, 2007 to my posting: # Mark Sapiro replied: # Not directly, but in a shell script you could prepare a file that # looks like # # mlist.accept_these_nonmembers.append('usera at example.com') # mlist.accept_these_nonmembers.append('userb at example.com') # # and so on for all the non-members you want to add and then run # # bin/config_list -i filename listname # # where filename is the name of the above file. I now have a need to add an e-mail address to acceptable_aliases for a number of lists. I took the existing script and cloned it. When I ran it I got some messages: Traceback (most recent call last): File "/usr/sbin/config_list", line 362, in ? main() File "/usr/sbin/config_list", line 357, in main do_input(listname, infile, checkonly, verbose) File "/usr/sbin/config_list", line 263, in do_input execfile(infile, globals) File "append_acceptable_aliases.file", line 1, in ? mlist.acceptable_aliases.append('testuser at example.com') AttributeError: 'str' object has no attribute 'append' I have not looked at the Mailman source, so I am not sure what is failing. Is it the case that the accept_these_nonmembers is stored in a different internal format than acceptable_aliases is? This is a 2.1.14 package built from the SourceForge source. Thanks. -- ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From mark at msapiro.net Thu Jan 13 01:55:13 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 16:55:13 -0800 Subject: [Mailman-Users] {Disarmed} Re: User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >2011/1/13 Mark Sapiro > >> >> I don't see >> >> local unix - n n - - local >> >> in the above. Is that a complete listing of master.cf? If so, add the >> above line and reload Postfix and see if that helps. >> >> >it is there, i did not paste all of master.cf. So i guess reloading postfix >won't do. Right, at least assuming you did reload Postfix after editing main.cf. You have exceeded my knowledge of Postfix. As far as I can see, you have the generated /etc/mailman/transport_mailman referenced in Postfix main.cf transport_maps =, and this should be specifying the 'local' transport for list mail, but the maillog shows 'relay=dovecot' (if it still does - have you verified this for the latest configuration?). If by chance, the current error in the maillog does not specify relay=dovecot, you can post that error as it may help. But, if this mail is being handled by the dovecot transport instead of the local transport, I don't know why. You might try the postfix-users list or the dovecot list . Perhaps someone there can help. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 13 02:08:44 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 17:08:44 -0800 Subject: [Mailman-Users] Need Script to Apend to acceptable_aliases In-Reply-To: <4D2DE4EA.5090801@anl.gov> Message-ID: Barry Finkel wrote: > >I have not looked at the Mailman source, so I am not sure what is >failing. Is it the case that the > > accept_these_nonmembers > >is stored in a different internal format than > > acceptable_aliases > >is? This is a 2.1.14 package built from the SourceForge source. Yes. accept_these_nonmembers is a Python list whose elements are strings equal to email addresses or regexps matching email addresses. accept_these_nonmembers is a single string consisting of zero or more email addresses separated by newlines. You could do a few different things in your config_list input. One such would be if mlist.acceptable_aliases: mlist.acceptable_aliases += '\ntestuser at example.com' else: mlist.acceptable_aliases = 'testuser at example.com' -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Thu Jan 13 05:24:02 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Thu, 13 Jan 2011 12:24:02 +0800 Subject: [Mailman-Users] {Disarmed} Re: User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/13 Mark Sapiro > Umarzuki Mochlis wrote: > Right, at least assuming you did reload Postfix after editing main.cf. > > yes i did but with the same result /var/log/maillog =========== Jan 13 20:19:00 hpj-mail postfix/pipe[4565]: B8C2C19C89C2: to=, relay=dovecot, delay=1.7, delays=1.6/0.04/0/0.07, dsn=5.1.1, status=bounced (user unknown) Jan 13 20:19:00 hpj-mail postfix/cleanup[4557]: 1B22B19C89C9: message-id=< 20110113121900.1B22B19C89C9 at mail-server.mydomain.my> Jan 13 20:19:00 hpj-mail postfix/qmgr[4562]: 1B22B19C89C9: from=<>, size=2538, nrcpt=1 (queue active) Jan 13 20:19:00 hpj-mail postfix/bounce[4567]: B8C2C19C89C2: sender non-delivery notification: 1B22B19C89C9 Jan 13 20:19:00 hpj-mail postfix/qmgr[4562]: B8C2C19C89C2: removed Jan 13 20:19:00 hpj-mail postfix/pipe[4565]: 1B22B19C89C9: to=, relay=dovecot, delay=0.85, delays=0.02/0.02/0/0.81, dsn=2.0.0, status=sent (delivered via dovecot service) Jan 13 20:19:00 hpj-mail postfix/qmgr[4562]: 1B22B19C89C9: removed > You have exceeded my knowledge of Postfix. As far as I can see, you > have the generated /etc/mailman/transport_mailman referenced in > Postfix main.cf transport_maps =, and this should be specifying the > 'local' transport for list mail, but the maillog shows 'relay=dovecot' > (if it still does - have you verified this for the latest > configuration?). If by chance, the current error in the maillog does > not specify relay=dovecot, you can post that error as it may help. > all those configs were generated by iredmail script. I did not configure it myself. The author of iredmail apparently had stopped supporting iredmail with mailman > But, if this mail is being handled by the dovecot transport instead of > the local transport, I don't know why. You might try the postfix-users > list or the dovecot list > . Perhaps someone > there can help. > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > > -- Regards, Umarzuki Mochlis http://debmal.my From mark at msapiro.net Thu Jan 13 07:30:11 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 22:30:11 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: <4D2E9BF3.8030707@msapiro.net> On 1/12/11 8:24 PM, Umarzuki Mochlis wrote: > > /var/log/maillog > =========== > Jan 13 20:19:00 hpj-mail postfix/pipe[4565]: B8C2C19C89C2: > to=, relay=dovecot, delay=1.7, > delays=1.6/0.04/0/0.07, dsn=5.1.1, status=bounced (user unknown) OK, one more thing. Is there an entry test02 at mydomain.my local in /etc/mailman/transport-mailman and does /etc/mailman/transport-mailman.db have a timestamp equal to or more recent than that of /etc/mailman/transport-mailman. If I go back to your prior posts, I see that DEFAULT_EMAIL_HOST = "mail-server.mydomain.my". Thus I expect that the entries in /etc/mailman/transport-mailman are all @mail-server.mydomain.my. This would explain the problem. If this is what you want, you need to mail to test02 at mail-server.mydomain.my. If you actually want list addresses like test02 at mail-server.mydomain.my, you need to make the following changes in mm_cfg.py POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] DEFAULT_EMAIL_HOST = "mydomain.my" and run bin/genaliases. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From mark at msapiro.net Thu Jan 13 07:34:15 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 12 Jan 2011 22:34:15 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: <4D2E9BF3.8030707@msapiro.net> References: <4D2E9BF3.8030707@msapiro.net> Message-ID: <4D2E9CE7.9040505@msapiro.net> On 1/12/11 10:30 PM, Mark Sapiro wrote: > > If I go back to your prior posts, I see that DEFAULT_EMAIL_HOST = > "mail-server.mydomain.my". Thus I expect that the entries in > /etc/mailman/transport-mailman are all @mail-server.mydomain.my. This > would explain the problem. If this is what you want, you need to mail to > test02 at mail-server.mydomain.my. If you actually want list addresses like > test02 at mail-server.mydomain.my, you need to make the following changes > in mm_cfg.py That sentence should say "If you actually want list addresses like test02 at mydomain.my, you need to make the following changes in mm_cfg.py" > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] > > DEFAULT_EMAIL_HOST = "mydomain.my" > > and run bin/genaliases. > -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California Better use your sense - B. Dylan From hansen at rc.org Thu Jan 13 10:05:10 2011 From: hansen at rc.org (Allan Hansen) Date: Thu, 13 Jan 2011 01:05:10 -0800 Subject: [Mailman-Users] Missing password reminders In-Reply-To: References: Message-ID: I increased the logging level of the SMTP service and requested reminders for a couple of people that complained that they didn't get them. The logs shows that the messages are sent. I ask them then to let me know if they receive these messages. I guess that if they don't, they need to complain to their respective service providers. If they do, I'll see what happens next month when the big batch is sent out. Thank you for your (apparently) tireless presence, Allan At 8:43 AM -0800 1/12/11, Mark Sapiro wrote: >Allan Hansen wrote: >> >>I run Mailman 2.1.13 under Mac OS X Server 10.5.8. The mail delivery works >>fine (so far), but some of my subscribers insist that they are not getting >>the password reminders. One uses Google Mail, another Earthlink, so it's >>not provider specific. They assure me that the password reminder is not in >>their spam folder. The lists have password reminders turned on and the >>users have password reminders turned on. For the users that complain, I >>don't have bounces resulting from the reminders. Other users of the same >>lists get password reminders just fine. > > >Just a couple of remarks in addition to Larry Stone's advice. > >Password reminders are sent from the site (mailman) list. In Mailman >2.1.13, bounces of messages from the site list are sent to the >owner(s) of the site list and not processed automatically. If the site >list owner is not a deliverable address whose mail you receive, you >won't see any password reminder bounces. > >Some ISPs may filter or even discard password reminders. They can be >seen as spam because of the very large number of similar messages >being sent at one time. Services like Vipul's Razor > and Pyzor > will generally flag password >reminders. > >-- >Mark Sapiro The highway is for gamblers, >San Francisco Bay Area, California better use your sense - B. Dylan -- Allan Hansen P.O Box 2423 Cypress, CA 90630 U.S.A. hansen at rc.org +1-714-875-8870 From mcmcfall at gmail.com Thu Jan 13 14:19:39 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Thu, 13 Jan 2011 08:19:39 -0500 Subject: [Mailman-Users] Iphone problem Message-ID: I have someone who is having problems viewing the emails sent out on the list on her iphone because they are coming through as an attachment on her phone called "part2.plain" Does anyone know if this is this something with iphone or the my list? From manthra.24 at gmail.com Thu Jan 13 07:42:39 2011 From: manthra.24 at gmail.com (Manthra) Date: Thu, 13 Jan 2011 12:12:39 +0530 Subject: [Mailman-Users] Mailman is failing to send mails to a list cantaining more than 80 mail-ids Message-ID: Hi, Please help me. We have Mailman with Postfix (Virtual) running successfuly with small mailing lists(i.e. Having less than just 80 mail-ids in the lists). But if the size of the mailinglist goes beyond 80 mail-ids, it is failing to send mails. We have tried setting up the option "Ceiling on acceptable number of recipients for a posting" to 400, but no use. We are getting the following error in the log file /var/lib/mailman/logs/smtp-failure (only when list size crosses 80 email-ids) Jan 13 11:47:18 2011 (27459) delivery to manthra.24 at gmail.com failed with code -1: Server not connected ................................ ............................. Same error for all the email-ids in the list Please help me to resolve this Thanks, Manthra From mark at msapiro.net Thu Jan 13 17:58:32 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Jan 2011 08:58:32 -0800 Subject: [Mailman-Users] Mailman is failing to send mails to a list cantaining more than 80 mail-ids In-Reply-To: Message-ID: Manthra wrote: > >We have Mailman with Postfix (Virtual) running successfuly with small >mailing lists(i.e. Having less than just 80 mail-ids in the lists). But if >the size of the mailinglist goes beyond 80 mail-ids, it is failing to send >mails. > >We have tried setting up the option "Ceiling on acceptable number of >recipients for a posting" > >to 400, but no use. This setting has no effect whatsoever on this issue. This setting will cause an incoming post to be held if the number of explicit To: and Cc: recipient addresses equals or exceeds that number. It has nothing to do with how a post is delivered. >We are getting the following error in the log file >/var/lib/mailman/logs/smtp-failure (only when list size crosses 80 >email-ids) > >Jan 13 11:47:18 2011 (27459) delivery to manthra.24 at gmail.com failed with >code -1: Server not connected >................................ >............................. >Same error for all the email-ids in the list Something is causing Postfix to disconnect when the recipient list for the mail exceeds 80 addresses. My best guess is that 25% of your list addresses are invalid and Postfix is doing recipient address verification and disconnecting with a 421 error after 20 invalid addresses. There is a bug in the Python SMTP library that can cause the above error when this occurs. Regardless of whether or not the above conjecture is correct, try setting SMTP_MAX_RCPTS = 20 in mm_cfg.py and restarting Mailman. This will cause Mailman to deliver list mail to Postfix in separate transactions with no more than 20 recipients each and should solve the problem. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 13 19:16:41 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Jan 2011 10:16:41 -0800 Subject: [Mailman-Users] Iphone problem In-Reply-To: Message-ID: Mike McFall wrote: >I have someone who is having problems viewing the emails sent out on the >list on her iphone because they are coming through as an attachment on her >phone called "part2.plain" > >Does anyone know if this is this something with iphone or the my list? Does the part2.plain attachment contain the message body or just the msg_footer? The answer to your question is "both". See the FAQ at for more information. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pennguin at mac.com Thu Jan 13 20:14:06 2011 From: pennguin at mac.com (Rob) Date: Thu, 13 Jan 2011 14:14:06 -0500 Subject: [Mailman-Users] Virtual hosts question Message-ID: <1FBC83A2-9A32-4C2A-9333-349C77713587@mac.com> Hi, I'm just turning virtual hosts on for the first time in a stable installation of Mailman 2.1.13 (the distribution provided with Mac OS X Server 10.6) I rewrote my mm_cfg.py file like this: # Put YOUR site-specific settings below this line. MTA = 'Postfix' DEFAULT_EMAIL_HOST = 'acvr.org' DEFAULT_URL_HOST = 'www.acvr.org' VIRTUAL_HOST_OVERVIEW='ON' VIRTUAL_HOSTS.clear() add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) add_virtualhost(www.lists.eavdi.org, lists.eavdi.org) add_virtualhost(www.lists.ecvdi.org, lists.ecvdi.org) DEFAULT_URL_PATTERN = 'https://%s/mailman/' PUBLIC_ARCHIVE_URL = 'https://%(hostname)s/pipermail/%(listname)s' ALLOW_SITE_ADMIN_COOKIES = Yes VERP_PROBES = Yes VERP_PASSWORD_REMINDERS = Yes VERP_PERSONALIZED_DELIVERIES = Yes VERP_DELIVERY_INTERVAL = 1 VERP_CONFIRMATIONS = Yes OWNERS_CAN_ENABLE_PERSONALIZATION = Yes OWNERS_CAN_CHANGE_MEMBER_PASSWORDS = Yes IMAGE_LOGOS = '/icons/' But when I use mailmanctl to restart I get this error: Traceback (most recent call last): File "./mailmanctl", line 106, in from Mailman import mm_cfg File "/usr/share/mailman/Mailman/mm_cfg.py", line 50, in add_virtualhost(www.lists.eavdi.org, lists.eavdi.org) NameError: name 'www' is not defined Thanks in advance for your help. -Rob McLear From chris.tandiono at gmail.com Thu Jan 13 21:21:19 2011 From: chris.tandiono at gmail.com (Chris Tandiono) Date: Thu, 13 Jan 2011 12:21:19 -0800 Subject: [Mailman-Users] Virtual hosts question In-Reply-To: <1FBC83A2-9A32-4C2A-9333-349C77713587@mac.com> References: <1FBC83A2-9A32-4C2A-9333-349C77713587@mac.com> Message-ID: On 13 Jan 2011, at 11:14 , Rob wrote: > > But when I use mailmanctl to restart I get this error: > > Traceback (most recent call last): > File "./mailmanctl", line 106, in > from Mailman import mm_cfg > File "/usr/share/mailman/Mailman/mm_cfg.py", line 50, in > add_virtualhost(www.lists.eavdi.org, lists.eavdi.org) > NameError: name 'www' is not defined > > > Thanks in advance for your help. > > -Rob McLear That is a Python error--you need to put quotes aroudn "www.lists.eavdi.org"; otherwise, it looks for a variable named www so it can access the property lists. Same thing with lists.eavdi.org. Chris From bsfinkel at anl.gov Thu Jan 13 21:42:12 2011 From: bsfinkel at anl.gov (Barry Finkel) Date: Thu, 13 Jan 2011 14:42:12 -0600 Subject: [Mailman-Users] Need Script to Apend to acceptable_aliases In-Reply-To: References: Message-ID: <4D2F63A4.8000707@anl.gov> On 01/12/11 19:08, Mark Sapiro wrote: > Barry Finkel wrote: >> >> I have not looked at the Mailman source, so I am not sure what is >> failing. Is it the case that the >> >> accept_these_nonmembers >> >> is stored in a different internal format than >> >> acceptable_aliases >> >> is? This is a 2.1.14 package built from the SourceForge source. > > > Yes. accept_these_nonmembers is a Python list whose elements are > strings equal to email addresses or regexps matching email addresses. > accept_these_nonmembers is a single string consisting of zero or more > email addresses separated by newlines. > > You could do a few different things in your config_list input. One such > would be > > if mlist.acceptable_aliases: > mlist.acceptable_aliases += '\ntestuser at example.com' > else: > mlist.acceptable_aliases = 'testuser at example.com' > I revised my script, and I ran some tests. On a list where I had not previously specified an acceptable_aliases string, what was placed in that item was \ntestuser at example.com Is the leading "\n" going to cause problems? When I ran it again on the same list using a different e-mail address, the resulting item had \ntestuser at example.com\nusertwo at example.com -- ---------------------------------------------------------------------- Barry S. Finkel Computing and Information Systems Division Argonne National Laboratory Phone: +1 (630) 252-7277 9700 South Cass Avenue Facsimile:+1 (630) 252-4601 Building 240, Room 5.B.8 Internet: BSFinkel at anl.gov Argonne, IL 60439-4828 IBMMAIL: I1004994 From mcmcfall at gmail.com Thu Jan 13 23:03:13 2011 From: mcmcfall at gmail.com (Mike McFall) Date: Thu, 13 Jan 2011 17:03:13 -0500 Subject: [Mailman-Users] Iphone problem In-Reply-To: References: Message-ID: It contains just the footer. I looked over the link you sent, but I already have the settings set to make every email into plain text. So I don't know what else I can do without actually removing the footer - which I really don't want to do. Thanks Mike On Thu, Jan 13, 2011 at 1:16 PM, Mark Sapiro wrote: > Mike McFall wrote: > >>I have someone who is having problems viewing the emails sent out on the >>list on her iphone because they are coming through as an attachment on her >>phone called "part2.plain" >> >>Does anyone know if this is this something with iphone or the my list? > > > Does the part2.plain attachment contain the message body or just the > msg_footer? > > The answer to your question is "both". See the FAQ at > for more information. > > -- > Mark Sapiro ? ? ? ?The highway is for gamblers, > San Francisco Bay Area, California ? ?better use your sense - B. Dylan > > From mark at msapiro.net Thu Jan 13 23:54:32 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Jan 2011 14:54:32 -0800 Subject: [Mailman-Users] Need Script to Apend to acceptable_aliases In-Reply-To: <4D2F63A4.8000707@anl.gov> Message-ID: Barry Finkel wrote: >On 01/12/11 19:08, Mark Sapiro wrote: >> >> You could do a few different things in your config_list input. One such >> would be >> >> if mlist.acceptable_aliases: >> mlist.acceptable_aliases += '\ntestuser at example.com' >> else: >> mlist.acceptable_aliases = 'testuser at example.com' >> > > >I revised my script, and I ran some tests. On a list where I had not >previously specified an acceptable_aliases string, what was placed in >that item was > > \ntestuser at example.com Are you certain the fourth line was as above without the '\n'. That code says if acceptable_aliases is not the null string, append '\ntestuser at example.com' to it, otherwise set it equal to 'testuser at example.com' (without a '\n'). So I don't see how the result could be '\ntestuser at example.com' unless acceptable aliases initially contained white space and the result in fact was '\ntestuser at example.com' >Is the leading "\n" going to cause problems? No. It will just result in an additional alias which is empty or all white space and such aliases are ignored by the code that checks acceptable_aliases. >When I ran it again on the same list using a different e-mail address, >the resulting item had > > \ntestuser at example.com\nusertwo at example.com Which is exactly what's expected, i.e. the string '\nusertwo at example.com' was added to the end of the existing string. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From pennguin at mac.com Fri Jan 14 00:23:28 2011 From: pennguin at mac.com (Rob) Date: Thu, 13 Jan 2011 18:23:28 -0500 Subject: [Mailman-Users] Virtual hosts question In-Reply-To: References: <1FBC83A2-9A32-4C2A-9333-349C77713587@mac.com> Message-ID: <1CF0D047-4F61-45E8-A759-0B9FF6844E1F@mac.com> On Jan 13, 2011, at 3:21 PM, Chris Tandiono wrote: > On 13 Jan 2011, at 11:14 , Rob wrote: >> >> But when I use mailmanctl to restart I get this error: >> >> Traceback (most recent call last): >> File "./mailmanctl", line 106, in >> from Mailman import mm_cfg >> File "/usr/share/mailman/Mailman/mm_cfg.py", line 50, in >> add_virtualhost(www.lists.eavdi.org, lists.eavdi.org) >> NameError: name 'www' is not defined >> >> >> Thanks in advance for your help. >> >> -Rob McLear > > That is a Python error--you need to put quotes aroudn "www.lists.eavdi.org"; otherwise, it looks for a variable named www so it can access the property lists. Same thing with lists.eavdi.org. > > Chris Thanks, that worked for me. I don't seem to have virtual hosts woking properly yet, but I need to do some more RTFM'ing before I bother the list again. -Rob From mark at msapiro.net Fri Jan 14 00:24:22 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 13 Jan 2011 15:24:22 -0800 Subject: [Mailman-Users] Iphone problem In-Reply-To: Message-ID: Mike McFall wrote: >It contains just the footer. Many mainstream MUAs will display a list message consisting of a text/plain or text/html or multipart/alternative body followed by a separate MIME text/plain footer by displaying the body text and the footer inline along with an indication the there is a 'part1.2.txt' (or similar name) attachment, and if you open the attachment, you see the footer that was already displayed. Some MUAs will display only the body and not display the 'attached' footer unless you explicitly open it. If you are saying the iPhone doesn't display the message body at all, then the iPhone mail client is badly broken. This would not surprise me. I have an android phone and use the K-9 mail client and it is very bad at rendering complex MIME messages such as MIME format list digests, but it does OK with simpler messages with separate footers. >I looked over the link you sent, but I >already have the settings set to make every email into plain text. So >I don't know what else I can do without actually removing the footer - >which I really don't want to do. As it says in the FAQ there is currently a bug in content filtering. To know whether that contributes to this, I would need to see your content filtering settings and the MIME structure of the incoming post (before content filtering). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From manthra.24 at gmail.com Fri Jan 14 06:50:12 2011 From: manthra.24 at gmail.com (Manthra) Date: Fri, 14 Jan 2011 11:20:12 +0530 Subject: [Mailman-Users] Mailman is failing to send mails to a list cantaining more than 80 mail-ids In-Reply-To: References: Message-ID: On Thu, Jan 13, 2011 at 10:28 PM, Mark Sapiro wrote: > Manthra wrote: > > > >We have Mailman with Postfix (Virtual) running successfuly with small > >mailing lists(i.e. Having less than just 80 mail-ids in the lists). But > if > >the size of the mailinglist goes beyond 80 mail-ids, it is failing to send > >mails. > > > >We have tried setting up the option "Ceiling on acceptable number of > >recipients for a posting" > >< > http://ex1.com/cgi-bin/mailman/admin/list10/?VARHELP=privacy/recipient/max_num_recipients > > > >to 400, but no use. > > > This setting has no effect whatsoever on this issue. This setting will > cause an incoming post to be held if the number of explicit To: and > Cc: recipient addresses equals or exceeds that number. It has nothing > to do with how a post is delivered. > > > >We are getting the following error in the log file > >/var/lib/mailman/logs/smtp-failure (only when list size crosses 80 > >email-ids) > > > >Jan 13 11:47:18 2011 (27459) delivery to manthra.24 at gmail.com failed with > >code -1: Server not connected > >................................ > >............................. > >Same error for all the email-ids in the list > > > Something is causing Postfix to disconnect when the recipient list for > the mail exceeds 80 addresses. My best guess is that 25% of your list > addresses are invalid and Postfix is doing recipient address > verification and disconnecting with a 421 error after 20 invalid > addresses. There is a bug in the Python SMTP library > that can cause the above error when > this occurs. > > Regardless of whether or not the above conjecture is correct, try > setting > > SMTP_MAX_RCPTS = 20 > > in mm_cfg.py and restarting Mailman. This will cause Mailman to deliver > list mail to Postfix in separate transactions with no more than 20 > recipients each and should solve the problem. > > Thank you very much. You are right. List has more than 30 invalid Mail-IDs. After inserting the line SMTP_MAX_RCPTS = 20 to mm_cfg.py , it is working normally. Thank you very for this detailed information > From brentk at birs.ca Thu Jan 13 19:18:17 2011 From: brentk at birs.ca (Brent Kearney) Date: Thu, 13 Jan 2011 11:18:17 -0700 Subject: [Mailman-Users] getting a list of bounced emails Message-ID: Hello, We create mail lists by syncing with our database, and so often bad (no-longer existing accounts, etc) emails get re-added to our lists, and produce an automatic unsubscribe bounce message. Does Mailman record the emails for which there was a bounce-action somewhere? If so, where/how can I see the list of bounced emails? Or is parsing the bounce-action notification emails the only way to generate a list of bounced emails? Many thanks, Brent From noah-list at enabled.com Thu Jan 13 20:27:39 2011 From: noah-list at enabled.com (Noah) Date: Thu, 13 Jan 2011 11:27:39 -0800 Subject: [Mailman-Users] mailman installation on ubuntu failing Message-ID: <4D2F522B.3080002@enabled.com> Hi there, I am having issues installing mailman on my ubuntu machine. Its a 32bit Processor so I am not sure why 64-amd version of mailman was ever installed. any clues on how to solve this problem? # uname -a Linux enabled.com 2.6.24-24-xen #1 SMP Tue Jun 30 21:53:02 UTC 2009 x86_64 GNU/Linux # apt-get clean # apt-get update Hit http://security.ubuntu.com hardy-security Release.gpg Hit http://archive.ubuntu.com hardy Release.gpg Hit http://archive.ubuntu.com hardy-updates Release.gpg Hit http://security.ubuntu.com hardy-security Release Hit http://archive.ubuntu.com hardy Release Hit http://archive.ubuntu.com hardy-updates Release Hit http://security.ubuntu.com hardy-security/main Packages Hit http://security.ubuntu.com hardy-security/restricted Packages Hit http://security.ubuntu.com hardy-security/universe Packages Hit http://security.ubuntu.com hardy-security/main Sources Hit http://archive.ubuntu.com hardy/main Packages Hit http://security.ubuntu.com hardy-security/restricted Sources Hit http://security.ubuntu.com hardy-security/universe Sources Hit http://archive.ubuntu.com hardy/restricted Packages Hit http://archive.ubuntu.com hardy/universe Packages Hit http://archive.ubuntu.com hardy/main Sources Hit http://archive.ubuntu.com hardy/restricted Sources Hit http://archive.ubuntu.com hardy/universe Sources Hit http://archive.ubuntu.com hardy-updates/main Packages Hit http://archive.ubuntu.com hardy-updates/restricted Packages Hit http://archive.ubuntu.com hardy-updates/universe Packages Hit http://archive.ubuntu.com hardy-updates/main Sources Hit http://archive.ubuntu.com hardy-updates/restricted Sources Hit http://archive.ubuntu.com hardy-updates/universe Sources Reading package lists... Done # apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: mailman 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 12 not fully installed or removed. Need to get 8613kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.ubuntu.com hardy-updates/main mailman 1:2.1.9-9ubuntu1.2 [8613kB] Fetched 8613kB in 2s (3451kB/s) Preconfiguring packages ... (Reading database ... 46764 files and directories currently installed.) Preparing to replace mailman 1:2.1.9-9ubuntu1.1 (using .../mailman_1%3a2.1.9-9ubuntu1.2_amd64.deb) ... * Stopping Mailman master qrunner mailmanctl [ OK ] Unpacking replacement mailman ... Setting up php5-common (5.2.4-2ubuntu5.14) ... Setting up libapache2-mod-php5 (5.2.4-2ubuntu5.14) ... * Reloading web server config apache2 [ OK ] Setting up libc6-dev (2.7-10ubuntu8) ... Setting up liblcms1 (1.16-7ubuntu1.3) ... Setting up libpq5 (8.3.13-0ubuntu8.04) ... Setting up php5-cli (5.2.4-2ubuntu5.14) ... Setting up php-pear (5.2.4-2ubuntu5.14) ... Setting up php5 (5.2.4-2ubuntu5.14) ... Setting up php5-gd (5.2.4-2ubuntu5.14) ... Setting up php5-mysql (5.2.4-2ubuntu5.14) ... Setting up php5-snmp (5.2.4-2ubuntu5.14) ... Setting up php5-sqlite (5.2.4-2ubuntu5.14) ... Setting up mailman (1:2.1.9-9ubuntu1.2) ... Installing new version of config file /etc/logrotate.d/mailman ... Installing site language es ............................................. done. Installing site language en ............................................ done. Downgrade detected, from version 0x2010bf0 to version 0x20109f0 This is probably not safe. Exiting. From vali2011 at validom.de Fri Jan 14 17:04:17 2011 From: vali2011 at validom.de (ValiDOM) Date: Fri, 14 Jan 2011 17:04:17 +0100 Subject: [Mailman-Users] How to change the confirmation message subject line? Message-ID: <20110114170417.43283u2615cbu2o1@va6.de> hi! as soon as VERP_CONFIRMATION is set to yes in mailman configuration, mailman sends out confirmation messages using the subject line "Your confirmation is required to join the Mailman-Users mailing list" (depending on the language setting of the list). I tried to find this in FAQs, Mailinglist archives or on google - but only found how to enable VERP. But nothing about how to change the actual subject line text. Does anybody know how to change the wording/text of the subject lines in confirmation messages? I'd love to have something like "Please subscribe to our newsletter..." ;-) Thanks a lot, ValiDOM -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digitale PGP-Signatur URL: From mark at msapiro.net Fri Jan 14 19:22:19 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Jan 2011 10:22:19 -0800 Subject: [Mailman-Users] getting a list of bounced emails In-Reply-To: Message-ID: Brent Kearney wrote: > >We create mail lists by syncing with our database, and so often bad >(no-longer existing accounts, etc) emails get re-added to our lists, >and produce an automatic unsubscribe bounce message. Does Mailman >record the emails for which there was a bounce-action somewhere? If >so, where/how can I see the list of bounced emails? Or is parsing the >bounce-action notification emails the only way to generate a list of >bounced emails? If by "emails" you mean addresses, see Mailman's bounce log (logs/bounces in your Mailman install directory). If you mean the actual bounce DSN, these are not saved anywhere, but they are sent to the list owner when the user's delivery is disabled if bounce_notify_owner_on_disable is Yes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Jan 14 20:06:08 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Jan 2011 11:06:08 -0800 Subject: [Mailman-Users] mailman installation on ubuntu failing In-Reply-To: <4D2F522B.3080002@enabled.com> Message-ID: Noah wrote: > >I am having issues installing mailman on my ubuntu machine. Its a 32bit >Processor so I am not sure why 64-amd version of mailman was ever >installed. any clues on how to solve this problem? I know nothing of various Debian packages but it doesnt appear to me that this message is saying the current installed version is mailman_1:2.1.9-9ubuntu1.2_amd64.deb >Preparing to replace mailman 1:2.1.9-9ubuntu1.1 (using >.../mailman_1%3a2.1.9-9ubuntu1.2_amd64.deb) ... It looks to me like it is saying it is going to replace mailman 1:2.1.9-9ubuntu1.1 with the package from mailman_1:2.1.9-9ubuntu1.2_amd64.deb. In any case, the following is the issue >Downgrade detected, from version 0x2010bf0 to version 0x20109f0 >This is probably not safe. >Exiting. This is Mailman's bin/update which is the last step of the standard installation process telling you that the previously installed Mailman version (0x2010bf0) is 2.1.11 final and the one you are installing over it (0x20109f0) is 2.1.9 final. I don't know what the apt-get process does to undo what it had done up to this point, but at this point, the new Mailman 2.1.9 had been installed and all that was left to do was any necessary list data migration. Since there aren't any data format changes between 2.1.9 and 2.1.11, it was essentially done. If the installed package wasn't backed out, you can just manually run Mailman's bin/update -f, but the real question is where did the 2.1.11 version come from and why doesn't apt-get know about it? If I were you, I would look at Mailman's Mailman/Version.py file for the version currently installed. If it is 2.1.11, then apt-get reversed its changes, and what to do depends on whether you want to leave 2.1.11 in place or overwrite it with 2.1.9. To leave it in place, do nothing. You should be able to just start Mailman if it isn't already running. To overwrite 2.1.11 with 2.1.9, remove Mailman's data/last_mailman_version file or edit its contents which are apparently 0x2010bf0 to something like 0x20108f0 and then re-run the apt-get. On the other hand, if the version of Mailman's Mailman/Version.py file is 2.1.9, then you have already over written the 2.1.11 version and you can finish the process by stopping Mailman if it's running, then run Mailman's bin/update -f and start Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Fri Jan 14 20:24:07 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 14 Jan 2011 11:24:07 -0800 Subject: [Mailman-Users] How to change the confirmation message subject line? In-Reply-To: <20110114170417.43283u2615cbu2o1@va6.de> Message-ID: ValiDOM wrote: > >Does anybody know how to change the wording/text of the subject lines >in confirmation messages? I'd love to have something like "Please >subscribe to our newsletter..." ;-) If you only want to change the English message, find the message in the definition of the GetConfirmJoinSubject method in the file Mailman/MailList.py and edit it and restart Mailman. If you do this, it will break other l10n of this message. E.g., In German, the Subject: will be the edited English message, not the German translation. If you only want to change the translations of the message, e.g. German, edit the file messages/de/LC_MESSAGES/mailman.po. Find msgid "Your confirmation is required to join the %(listname)s mailing list" msgstr "Ihre Best?tigung ist n?tig um die Liste %(listname)s zu abonnieren." in the file, edit the translation (msgstr) only, and rebuild the mailman.mo file with Mailman's bin/msgfmt.py or the system msgfmt. Do this for each changed translation. If you want to change both the English and translated messages, edit the English as above and then for each translation, add a new msgid/msgstr pair with the edited English string as msgid and the edited translation as msgstr to the end of the mailman.po file and rebuild the mailman.mo as above. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From dafydd at dafydd.com Sat Jan 15 00:19:47 2011 From: dafydd at dafydd.com (David Barr) Date: Fri, 14 Jan 2011 15:19:47 -0800 Subject: [Mailman-Users] PHP API? or indiv. subscriber utilities? Message-ID: Good Morning! I have a volunteer database written in LAMP. I'd love to be able to automagically add new volunteers to the appropriate lists when they register. This would be a single email address & password getting added to one or more lists at registration. For bonus points, if a user modifies his or her address, I'd like to remember the old address long enough to delete it, and add the new one. I've found documentation about large-scale membership manipulation, but I haven't found how to automate the act of subscribing a new individual. If documentation or examples exist, I'd love links! Thanks! David -- David - Offbeat http://dafydd.livejournal.com dafydd - Online http://pgp.mit.edu/ Battalion 4 - Black Rock City Emergency Services Department Integrity*Commitment*Communication*Support ----5----1----5----2----5----3----5----4----5----5----5----6----5----7-- Capitalism is the astounding belief that the most wickedest of men will do the most wickedest of things for the greatest good of everyone. The political problem of mankind is to combine three things: economic efficiency, social justice and individual liberty. -- John Maynard Keynes From mark at msapiro.net Sat Jan 15 21:41:25 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 15 Jan 2011 12:41:25 -0800 Subject: [Mailman-Users] PHP API? or indiv. subscriber utilities? In-Reply-To: Message-ID: David Barr wrote: > >I've found documentation about large-scale membership manipulation, but I haven't found how to automate the act of subscribing a new individual. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 16 17:06:00 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 16 Jan 2011 08:06:00 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: > >2011/1/13 Mark Sapiro > >> On 1/12/11 10:30 PM, Mark Sapiro wrote: >> >> That sentence should say "If you actually want list addresses like >> test02 at mydomain.my, you need to make the following changes in mm_cfg.py" >> >> >> > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] >> > >> > DEFAULT_EMAIL_HOST = "mydomain.my" >> > >> > and run bin/genaliases. >> > >> >> >i don't know what i did wrong but now there's no content in the >transport-mailman although the time is recent upon running bin/genaliases After changing DEFAULT_EMAIL_HOST, you need to run bin/withlist -l -a -r fix_url (see ) and then bin/genaliases again. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Sun Jan 16 15:40:12 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Sun, 16 Jan 2011 22:40:12 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: <4D2E9CE7.9040505@msapiro.net> References: <4D2E9BF3.8030707@msapiro.net> <4D2E9CE7.9040505@msapiro.net> Message-ID: 2011/1/13 Mark Sapiro > On 1/12/11 10:30 PM, Mark Sapiro wrote: > > That sentence should say "If you actually want list addresses like > test02 at mydomain.my, you need to make the following changes in mm_cfg.py" > > > > POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.my'] > > > > DEFAULT_EMAIL_HOST = "mydomain.my" > > > > and run bin/genaliases. > > > > i don't know what i did wrong but now there's no content in the transport-mailman although the time is recent upon running bin/genaliases > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California Better use your sense - B. Dylan > -- Regards, Umarzuki Mochlis http://debmal.my From soapbox at comcast.net Mon Jan 17 16:51:30 2011 From: soapbox at comcast.net (Ruth Indeck) Date: Mon, 17 Jan 2011 10:51:30 -0500 Subject: [Mailman-Users] Are any attachments ok to allow on a listserv? Message-ID: <4D346582.9040902@comcast.net> Many people say that the best thing is not to allow attachments at all on a listserv. Other people think pdfs are ok (except some are too big for old machines to donwload). I also heard that a virus file could take on a fake extention, like .pdf, and fool people. What do Users think about this? Thanks! From soapbox at comcast.net Mon Jan 17 17:47:46 2011 From: soapbox at comcast.net (Ruth Indeck) Date: Mon, 17 Jan 2011 11:47:46 -0500 Subject: [Mailman-Users] Content Filtering Message-ID: <4D3472B2.6010807@comcast.net> I don't know a lot about scripts, so the most useful answers would involve just telling me what settings to use. I would like to have content filtering turned on, because I would like to make sure that attachments don't go out on the list, and especially the dangerous ones. Here are my problems (I have not yet added a lot of names, and am still in the testing stage): 1. When I try to turn Content Filtering on, my email (an announcement of shows at a folk club, with links and some html) comes through with the html intact and a message at the top saying: "The message's content type was not explicitly allowed" When I turn CF off, there is no strange message and the email comes through ok, but I worry that someone else might send an email with a bad attachment. 2. When I tried to send the same message with a pdf and a Word doc, just to test it, the message went through without any content at all -- neither the attachments nor the actual email message came through. Here are the settings I am using: Yes Blank multipart/mixed multipart/alternative text/plain message/rfc822 exe bat cmd com pif scr vbs cpl Blank Yes Yes Reject From mark at msapiro.net Mon Jan 17 17:50:10 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 17 Jan 2011 08:50:10 -0800 Subject: [Mailman-Users] Are any attachments ok to allow on a listserv? In-Reply-To: <4D346582.9040902@comcast.net> Message-ID: Ruth Indeck wrote: >Many people say that the best thing is not to allow attachments at all on a listserv. Please see the FAQ at . >Other people think pdfs are ok (except some are too big for old machines to donwload). > >I also heard that a virus file could take on a fake extention, like .pdf, and fool people. I have heard that there were vulnerabilities in some PDF readers that could be exploited with malicious PDFs, but I don't know how big a risk this is. As far as fake extensions/MIME types are concerned, it is entirely possible to put malware in a text/plain part with a .txt extension. The question is what will the MUA or the file manager do with that file when you try to open it. In other words, if the virus comes with a faked benign extension, it is unlikely that the application that opens the file will actually execute the viral code. I'm not saying one should be complacent. I would recommend not allowing anything but plain text and perhaps a few carefully considered image and/or PDF types if the list's purpose requires it on a list with open subscription. On the other hand, if the list is closed and you know the members, you might be safe with no content filtering at all. Others may have additional or conflicting opinions. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From soapbox at comcast.net Mon Jan 17 18:10:03 2011 From: soapbox at comcast.net (Ruth Indeck) Date: Mon, 17 Jan 2011 12:10:03 -0500 Subject: [Mailman-Users] Content Filtering In-Reply-To: <4D3472B2.6010807@comcast.net> References: <4D3472B2.6010807@comcast.net> Message-ID: <4D3477EB.4060507@comcast.net> Just to add a little more -- I'm still experimenting: When I remove the html coding and send my message as plain text, that annoying message, "The message's content type was not explicitly allowed", disappears. And when I send the message as plain text, and include the attachments, the message comes out fine, and without the attachments (this is good -- I set Content Filtering to be on). Question: Why doesn't Mailman convert the html to plaintext on its own? The intro to Content Management says: Finally, any text/html parts that are left in the message may be converted to text/plain if convert_html_to_plaintext is enabled and the site is configured to allow these conversions. I have "convert to text/plain" enabled. What does the second part mean? How do you configure your site to allow these conversions? Is it something a regular administrator could do, or is it something that the host site of my Mailman list has to do? On 1/17/11 11:47 AM, Ruth Indeck wrote: > I don't know a lot about scripts, so the most useful answers would involve just telling me what settings to use. > > I would like to have content filtering turned on, because I would like to make sure that attachments don't go out on the list, and especially the dangerous ones. > > Here are my problems (I have not yet added a lot of names, and am still in the testing stage): > > 1. When I try to turn Content Filtering on, my email (an announcement of shows at a folk club, with links and some html) comes through with the html intact and a message at the top saying: > > "The message's content type was not explicitly allowed" > > When I turn CF off, there is no strange message and the email comes through ok, but I worry that someone else might send an email with a bad attachment. > > 2. When I tried to send the same message with a pdf and a Word doc, just to test it, the message went through without any content at all -- neither the attachments nor the actual email message came through. > > Here are the settings I am using: > > Yes > > Blank > > multipart/mixed > multipart/alternative > text/plain > message/rfc822 > > exe > bat > cmd > com > pif > scr > vbs > cpl > > Blank > > Yes > Yes > Reject > > > > > > ------------------------------------------------------ > Mailman-Users mailing list Mailman-Users at python.org > 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/soapbox%40comcast.net > From mark at msapiro.net Mon Jan 17 18:13:26 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 17 Jan 2011 09:13:26 -0800 Subject: [Mailman-Users] Content Filtering In-Reply-To: <4D3472B2.6010807@comcast.net> Message-ID: Ruth Indeck wrote: > >1. When I try to turn Content Filtering on, my email (an announcement of shows at a folk club, with links and some html) comes through with the html intact and a message at the top saying: > >"The message's content type was not explicitly allowed" This message did not go to the list. It was rejected per your filter_action = Reject setting because the message's content type was not one of the 4 types you have listed in pass_mime_types. Most likely, the message was an HTML only message, i.e. Content-Type: text/html. >When I turn CF off, there is no strange message and the email comes through ok, but I worry that someone else might send an email with a bad attachment. If you want to pass this message with content filtering on, you have to add text/html to pass_mime_types. Or you can set your mail client to send multipart/alternative with both text/plain and text/html alternatives. If you do either of the above, with collapse_alternatives and convert_html_to_plaintext both Yes, the messager sent to the list will be plain text only. If you want oy allow HTML to be sent to the list, add text/html to pass_mime_types and set both collapse_alternatives and convert_html_to_plaintext to No. >2. When I tried to send the same message with a pdf and a Word doc, just to test it, the message went through without any content at all -- neither the attachments nor the actual email message came through. It is not clear what happened here. If the message were multipart/mixed with a text/html part and, e.g., an application/pdf part, with your settings, everything should have been removed and the message rejected with reason "After content filtering, the message was empty". If the message was actually delivered to the list as an empty message, it must have contained a, possibly blank, text/plain part. >Here are the settings I am using: > >Yes > >Blank > >multipart/mixed >multipart/alternative >text/plain >message/rfc822 > >exe >bat >cmd >com >pif >scr >vbs >cpl > >Blank > >Yes >Yes >Reject With these settings, you need to post plain text or multipart/alternative with a plain text part. If you want to allow HTML, add text/html to pass_mime_types, and set both collapse_alternatives and convert_html_to_plaintext to No, or if you want to convert the HTML to plain text, leave them Yes. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Jan 17 18:19:11 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 17 Jan 2011 09:19:11 -0800 Subject: [Mailman-Users] Content Filtering In-Reply-To: <4D3477EB.4060507@comcast.net> Message-ID: Ruth Indeck wrote: > >Question: Why doesn't Mailman convert the html to plaintext on its own? > >The intro to Content Management says: > >Finally, any text/html parts that are left in the message may be converted to text/plain if convert_html_to_plaintext is enabled and the site is configured to allow these conversions. > >I have "convert to text/plain" enabled. There are no HTML parts left after filtering because text/html is not in pass_mime_types. >What does the second part mean? How do you configure your site to allow these conversions? Is it something a regular administrator could do, or is it something that the host site of my Mailman list has to do? It means the HTML to plain text conversion is done by a command set by the Mailman site administrator. The default command is HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/lynx -dump %(filename)s' which may not work on all systems. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From soapbox at comcast.net Mon Jan 17 18:54:52 2011 From: soapbox at comcast.net (Ruth Indeck) Date: Mon, 17 Jan 2011 12:54:52 -0500 Subject: [Mailman-Users] Content Filtering In-Reply-To: References: Message-ID: <4D34826C.3050106@comcast.net> Thank you, Mark, for all your responses. I had originally thought I should have the list be able to convert to plain text, but then decided it would be ok to let messages go through as html. But I still wanted it to strip attachments. I added text/html to the list, and set the bottom two things to "no" and now it is working -- I received the whole message with html, with no funny complaints about not being allowed, and it successfully stripped the test pdf and doc attachments I sent. Ruth On 1/17/11 12:19 PM, Mark Sapiro wrote: > Ruth Indeck wrote: >> Question: Why doesn't Mailman convert the html to plaintext on its own? >> >> The intro to Content Management says: >> >> Finally, any text/html parts that are left in the message may be converted to text/plain if convert_html_to_plaintext is enabled and the site is configured to allow these conversions. >> >> I have "convert to text/plain" enabled. > > There are no HTML parts left after filtering because text/html is not > in pass_mime_types. > > >> What does the second part mean? How do you configure your site to allow these conversions? Is it something a regular administrator could do, or is it something that the host site of my Mailman list has to do? > > It means the HTML to plain text conversion is done by a command set by > the Mailman site administrator. The default command is > > HTML_TO_PLAIN_TEXT_COMMAND = '/usr/bin/lynx -dump %(filename)s' > > which may not work on all systems. > From khillo100 at hotmail.com Tue Jan 18 00:00:20 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Tue, 18 Jan 2011 01:00:20 +0200 Subject: [Mailman-Users] control mail distribution .. Message-ID: Dear mailman guys.. is there way to tell mailman to send certain number of messages per hour? I have 57 lists on 18 servers for my customers and I?m having trouble with hotmail and yahoo rejecting mail from my servers and causing a lot of subscribed addressed to be removed from the lists because of automatic bounce processing done by mailman.. when contacting my server provider they advised to control the amount of messages sent per hour or something like that .. is that possible and how? Thanks a million :) From mark at msapiro.net Tue Jan 18 03:18:58 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 17 Jan 2011 18:18:58 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: <4D34F892.2030604@msapiro.net> On 1/17/2011 3:00 PM, Khalil Abbas wrote: > > is there way to tell mailman to send certain number of messages per > hour? The short answer is No, but see the FAQ at for other possible solutions. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Tue Jan 18 04:42:38 2011 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 18 Jan 2011 12:42:38 +0900 Subject: [Mailman-Users] Are any attachments ok to allow on a listserv? In-Reply-To: References: <4D346582.9040902@comcast.net> Message-ID: <87sjwq7u8h.fsf@uwakimon.sk.tsukuba.ac.jp> Mark Sapiro writes: > >Other people think pdfs are ok (except some are too big for old machines to donwload). > > > >I also heard that a virus file could take on a fake extention, like .pdf, and fool people. > > As far as fake extensions/MIME types are concerned, it is entirely > possible to put malware in a text/plain part with a .txt extension. > The question is what will the MUA or the file manager do with that > file when you try to open it. In other words, if the virus comes with > a faked benign extension, it is unlikely that the application that > opens the file will actually execute the viral code. Unfortunately, this is false. One of the reasons that Windows has a bad security rep as a workstation OS is that firewalls would decide on the basis of MIME Content-Type or file name extension that a file was harmless, IE would decide it couldn't handle it internally and pass it on to some other program, which would look not at the alleged file type but at the file's magic, which indicates that it's executable (either natively or via an interpreter), and then execute it. Boom! you're owned. All known holes of this type have been closed, of course, but AFAIK Windows still operates in the above way, so new holes could open at any time as new programs are registered for various files types. Once those are discovered, the white hats will target them, so the probability that some of your users will get caught by an unclosed hole is pretty high. This kind of feature is becoming more common in Unix-like systems too. > I'm not saying one should be complacent. Indeed. Despite the above, I would advocate slight paranoia in most cases, not total Fear and Loathing. > I would recommend not allowing anything but plain text and perhaps > a few carefully considered image and/or PDF types if the list's > purpose requires it on a list with open subscription. On the other > hand, if the list is closed and you know the members, you might be > safe with no content filtering at all. Sounds good to me. From s.watkins at nhm.ac.uk Tue Jan 18 11:32:59 2011 From: s.watkins at nhm.ac.uk (Steff Watkins) Date: Tue, 18 Jan 2011 10:32:59 -0000 Subject: [Mailman-Users] Are any attachments ok to allow on a listserv? In-Reply-To: <4D346582.9040902@comcast.net> References: <4D346582.9040902@comcast.net> Message-ID: <8A17F10FEBA5C841956578C5AD9027D30145E0D0@HOMER.nhm.ac.uk> > -----Original Message----- > From: mailman-users-bounces+s.watkins=nhm.ac.uk at python.org > [mailto:mailman-users-bounces+s.watkins=nhm.ac.uk at python.org] > On Behalf Of Ruth Indeck > Sent: Monday, January 17, 2011 3:52 PM > To: Mailman Users > Subject: [Mailman-Users] Are any attachments ok to allow on a > listserv? > > Many people say that the best thing is not to allow > attachments at all on a listserv. So you get a list with.. let's say 100 users on. Sounds reasonable, right? One of those users just 'has to share' a 'great PDF' that they found on the environmental effects of mining cheese off the north face of Donald Duck and so posts it to the list. Let's say that the PDF is a "reasonable size" of.. 3 megs? 3 megs in.. times 100 (subscribers) = 300 megs out. OK, if you've got a fast line but it may slow things down a little if you haven't. Now, let's say that one of the receivers of the original email decides to reply to that email. Users being the general bundles of light and joy that they are known to be don't necessarily think to strip off any attachments when they forward.. Oh.. and let's go full-on Armageddon-scenario and say that this particular user also ADDS their own pdf file (again 3mb) as a response. Now you got an email with two 3meg files comes into your list.. for distribution to 100 users. Boom! There goes the neighbourhood! :) OK.. Maybe a bit over the top "doomsday scenario" but it is still reasonably possible. Now imagine being the poor sap on the end of a slow line trying to get their email and having to wait while you clean out their mailbox with the original email (3mb) and the reply (6mb)... *yawn* this email's taking forever! I'd personally disallow any attachments unless it was specifically stated in the list's description that they were "allowed and to be expected". If the list users must share files/content then they can always just put in their email a URL pointing to the resource. That way you also reduce the chance/risk of a virus/piece of malware sneaking in as the end user's web-browser should (hopefully) do some form of content-vetting/virus-scanning/BL checking beforehand. Of course, YMMV. Steff ----- From cpz at tuunq.com Tue Jan 18 17:44:33 2011 From: cpz at tuunq.com (Carl Zwanzig) Date: Tue, 18 Jan 2011 08:44:33 -0800 Subject: [Mailman-Users] Are any attachments ok to allow on a listserv? In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D30145E0D0@HOMER.nhm.ac.uk> References: <4D346582.9040902@comcast.net> <8A17F10FEBA5C841956578C5AD9027D30145E0D0@HOMER.nhm.ac.uk> Message-ID: <4D35C371.3090106@tuunq.com> FWIW, all the lists I operate have a 40-100kb message size limit. The list join message tells the users about this and that I will silently drop their large msgs if they send too many of them (and I/we don't accept anything more than about 300-400kb, anyway). I've also used a reject message that explains the concept of cut-from-msword, paste-into-text, and that the info is usually more important than the pretty format. z! From addw at phcomp.co.uk Tue Jan 18 12:28:56 2011 From: addw at phcomp.co.uk (Alain Williams) Date: Tue, 18 Jan 2011 11:28:56 +0000 Subject: [Mailman-Users] TypeError: list objects are unhashable Message-ID: <20110118112856.GD4400@phcomp.co.uk> I am running Mailman Version: 2.1.9 -- that cannot change since the machine is running CentOS 4 and so has python 2.3.4 (the box will be upraded/rebuilt in a few months). The traceback is below, since I don't speak python it doesn't mean much to me. The list works, but the error below appears when anyone enters their email address and tries to see their subscrition options. I would be grateful if someone could give me some pointers as to what I have done wrong. Many thanks. admin(21868): [----- Mailman Version: 2.1.9 -----] admin(21868): [----- Traceback ------] admin(21868): Traceback (most recent call last): admin(21868): File "/usr/local/mailman/fridayfolk/scripts/driver", line 101, in run_main admin(21868): main() admin(21868): File "/usr/local/mailman/fridayfolk/Mailman/Cgi/options.py", line 93, in main admin(21868): if not Utils.IsLanguage(language): admin(21868): File "/usr/local/mailman/fridayfolk/Mailman/Utils.py", line 678, in IsLanguage admin(21868): return mm_cfg.LC_DESCRIPTIONS.has_key(lang) admin(21868): TypeError: list objects are unhashable admin(21868): [----- Python Information -----] admin(21868): sys.version = 2.3.4 (#1, Aug 8 2009, 09:59:27) -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include From mark at msapiro.net Wed Jan 19 17:19:30 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 19 Jan 2011 08:19:30 -0800 Subject: [Mailman-Users] TypeError: list objects are unhashable In-Reply-To: <20110118112856.GD4400@phcomp.co.uk> Message-ID: Alain Williams wrote: > >The traceback is below, since I don't speak python it doesn't mean much to me. >The list works, but the error below appears when anyone enters their email address >and tries to see their subscrition options. > >I would be grateful if someone could give me some pointers as to what I have done >wrong. > >Many thanks. > > >admin(21868): [----- Mailman Version: 2.1.9 -----] >admin(21868): [----- Traceback ------] >admin(21868): Traceback (most recent call last): >admin(21868): File "/usr/local/mailman/fridayfolk/scripts/driver", line 101, in run_main >admin(21868): main() >admin(21868): File "/usr/local/mailman/fridayfolk/Mailman/Cgi/options.py", line 93, in main >admin(21868): if not Utils.IsLanguage(language): >admin(21868): File "/usr/local/mailman/fridayfolk/Mailman/Utils.py", line 678, in IsLanguage >admin(21868): return mm_cfg.LC_DESCRIPTIONS.has_key(lang) >admin(21868): TypeError: list objects are unhashable Someone has (hopefully in mm_cfg.py, but possibly by editing Defaults.py) redefined LC_DESCRIPTIONS as a list instead of a dictionary. If you don't know how to fix this, post your mm_cfg.py, and, if you've made changes to Defaults.py, see the FAQ at and post those too. Note that in any case, if you have something like LC_DESCRIPTIONS = [] in mm_cfg.py, that is wrong on two counts. LC_DESCRIPTIONS is a dictionary and an empty dictionary is {}, not [], and if LC_DESCRIPTIONS is redefined in mm_cfg.py, add_language() will still update the original dictionary. The correct thing to put in mm_cfg.py for Mailman 2.1.9 if you want say English as the only language is LC_DESCRIPTIONS.clear() add_language('en', 'English (USA)', 'us-ascii') -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From scott at 916networks.com Wed Jan 19 19:35:15 2011 From: scott at 916networks.com (Scott Race) Date: Wed, 19 Jan 2011 11:35:15 -0700 Subject: [Mailman-Users] Attachment size limit (or max_message_size) Message-ID: Hello, Running mailman 2.1.13 on RHEL5. From what I've read, the max_message_size setting in a list will be the max size for the message text (body) plus attachment. Therefore, max_message_size setting of 1000 would be approximately a megabyte for the message and any attachments. I've set that for all my list, but can still get a 5MB attachment to go through no problem. Is there something I'm missing? Thanks! Scott From barry at list.org Wed Jan 19 20:45:18 2011 From: barry at list.org (Barry Warsaw) Date: Wed, 19 Jan 2011 14:45:18 -0500 Subject: [Mailman-Users] Wiki downtime Message-ID: <20110119144518.34214d79@list.org> Our hosting provider is going to upgrade our wiki instance. There may be a short amount of downtime. Apologies for any inconvenience. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From joshua at eeinternet.com Wed Jan 19 19:53:51 2011 From: joshua at eeinternet.com (Joshua J. Kugler) Date: Wed, 19 Jan 2011 09:53:51 -0900 Subject: [Mailman-Users] TypeError: list objects are unhashable In-Reply-To: References: Message-ID: <201101190953.51847.joshua@eeinternet.com> On Wednesday 19 January 2011, Mark Sapiro elucidated thus: > Alain Williams wrote: > >The traceback is below, since I don't speak python it doesn't mean > > much to me. The list works, but the error below appears when anyone > > enters their email address and tries to see their subscrition > > options. > > > >I would be grateful if someone could give me some pointers as to > > what I have done wrong. > > > >Many thanks. > > > > > >admin(21868): [----- Mailman Version: 2.1.9 -----] > >admin(21868): [----- Traceback ------] > >admin(21868): Traceback (most recent call last): > >admin(21868): File "/usr/local/mailman/fridayfolk/scripts/driver", > > line 101, in run_main admin(21868): main() > >admin(21868): File > > "/usr/local/mailman/fridayfolk/Mailman/Cgi/options.py", line 93, in > > main admin(21868): if not Utils.IsLanguage(language): > >admin(21868): File > > "/usr/local/mailman/fridayfolk/Mailman/Utils.py", line 678, in > > IsLanguage admin(21868): return > > mm_cfg.LC_DESCRIPTIONS.has_key(lang) admin(21868): TypeError: list > > objects are unhashable > > Someone has (hopefully in mm_cfg.py, but possibly by editing > Defaults.py) redefined LC_DESCRIPTIONS as a list instead of a > dictionary. Actually, wouldn't 'lang' be the culprit here, as that is what is not hashable? If LC_DESCRIPTIONS was a list, the error would be: AttributeError: 'list' object has no attribute 'has_key' >>> d = {} >>> d.has_key([1,2,3]) Traceback (most recent call last): File "", line 1, in TypeError: unhashable type: 'list' >>> x = [] >>> x.has_key Traceback (most recent call last): File "", line 1, in AttributeError: 'list' object has no attribute 'has_key' >>> > If you don't know how to fix this, post your mm_cfg.py, and, if > you've made changes to Defaults.py, see the FAQ at > and post those too. > > Note that in any case, if you have something like > > LC_DESCRIPTIONS = [] > > in mm_cfg.py, that is wrong on two counts. LC_DESCRIPTIONS is a > dictionary and an empty dictionary is {}, not [], and if > LC_DESCRIPTIONS is redefined in mm_cfg.py, add_language() will still > update the original dictionary. > > The correct thing to put in mm_cfg.py for Mailman 2.1.9 if you want > say English as the only language is > > LC_DESCRIPTIONS.clear() > add_language('en', 'English (USA)', 'us-ascii') -- Joshua Kugler Part-Time System Admin/Programmer http://www.eeinternet.com - Fairbanks, AK PGP Key: http://pgp.mit.edu/ ?ID 0x73B13B6A From mark at msapiro.net Wed Jan 19 22:21:40 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 19 Jan 2011 13:21:40 -0800 Subject: [Mailman-Users] Attachment size limit (or max_message_size) In-Reply-To: Message-ID: Scott Race wrote: > >Running mailman 2.1.13 on RHEL5. From what I've read, the max_message_size setting in a list will be the max size for the message text (body) plus attachment. Therefore, max_message_size setting of 1000 would be approximately a megabyte for the message and any attachments. Correct. >I've set that for all my list, but can still get a 5MB attachment to go through no problem. Is there something I'm missing? The setting of 1000 should cause any message whose raw size is over 1 MB to be held for moderator approval with reason "Message body is too big: nnnn bytes with a limit of 1000 KB". This will not occur if the message is pre-approved with an Approved: header or first body line, but should occur in other cases. Of course, if a moderator approves it, it will go to the list. If you are sure it isn't working in your case, we'd need to see an actual example message to figure out why. You could send me one off list if you wish. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Jan 19 22:43:09 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 19 Jan 2011 13:43:09 -0800 Subject: [Mailman-Users] TypeError: list objects are unhashable In-Reply-To: <201101190953.51847.joshua@eeinternet.com> Message-ID: Joshua J. Kugler wrote: >On Wednesday 19 January 2011, Mark Sapiro elucidated thus: >> Alain Williams wrote: >> >The traceback is below, since I don't speak python it doesn't mean >> > much to me. The list works, but the error below appears when anyone >> > enters their email address and tries to see their subscrition >> > options. >> > >> >I would be grateful if someone could give me some pointers as to >> > what I have done wrong. >> > >> >Many thanks. >> > >> > >> >admin(21868): [----- Mailman Version: 2.1.9 -----] >> >admin(21868): [----- Traceback ------] >> >admin(21868): Traceback (most recent call last): >> >admin(21868): File "/usr/local/mailman/fridayfolk/scripts/driver", >> > line 101, in run_main admin(21868): main() >> >admin(21868): File >> > "/usr/local/mailman/fridayfolk/Mailman/Cgi/options.py", line 93, in >> > main admin(21868): if not Utils.IsLanguage(language): >> >admin(21868): File >> > "/usr/local/mailman/fridayfolk/Mailman/Utils.py", line 678, in >> > IsLanguage admin(21868): return >> > mm_cfg.LC_DESCRIPTIONS.has_key(lang) admin(21868): TypeError: list >> > objects are unhashable >> >> Someone has (hopefully in mm_cfg.py, but possibly by editing >> Defaults.py) redefined LC_DESCRIPTIONS as a list instead of a >> dictionary. > >Actually, wouldn't 'lang' be the culprit here, as that is what is not >hashable? Yes, my bad. So, back to the original issue. I suspect this error occurs because somehow this list's language has been set to a list of languages rather than a single language. If you view the source of the list's listinfo page, you should see near the end something like
To unsubscribe from LISTNAME, get a password reminder, or change your subscription options enter your subscription email address:

If you leave the field blank, you will be prompted for your email address
What is the value in the element? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From addw at phcomp.co.uk Thu Jan 20 00:31:24 2011 From: addw at phcomp.co.uk (Alain Williams) Date: Wed, 19 Jan 2011 23:31:24 +0000 Subject: [Mailman-Users] TypeError: list objects are unhashable In-Reply-To: References: <201101190953.51847.joshua@eeinternet.com> Message-ID: <20110119233124.GR4400@phcomp.co.uk> On Wed, Jan 19, 2011 at 01:43:09PM -0800, Mark Sapiro wrote: > Joshua J. Kugler wrote: > .... > Yes, my bad. So, back to the original issue. > > I suspect this error occurs because somehow this list's language has > been set to a list of languages rather than a single language. > > If you view the source of the list's listinfo page, you should see near > the end something like > >
> To unsubscribe from LISTNAME, get a password reminder, > or change your subscription options enter your subscription > email address: >

>
> If you leave the field blank, you will be prompted for > your email address >
> > What is the value in the > element? Ah, that gave me the clue to find it .... The form at the bottom of the page had become 2 overlapping forms, so looking at (near the bottom): /listinfo.html I saw:

Once I fixed it to:

It all worked. So the problem was that there were 2 elements called 'language' in the form. Many thanks for the clue. Regards -- Alain Williams Linux/GNU Consultant - Mail systems, Web sites, Networking, Programmer, IT Lecturer. +44 (0) 787 668 0256 http://www.phcomp.co.uk/ Parliament Hill Computers Ltd. Registration Information: http://www.phcomp.co.uk/contact.php #include From CNulk at scu.edu Thu Jan 20 00:35:06 2011 From: CNulk at scu.edu (C Nulk) Date: Wed, 19 Jan 2011 15:35:06 -0800 Subject: [Mailman-Users] Question about reg expr matches in matches_p (in Moderate.py) Message-ID: <4D37752A.1000308@scu.edu> Hello all, I am getting in my error log frequent entries like the following: Jan 19 14:51:32 2011 (31592) *_these_nonmembers in scu- references non-existent list SCU- To allow list members in several lists to cross post, I have added the appropriate @listname in the accept_these_nonmembers field. For example, there are two lists, ListA and ListB. ListA is in ListB's accept_these_nonmembers (as @ListA) and ListB is in ListA's accept_these_nonmembers (@ListB). The two lists are exclusive of one another (no member is in both lists). To my knowledge, this should work unless the regular expression and/or the listname are case-sensitive. So the question is, should the listnames in the *_these_nonmembers fields be all lowercase, all uppercase, or mixed case? So far, mixed case does not appear to be working. Thanks, Chris From scott at 916networks.com Thu Jan 20 01:06:59 2011 From: scott at 916networks.com (Scott Race) Date: Wed, 19 Jan 2011 17:06:59 -0700 Subject: [Mailman-Users] Attachment size limit (or max_message_size) In-Reply-To: References: Message-ID: Ah, I see what's going on. So for the particular lists were working on, all messages to the list are held for moderation. So, it seems clicking "Accept" will accept the message, even if the message size is too big. We recently (4 months ago) upgraded from Debian 4 to RHEL5. On the previous box, I believe we were running Mailman 2.1.12 (not sure), messages over the max_message_size limit would not hit the list and bounce back to the user with that message. The company I'm working with is hoping the system can kick back messages over the max_message_size before it hits moderation. Is that possible? Would adding GLOBAL_PIPELINE directives to mm_cfg.py get that done? Thanks! Scott -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Wednesday, January 19, 2011 1:22 PM To: Scott Race; mailman-users at python.org Subject: Re: [Mailman-Users] Attachment size limit (or max_message_size) Scott Race wrote: > >Running mailman 2.1.13 on RHEL5. From what I've read, the max_message_size setting in a list will be the max size for the message text (body) plus attachment. Therefore, max_message_size setting of 1000 would be approximately a megabyte for the message and any attachments. Correct. >I've set that for all my list, but can still get a 5MB attachment to go through no problem. Is there something I'm missing? The setting of 1000 should cause any message whose raw size is over 1 MB to be held for moderator approval with reason "Message body is too big: nnnn bytes with a limit of 1000 KB". This will not occur if the message is pre-approved with an Approved: header or first body line, but should occur in other cases. Of course, if a moderator approves it, it will go to the list. If you are sure it isn't working in your case, we'd need to see an actual example message to figure out why. You could send me one off list if you wish. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mcnutt at utk.edu Thu Jan 20 04:43:58 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Thu, 20 Jan 2011 03:43:58 +0000 Subject: [Mailman-Users] Make Install Fails Message-ID: <0CD7A72044B75D478D36624D96C5D4412F9BAF@kmbx1.utk.tennessee.edu> I'm attempting to install Mailman on a Solaris 10 box and I am unable to get past "make install." Sorry - not a unix guy, please use small words and explicit direction. Attached is the results of make install: Creating architecture independent directories... chmod o-r /usr/local/mailman/archives/private Creating architecture dependent directories... for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py; \ do \ .././install-sh -c -m 755 ../build/bin/$f /usr/local/mailman/bin; \ done for f in crontab.in; \ do \ .././install-sh -c -m 644 $f /usr/local/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled; \ do \ .././install-sh -c -m 755 ../build/cron/$f /usr/local/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ .././install-sh -c -m 644 $i /usr/local/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/usr/local/mailman/$d; \ .././install-sh -c -m 644 paths.py $dir; \ done .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' From Richard at Damon-Family.org Thu Jan 20 06:06:05 2011 From: Richard at Damon-Family.org (Richard Damon) Date: Thu, 20 Jan 2011 00:06:05 -0500 Subject: [Mailman-Users] Advice on new install of Mailman to CentOS 5 Message-ID: Hi, I am looking at combining several hosting accounts into a single Virtual Private Server. One of these is being used to support a couple of mailing list running on Mailman 2.1.9 (I know that isn't current, but that is what they give me). The new server will be running CentOS 5, with Plesk Parallels as a control panel (I am not afraid to get down to the command line to do things, but also would claim to be an expert at it either, and the control panel makes some routine tasks easier). The question comes in that the CentOS 5 distribution only has a RPM for Mailman 2.1.9, instead of the recently released 2.1.14, so the question comes do I use the RPM from the distribution and run a version several years old, or is it better to install from a direct download. I am working of a fresh install so I don't need to worry about migrating existing list on the server, but I definitely want to be able to import the existing lists from the old server. (And will probably do at least one dry run of the migration to a different domain name just to make sure I know how to do this and that things work before moving the live site). Richard Damon From mcnutt at utk.edu Thu Jan 20 15:43:55 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Thu, 20 Jan 2011 14:43:55 +0000 Subject: [Mailman-Users] Recovering from Server Fail, was FW: Make Install Fails Message-ID: <0CD7A72044B75D478D36624D96C5D4412F9C3F@kmbx1.utk.tennessee.edu> I've continued to fiddle with this and now have different errors, so I thought I would back up and give ya'll the big picture in case I'm approaching this from the wrong direction. Tuesday morning I had a hardware failure on my old Solaris 10 box. In 25 years in the business, I don't think I've seen a hardware failure as thorough as this that didn't involve smoke. The machine is utterly unrecoverable. So to get back into service, I decided to move the service to a different box. It's also a Solaris box, but is a Sun X4100. I have restored the directory tree from tape, but presume that the executables can't be run on the new platform. What is the quickest way to get mailman back in service? Bill McNutt -----Original Message----- From: mailman-users-bounces+mcnutt=utk.edu at python.org [mailto:mailman-users-bounces+mcnutt=utk.edu at python.org] On Behalf Of McNutt Jr, William R Sent: Wednesday, January 19, 2011 10:44 PM To: mailman-users at python.org Subject: [Mailman-Users] Make Install Fails I'm attempting to install Mailman on a Solaris 10 box and I am unable to get past "make install." Sorry - not a unix guy, please use small words and explicit direction. Attached is the results of make install: Creating architecture independent directories... chmod o-r /usr/local/mailman/archives/private Creating architecture dependent directories... for f in mmsitepass newlist rmlist add_members list_members remove_members clone_member update arch sync_members check_db withlist check_perms find_member version config_list list_lists dumpdb cleanarch list_admins genaliases change_pw mailmanctl qrunner inject unshunt fix_url.py convert.py transcheck b4b5-archfix list_owners msgfmt.py show_qfiles discard rb-archfix reset_pw.py; \ do \ .././install-sh -c -m 755 ../build/bin/$f /usr/local/mailman/bin; \ done for f in crontab.in; \ do \ .././install-sh -c -m 644 $f /usr/local/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled; \ do \ .././install-sh -c -m 755 ../build/cron/$f /usr/local/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ .././install-sh -c -m 644 $i /usr/local/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/usr/local/mailman/$d; \ .././install-sh -c -m 644 paths.py $dir; \ done .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org 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/mcnutt%40utk.edu From mark at msapiro.net Thu Jan 20 20:03:19 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 11:03:19 -0800 Subject: [Mailman-Users] Question about reg expr matches in matches_p (in Moderate.py) In-Reply-To: <4D37752A.1000308@scu.edu> References: <4D37752A.1000308@scu.edu> Message-ID: <4D3886F7.5010701@msapiro.net> On 1/19/2011 3:35 PM, C Nulk wrote: > > So the question is, should the listnames in the *_these_nonmembers > fields be all lowercase, all uppercase, or mixed case? So far, mixed > case does not appear to be working. The list name in @listname entries in *_these_nonmembers must be the internal name of the list, i.e. it is all lower case, and in distros such as cPanel that have munged listnames, it must be the name that's used in the web interface which may be different from the name in the posting address. Again, in cPanel for example, this is the listname_domain name, not simply listname. These are the only case sensitive entries in *_these_nonmembers. regexps and literal addresses are matched case insensitively. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mcnutt at utk.edu Thu Jan 20 20:18:15 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Thu, 20 Jan 2011 19:18:15 +0000 Subject: [Mailman-Users] Recovering from Server Fail, was FW: Make Install Fails Message-ID: <0CD7A72044B75D478D36624D96C5D4412FA104@kmbx1.utk.tennessee.edu> Here's some more information: At step 3.1 of the installation instructions, the ./configure step appears to run to completion, but then ends with a warning: can't change build. I don't get this when I run as root, but the instructions pretty clearly say that I should not be "root" when I run it. Is this the core of my problem? -----Original Message----- From: mailman-users-bounces+mcnutt=utk.edu at python.org [mailto:mailman-users-bounces+mcnutt=utk.edu at python.org] On Behalf Of Mark Sapiro Sent: Thursday, January 20, 2011 2:03 PM To: C Nulk Cc: MailMan Subject: Re: [Mailman-Users] Question about reg expr matches in matches_p (in Moderate.py) On 1/19/2011 3:35 PM, C Nulk wrote: > > So the question is, should the listnames in the *_these_nonmembers > fields be all lowercase, all uppercase, or mixed case? So far, mixed > case does not appear to be working. The list name in @listname entries in *_these_nonmembers must be the internal name of the list, i.e. it is all lower case, and in distros such as cPanel that have munged listnames, it must be the name that's used in the web interface which may be different from the name in the posting address. Again, in cPanel for example, this is the listname_domain name, not simply listname. These are the only case sensitive entries in *_these_nonmembers. regexps and literal addresses are matched case insensitively. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org 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/mcnutt%40utk.edu From mark at msapiro.net Thu Jan 20 20:27:51 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 11:27:51 -0800 Subject: [Mailman-Users] Attachment size limit (or max_message_size) In-Reply-To: Message-ID: Scott Race wrote: >Ah, I see what's going on. So for the particular lists were working on, all messages to the list are held for moderation. So, it seems clicking "Accept" will accept the message, even if the message size is too big. Yes, and further, if the messages are held because the poster is moderated, this hold is applied before any of the miscellaneous holds, so all you know is it is a post from a moderated member, and if you approve it, it is approved even if too big. >We recently (4 months ago) upgraded from Debian 4 to RHEL5. On the previous box, I believe we were running Mailman 2.1.12 (not sure), messages over the max_message_size limit would not hit the list and bounce back to the user with that message. Without source modifications, the message would still be held, not rejected, but the user would be notified if respond_to_post_requests is Yes. >The company I'm working with is hoping the system can kick back messages over the max_message_size before it hits moderation. Is that possible? > >Would adding GLOBAL_PIPELINE directives to mm_cfg.py get that done? Yes, you could reorder the pipeline to put Hold ahead of Moderate, but the downside of this is a non-member post could be held for one of the miscellaneous hold reasons and the moderator may not realize it's a non-member post. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mcnutt at utk.edu Thu Jan 20 20:26:08 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Thu, 20 Jan 2011 19:26:08 +0000 Subject: [Mailman-Users] Recovering from Server Fail, was FW: Make Install Fails In-Reply-To: <0CD7A72044B75D478D36624D96C5D4412FA104@kmbx1.utk.tennessee.edu> References: <0CD7A72044B75D478D36624D96C5D4412FA104@kmbx1.utk.tennessee.edu> Message-ID: <0CD7A72044B75D478D36624D96C5D4412FA126@kmbx1.utk.tennessee.edu> Is this a fatal error for the ./configure step? checking for --with-mailhost... no checking for --with-urlhost... no Traceback (most recent call last): File "conftest.py", line 2, in from socket import * File "/usr/local/lib/python2.6/socket.py", line 46, in import _socket ImportError: ld.so.1: python: fatal: relocation error: file /usr/local/lib/python2.6/lib-dynload/_socket.so: symbol inet_aton: referenced symbol not found checking for default mail host name... Can't open conftest.out checking for default URL host component... Can't open conftest.out checking for strerror... (cached) yes -----Original Message----- From: mailman-users-bounces+mcnutt=utk.edu at python.org [mailto:mailman-users-bounces+mcnutt=utk.edu at python.org] On Behalf Of McNutt Jr, William R Sent: Thursday, January 20, 2011 2:18 PM To: mailman-users at python.org Subject: Re: [Mailman-Users] Recovering from Server Fail, was FW: Make Install Fails Here's some more information: At step 3.1 of the installation instructions, the ./configure step appears to run to completion, but then ends with a warning: can't change build. I don't get this when I run as root, but the instructions pretty clearly say that I should not be "root" when I run it. Is this the core of my problem? -----Original Message----- From: mailman-users-bounces+mcnutt=utk.edu at python.org [mailto:mailman-users-bounces+mcnutt=utk.edu at python.org] On Behalf Of Mark Sapiro Sent: Thursday, January 20, 2011 2:03 PM To: C Nulk Cc: MailMan Subject: Re: [Mailman-Users] Question about reg expr matches in matches_p (in Moderate.py) On 1/19/2011 3:35 PM, C Nulk wrote: > > So the question is, should the listnames in the *_these_nonmembers > fields be all lowercase, all uppercase, or mixed case? So far, mixed > case does not appear to be working. The list name in @listname entries in *_these_nonmembers must be the internal name of the list, i.e. it is all lower case, and in distros such as cPanel that have munged listnames, it must be the name that's used in the web interface which may be different from the name in the posting address. Again, in cPanel for example, this is the listname_domain name, not simply listname. These are the only case sensitive entries in *_these_nonmembers. regexps and literal addresses are matched case insensitively. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org 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/mcnutt%40utk.edu ------------------------------------------------------ Mailman-Users mailing list Mailman-Users at python.org 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/mcnutt%40utk.edu From mcnutt at utk.edu Thu Jan 20 20:32:31 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Thu, 20 Jan 2011 19:32:31 +0000 Subject: [Mailman-Users] Rr: Recovering from Server Fail Message-ID: <0CD7A72044B75D478D36624D96C5D4412FA140@kmbx1.utk.tennessee.edu> If I continue to "make install" I get the following error: .././install-sh -c -m 755 mailman /usr/local/mailman/scripts .././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ done /usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' warnings.warn(msg) src/hangul.c:33: error: syntax error before numeric constant src/hangul.c:34: error: syntax error before numeric constant error: command 'gcc' failed with exit status 1 *** Error code 1 make: Fatal error: Command failed for target `install-packages' Current working directory /export/home/local/mailman-2.1.9/misc *** Error code 1 The following command caused the error: for d in bin cron misc Mailman scripts src templates messages tests; \ do \ (cd $d; make DESTDIR= install); \ done make: Fatal error: Command failed for target `doinstall' From mark at msapiro.net Thu Jan 20 21:05:21 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 12:05:21 -0800 Subject: [Mailman-Users] Rr: Recovering from Server Fail In-Reply-To: <0CD7A72044B75D478D36624D96C5D4412FA140@kmbx1.utk.tennessee.edu> Message-ID: McNutt Jr, William R wrote: >If I continue to "make install" I get the following error: > >.././install-sh -c -m 755 mailman /usr/local/mailman/scripts >.././install-sh -c -m 644 sitelist.cfg /usr/local/mailman/data >for p in email-2.5.8 JapaneseCodecs-1.4.11 KoreanCodecs-2.0.5; \ >do \ > gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ > (cd ./$p ; umask 02 ; PYTHONPATH=/usr/local/mailman/pythonlib /usr/local/bin/python setup.py --quiet install --install-lib /usr/local/mailman/pythonlib --install-purelib /usr/local/mailman/pythonlib --install-data /usr/local/mailman/pythonlib); \ >done >/usr/local/lib/python2.6/distutils/dist.py:250: UserWarning: 'licence' distribution option is deprecated; use 'license' > warnings.warn(msg) >src/hangul.c:33: error: syntax error before numeric constant >src/hangul.c:34: error: syntax error before numeric constant >error: command 'gcc' failed with exit status 1 >*** Error code 1 >make: Fatal error: Command failed for target `install-packages' >Current working directory /export/home/local/mailman-2.1.9/misc >*** Error code 1 >The following command caused the error: >for d in bin cron misc Mailman scripts src templates messages tests; \ >do \ > (cd $d; make DESTDIR= install); \ >done >make: Fatal error: Command failed for target `doinstall' There's a lot of stuff in the archives of this list about various solaris installation issues. Try googling "site:mail.python.org inurl:mailman solaris 10 codecs syntax". -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 20 21:17:13 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 12:17:13 -0800 Subject: [Mailman-Users] Advice on new install of Mailman to CentOS 5 In-Reply-To: Message-ID: Richard Damon wrote: > >The question comes in that the CentOS 5 distribution only has a RPM >for Mailman 2.1.9, instead of the recently released 2.1.14, so the >question comes do I use the RPM from the distribution and run a >version several years old, or is it better to install from a direct >download. Quoting from the FAQ at It is possible to trick Plesk into recognizing newer versions installed manually but it's not for the faint of heart. >I am working of a fresh install so I don't need to worry >about migrating existing list on the server, but I definitely want to >be able to import the existing lists from the old server. (And will >probably do at least one dry run of the migration to a different >domain name just to make sure I know how to do this and that things >work before moving the live site). The actual migration of list data from the old to the new installation should be straightforward as long as the new installation is the same or a newer version. See the initial section of the FAQ at , and note that you may need to run fix_url to update list domains and this should be done prior to regenerating archives. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Thu Jan 20 12:30:31 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Thu, 20 Jan 2011 13:30:31 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: <4D34F892.2030604@msapiro.net> References: <4D34F892.2030604@msapiro.net> Message-ID: by the way, I keep deleting the following: /var/spool/mailman/bounces/*.pck /var/lib/mailman/data/*.pck because they fill up all the space on my small hard drives on my VPS servers.. is that why mailman's bounce processor removes the subscribers or because they does actually bounce until they reach the points limit? Thanks.. -----Original Message----- From: Mark Sapiro Sent: Tuesday, January 18, 2011 4:18 AM To: Khalil Abbas Cc: mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. On 1/17/2011 3:00 PM, Khalil Abbas wrote: > > is there way to tell mailman to send certain number of messages per > hour? The short answer is No, but see the FAQ at for other possible solutions. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From twigbranch at gmail.com Thu Jan 20 20:23:02 2011 From: twigbranch at gmail.com (Stefan Alder) Date: Thu, 20 Jan 2011 11:23:02 -0800 Subject: [Mailman-Users] Friendly email address Message-ID: Hi, I'd like to use Mailman for a distribution list and would prefer that the from address be of the form "Foo Bar " ... rather than just foobar at list.org. Is this possible? How do I need to input this in the configuration? Thanks From mark at msapiro.net Thu Jan 20 21:53:27 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 12:53:27 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: >by the way, I keep deleting the following: > >/var/spool/mailman/bounces/*.pck It looks like BounceRunner has died and is not processing the bounce queue. Chack Mailman's qrunner and error logs for more information. >/var/lib/mailman/data/*.pck Are these heldmsg-listname-*.pck files or bounce-events-*.pck files. If they are held messages, they should be removed with bin/discard or through the moderator interface, and setting the list's max_days_to_hold may help. If they are bounce-events-*.pck files, most of them are probably stale because of dying BounceRunners. Assuming you are not slicing queues, i.e., you have only one qrunner per queue, there should never be more than two of these, one with the PID of the current OutgoingRunner and one with the PID of the current BounceRunner. All the others are dead files left behind when a runner died or was killed. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From brohler at purdue.edu Thu Jan 20 22:05:27 2011 From: brohler at purdue.edu (Rohler, Brian L) Date: Thu, 20 Jan 2011 16:05:27 -0500 Subject: [Mailman-Users] unsubscribe Message-ID: From twigbranch at gmail.com Thu Jan 20 22:14:20 2011 From: twigbranch at gmail.com (Stefan Alder) Date: Thu, 20 Jan 2011 13:14:20 -0800 Subject: [Mailman-Users] Friendly email address In-Reply-To: References: Message-ID: I'm continuing to try various combinations but without any luck. Don't see this documented either. Any ideas or confirmation that this is not possible would really help. Thanks! On Thu, Jan 20, 2011 at 11:23 AM, Stefan Alder wrote: > Hi, > I'd like to use Mailman for a distribution list and would prefer that > the from address be of the form "Foo Bar " ... rather > than just foobar at list.org. ?Is this possible? ?How do I need to input > this in the configuration? > Thanks > From scott at 916networks.com Thu Jan 20 23:12:15 2011 From: scott at 916networks.com (Scott Race) Date: Thu, 20 Jan 2011 15:12:15 -0700 Subject: [Mailman-Users] Attachment size limit (or max_message_size) In-Reply-To: References: Message-ID: A few final questions to figure this out: 1. Has this always been the design? The client seems to think that on his old server the message would get kicked back before hitting the moderation queue. If so that's cool, just want to make sure I'm not missing something. 2. To make sure I understand - if we were to use GLOBAL_PIPELINE directives in mm_cfg.py to re-order, would that mean that email addresses not signed up and confirmed as members would be able to send to the list and have it go into the modertor's queue? 3. With a list of thousands of users, a 6MB attachment would kill our bandwidth if it went out. If we must moderate, is there any other solution other than the moderator looking at each email and deciding to kick it back due to size? Postfix limiting (ungraceful, I know)? Thanks! Scott -----Original Message----- From: Mark Sapiro [mailto:mark at msapiro.net] Sent: Thursday, January 20, 2011 11:28 AM To: Scott Race; mailman-users at python.org Subject: Re: [Mailman-Users] Attachment size limit (or max_message_size) Scott Race wrote: >Ah, I see what's going on. So for the particular lists were working on, all messages to the list are held for moderation. So, it seems clicking "Accept" will accept the message, even if the message size is too big. Yes, and further, if the messages are held because the poster is moderated, this hold is applied before any of the miscellaneous holds, so all you know is it is a post from a moderated member, and if you approve it, it is approved even if too big. >We recently (4 months ago) upgraded from Debian 4 to RHEL5. On the previous box, I believe we were running Mailman 2.1.12 (not sure), messages over the max_message_size limit would not hit the list and bounce back to the user with that message. Without source modifications, the message would still be held, not rejected, but the user would be notified if respond_to_post_requests is Yes. >The company I'm working with is hoping the system can kick back messages over the max_message_size before it hits moderation. Is that possible? > >Would adding GLOBAL_PIPELINE directives to mm_cfg.py get that done? Yes, you could reorder the pipeline to put Hold ahead of Moderate, but the downside of this is a non-member post could be held for one of the miscellaneous hold reasons and the moderator may not realize it's a non-member post. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 20 23:34:27 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 14:34:27 -0800 Subject: [Mailman-Users] Friendly email address In-Reply-To: Message-ID: Stefan Alder wrote: >I'm continuing to try various combinations but without any luck. >Don't see this documented either. Any ideas or confirmation that this >is not possible would really help. Thanks! > >On Thu, Jan 20, 2011 at 11:23 AM, Stefan Alder wrote: >> Hi, >> I'd like to use Mailman for a distribution list and would prefer that >> the from address be of the form "Foo Bar " ... rather >> than just foobar at list.org. Is this possible? How do I need to input >> this in the configuration? If your Mailman is recent enough and if your list is anonymous_list = Yes the From: will be "Foo Bar " where "Foo Bar" is the list's description. Recent enough is 2.1.6 or later. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 20 23:45:51 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 20 Jan 2011 14:45:51 -0800 Subject: [Mailman-Users] Attachment size limit (or max_message_size) In-Reply-To: Message-ID: Scott Race wrote: >A few final questions to figure this out: > >1. Has this always been the design? The client seems to think that on his old server the message would get kicked back before hitting the moderation queue. If so that's cool, just want to make sure I'm not missing something. I don't know what code modifications might have been in place in the old server, but it has always worked this way in Mailman 2.1.x as distributed by the GNU Mailman project. >2. To make sure I understand - if we were to use GLOBAL_PIPELINE directives in mm_cfg.py to re-order, would that mean that email addresses not signed up and confirmed as members would be able to send to the list and have it go into the modertor's queue? Yes, but only if the post were subject to any of the miscellaneous holds processed by Mailman/Handlers/Hold.py. >3. With a list of thousands of users, a 6MB attachment would kill our bandwidth if it went out. If we must moderate, is there any other solution other than the moderator looking at each email and deciding to kick it back due to size? Postfix limiting (ungraceful, I know)? I would recommend a custom handler (see the FAQ at ) to be inserted in the pipeline ahead of Moderate whose job would be only to reject posts that are too big. Alternatively, you could put Hold first, but modify it to reject instead of hold. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From floeff at gmail.com Fri Jan 21 11:19:21 2011 From: floeff at gmail.com (Florian Effenberger) Date: Fri, 21 Jan 2011 11:19:21 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: <4D0C1F3A.6080604@msapiro.net> References: <4D0C1F3A.6080604@msapiro.net> Message-ID: Hi Mark, thanks for your reply, and sorry for my delay! 2010/12/18 Mark Sapiro : > The procedure for adding a host name is > > 1) Put the appropriate add_virtualhost() in mm_cfg.py. > 2) If Postfix is to generate virtual alias maps for this domain, add it > to POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py. > 3) To move any lists to that domain, run fix_url with the -u option on > the list(s) hm, do I get it right that I have to add the hostnames twice in mm_cfg.py when using Postfix, once in add_virtualhost, once in POSTFIX_STYLE_VIRTUAL_DOMAINS? Right now, I have DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST to lists.domain1.tld with the only add_virtualhost line being add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST). In addition, I have set POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld', 'lists.domain2.tld'], so the only occurence of domain2 is in POSTFIX_STYLE_VIRTUAL_DOMAINS. However, I have already wondered where to set the web URL. Right now, lists.domain2 still have lists.domain1 e.g. in the List-Archive header. Thanks, Florian From noah-list at enabled.com Thu Jan 20 23:35:42 2011 From: noah-list at enabled.com (Noah) Date: Thu, 20 Jan 2011 14:35:42 -0800 Subject: [Mailman-Users] pck files in /var/lib/mailman/data Message-ID: <4D38B8BE.9090007@enabled.com> Hi there, I have over 61000 heldmsg--.pck files in /var/lib/mailman/data for various mail list. They are binary so I cannot view them. I checked two of the lists that have these files associated with it and mailman does not see held messages via the web GUI. Do I need these messages or can they be deleted? Cheers, Noah From noah-list at enabled.com Thu Jan 20 23:32:32 2011 From: noah-list at enabled.com (Noah) Date: Thu, 20 Jan 2011 14:32:32 -0800 Subject: [Mailman-Users] mailman installation on ubuntu failing In-Reply-To: References: Message-ID: <4D38B800.3090407@enabled.com> > I don't know what the apt-get process does to undo what it had done up > to this point, but at this point, the new Mailman 2.1.9 had been > installed and all that was left to do was any necessary list data > migration. Since there aren't any data format changes between 2.1.9 > and 2.1.11, it was essentially done. > > If the installed package wasn't backed out, you can just manually run > Mailman's bin/update -f, but the real question is where did the 2.1.11 > version come from and why doesn't apt-get know about it? > > If I were you, I would look at Mailman's Mailman/Version.py file for > the version currently installed. If it is 2.1.11, then apt-get > reversed its changes, and what to do depends on whether you want to > leave 2.1.11 in place or overwrite it with 2.1.9. To leave it in > place, do nothing. You should be able to just start Mailman if it > isn't already running. > > To overwrite 2.1.11 with 2.1.9, remove Mailman's > data/last_mailman_version file or edit its contents which are > apparently 0x2010bf0 to something like 0x20108f0 and then re-run the > apt-get. > > On the other hand, if the version of Mailman's Mailman/Version.py file > is 2.1.9, then you have already over written the 2.1.11 version and > you can finish the process by stopping Mailman if it's running, then > run Mailman's > > bin/update -f > > and start Mailman. > okay that worked great - thanks Mark! :) From jlieber at goengineer.com Fri Jan 21 21:07:03 2011 From: jlieber at goengineer.com (John Lieber) Date: Fri, 21 Jan 2011 14:07:03 -0600 Subject: [Mailman-Users] Searching user list for mod bit Message-ID: <49314D57A0408341864E8641BB5285DC7C24557E85@AUSP01VMBX08.collaborationhost.net> Is there a way to search the entire user list for moderation bit. What I would like to do is search the list of users of my mailman lists to see who 'does not' have the moderation bit set. Had a situation the other day where a user replied to one of my lists and it went through because the person that added them unchecked the mod.... Thanks in advance, Johnathen From mcnutt at utk.edu Fri Jan 21 21:52:55 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Fri, 21 Jan 2011 20:52:55 +0000 Subject: [Mailman-Users] Solaris 10 and Python Message-ID: <0CD7A72044B75D478D36624D96C5D4412FB9EC@kmbx1.utk.tennessee.edu> Has anyone successfully made this work on a Sun Solaris 10? I've been at this for three days and no matter what I do, I only manage to change error messages. At this point I've made it through the ./configure step, but it's breaking on make install. It's a Sun Fire x4100 running solaris 10. I've got mailman 2.1.14 and python 2.6.2 If you've made it work under that configuration and are willing so show off your 'leet skills helping me deal with this, please shoot me a note at mcnutt at utk.edu. Bill From mark at msapiro.net Sat Jan 22 02:26:03 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 21 Jan 2011 17:26:03 -0800 Subject: [Mailman-Users] pck files in /var/lib/mailman/data In-Reply-To: <4D38B8BE.9090007@enabled.com> Message-ID: Noah wrote: > >I have over 61000 heldmsg--.pck files in >/var/lib/mailman/data for various mail list. They are binary so I >cannot view them. You can view them with Mailman's bin/dumpdb >I checked two of the lists that have these files >associated with it and mailman does not see held messages via the web >GUI. Do I need these messages or can they be deleted? If the messages do not show up in the admindb GUI for the associated list (usually it's the converse that's true - i.e.people rm the files and the requests.pck data doesn't get updated), the files can be removed, but in all cases it is better to use Mailman's bin/discard to remove them. See the FAQ at . You should also consider using the lists' max_days_to_hold setting to keep large numbers of held messages from accumulating. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Fri Jan 21 10:15:17 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Fri, 21 Jan 2011 11:15:17 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: well, attached are parts of the error and qrunner logs.. I also forgot to mention that I also delete the following files: rm /var/lib/mailman/data/*.pck -f rm /var/lock/mailman/*.* -f the first one also eats up my little space on the hard drive, and the other locks the lists n they can?t send.. what I need to know, why the subscribers are being removed? is it because of misconfiguration of mailman? or because of outside MTA?s like yahoo and hotmail rejecting mail from my servers because I need to control the flow of messages going out from my servers? another thing worth to mention, the servers are not blocked by hotmail because I sent single test messages from all my servers to some of my subscribers that were removed from my lists and they received them with no problems.. Thanks.. -----Original Message----- From: Mark Sapiro Sent: Friday, January 21, 2011 12:21 AM To: Khalil Abbas Subject: Re: [Mailman-Users] control mail distribution .. Khalil Abbas wrote: > >if the bounce runner keeps dying, then why the subscribers keep being >removed?? Because it doesn't die always? You're the one with the logs and other evidence that might enable someone to answer this. >and I understand the conclusion to my previously asked question, >deleting these files does not get the subscribers to be removed right? Right. Deleting *.pck files from /var/spool/mailman/bounce will result in those specific bounce messages (each file is one queued bounce message) being lost and therefore not processed. Likewise, deleting bounce-events-*.pck files from /var/lib/mailman/data/ will in the case of active files result in the bounce information in the file being unprocessed, and in the case of "dead" files have no effect because whatever residual bounce info is in those files is lost. In any event, removing these files will result only in bounce scores not being incremented and subscribers not being removed, not the reverse. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: error.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: qrunnerx.txt URL: From grschmidt at acm.org Sat Jan 22 03:17:08 2011 From: grschmidt at acm.org (Gary R. Schmidt) Date: Sat, 22 Jan 2011 13:17:08 +1100 Subject: [Mailman-Users] Solaris 10 and Python In-Reply-To: References: Message-ID: <4D3A3E24.8040202@acm.org> On 22/01/2011 12:40 PM, "McNutt Jr, William R" wrote: > > Has anyone successfully made this work on a Sun Solaris 10? I've > been at this for three days and no matter what I do, I only manage > to change error messages. At this point I've made it through the > ./configure step, but it's breaking on make install. > > It's a Sun Fire x4100 running solaris 10. I've got mailman 2.1.14 > and python 2.6.2 Worked out of the box for me: ./configure \ --prefix=/data/mailman \ --with-python=/opt/webstack/bin/python \ --with-cgi-gid=webservd \ --with-mailhost=mail.mydomain \ --with-urlhost=www.mydomain \ --with-gcc=no Note that I have SunStudio, WebStack, and Postfix (built from source) on this machine. > If you've made it work under that configuration and are willing so > show off your 'leet skills helping me deal with this, please shoot > me a note at mcnutt at utk.edu. Ask on the list, get answered on the list :->' Cheers, Gary B-) From mcnutt at utk.edu Sat Jan 22 05:10:36 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Sat, 22 Jan 2011 04:10:36 +0000 Subject: [Mailman-Users] Transferring Lists Message-ID: <0CD7A72044B75D478D36624D96C5D4412FBCB4@kmbx1.utk.tennessee.edu> I am recovering from a catastrophic hardware failure. I have a tape backup of mailman, lists and all, and I would like to restore it to the new hardware. I have successfully installed mailman on the new server. Can anyone refer me to a document that will guide me through re-constructing my list from those old files? Bill From mark at msapiro.net Sat Jan 22 19:48:55 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 10:48:55 -0800 Subject: [Mailman-Users] Searching user list for mod bit In-Reply-To: <49314D57A0408341864E8641BB5285DC7C24557E85@AUSP01VMBX08.collaborationhost.net> Message-ID: John Lieber wrote: >Is there a way to search the entire user list for moderation bit. If you have command line access, see the withlist script at . If you don't, see the script at which can output a .csv file by screen scraping the web admin Membership List. You can then import the .csv into a spread sheet and search the "mod" column. The above scripts are mirrored at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From noah-list at enabled.com Sat Jan 22 21:51:38 2011 From: noah-list at enabled.com (Noah) Date: Sat, 22 Jan 2011 12:51:38 -0800 Subject: [Mailman-Users] pck files in /var/lib/mailman/data In-Reply-To: References: Message-ID: <4D3B435A.7050106@enabled.com> On 1/21/11 5:26 PM, Mark Sapiro wrote: > Noah wrote: >> >> I have over 61000 heldmsg--.pck files in >> /var/lib/mailman/data for various mail list. They are binary so I >> cannot view them. > > > You can view them with Mailman's bin/dumpdb > > >> I checked two of the lists that have these files >> associated with it and mailman does not see held messages via the web >> GUI. Do I need these messages or can they be deleted? > > > If the messages do not show up in the admindb GUI for the associated > list (usually it's the converse that's true - i.e.people rm the files > and the requests.pck data doesn't get updated), the files can be > removed, but in all cases it is better to use Mailman's bin/discard to > remove them. See the FAQ at. > > You should also consider using the lists' max_days_to_hold setting to > keep large numbers of held messages from accumulating. thanks so much Mark. is there a way to set the "max_days_to_hold" variable in the mm_cfg.py file so all the lists have the variable set by default? Cheers, Noah > From mark at msapiro.net Sat Jan 22 23:49:58 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 14:49:58 -0800 Subject: [Mailman-Users] owner alias bounces In-Reply-To: Message-ID: Florian Effenberger wrote: > >2010/12/18 Mark Sapiro : > >> The procedure for adding a host name is >> >> 1) Put the appropriate add_virtualhost() in mm_cfg.py. >> 2) If Postfix is to generate virtual alias maps for this domain, add it >> to POSTFIX_STYLE_VIRTUAL_DOMAINS in mm_cfg.py. >> 3) To move any lists to that domain, run fix_url with the -u option on >> the list(s) > >hm, do I get it right that I have to add the hostnames twice in >mm_cfg.py when using Postfix, once in add_virtualhost, once in >POSTFIX_STYLE_VIRTUAL_DOMAINS? Maybe. It depends on what you are ultimately doing. >Right now, I have DEFAULT_EMAIL_HOST and DEFAULT_URL_HOST to >lists.domain1.tld with the only add_virtualhost line being >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST). OK. That's good. >In addition, I >have set POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.domain1.tld', >'lists.domain2.tld'], so the only occurence of domain2 is in >POSTFIX_STYLE_VIRTUAL_DOMAINS. That may be OK. If lists.domain1.tld and lists.domain2.tld are both virtual_alias_domains in postfix or otherwise require virtual_alias_maps, then you need POSTFIX_STYLE_VIRTUAL_DOMAINS as you have it. This controls what lists get entries generated in virtual-mailman for virtual_alias_maps. >However, I have already wondered where to set the web URL. Right now, >lists.domain2 still have lists.domain1 e.g. in the List-Archive >header. You want an additional add_virtualhost like add_virtualhost('lists.domain2.tld', 'lists.domain2.tld') This is so that you can go to http://lists.domain2.tld/mailman/create (or whatever this translates to in your installation) and create a list and it will be created with the proper http://lists.domain2.tld/mailman/ web_page_url and lists.domain2.tld host_name. Also you can use "bin/newlist -u lists.domain2.tld" to create a list properly in this domain, and you can use bin/withlist -l -r fix_url -u lists.domain2.tld existing-listname to fix the web_page_url and host_name for an existing domain2 list (after doing that, you may need to run bin/genaliases to update virtual-mailman). This will make appropriate links with host lists.domain2.tld in the List-* headers in posts, on all dynamic web pages and all new or modified archive pages for the list. However, existing static archive pages will still have "listinfo" links with the old domain. These either have to be ignored, edited manually or updated by rebuilding the list's entire archive with "bin/arch --wipe listname". -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Jan 22 23:59:41 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 14:59:41 -0800 Subject: [Mailman-Users] pck files in /var/lib/mailman/data In-Reply-To: <4D3B435A.7050106@enabled.com> Message-ID: Noah wrote: > >is there a way to set the "max_days_to_hold" variable in the mm_cfg.py >file so all the lists have the variable set by default? The default value for new lists is DEFAULT_MAX_DAYS_TO_HOLD All such settings are documented in the Defaults.py file. Changing this and similar settings in mm_cfg.py does not affect existing lists. For that see the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 00:14:50 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 15:14:50 -0800 Subject: [Mailman-Users] Transferring Lists In-Reply-To: <0CD7A72044B75D478D36624D96C5D4412FBCB4@kmbx1.utk.tennessee.edu> Message-ID: McNutt Jr, William R wrote: > >I have a tape backup of mailman, lists and all, and I would like to restore it to the new hardware. > >I have successfully installed mailman on the new server. Can anyone refer me to a document that will guide me through re-constructing my list from those old files? Start with the post at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 03:02:49 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 18:02:49 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: <4D3B8C49.9070303@msapiro.net> On 1/21/2011 1:15 AM, Khalil Abbas wrote: > well, attached are parts of the error and qrunner logs.. I also forgot > to mention that I also delete the following files: > > rm /var/lib/mailman/data/*.pck -f This was covered in my reply at > rm /var/lock/mailman/*.* -f Doing this also removes the master lock whose purpose is to prevent you from starting multiple sets of qrunners. This is bad. > the first one also eats up my little space on the hard drive, and the > other locks the lists n they can?t send.. Also, if lists are being left locked by dead processes, this indicates there are other problems. Do you suffer frequent power outages? > what I need to know, why the subscribers are being removed? is it > because of misconfiguration of mailman? or because of outside MTA?s like > yahoo and hotmail rejecting mail from my servers because I need to > control the flow of messages going out from my servers? You also need to know the underlying causes of all the anomalous things that are occurring in your installation. There are serious problems. Your logs may help. Also see FAQs for info on completely stopping Mailman and starting only after completely stopped and for lock information. If you set bounce_notify_owner_on_disable to Yes on your lists, the list owner will be sent a notice whenever a member's delivery is disabled by bounce. This notice will contain the triggering bounce message. That should help you diagnose the cause. > another thing worth to mention, the servers are not blocked by hotmail > because I sent single test messages from all my servers to some of my > subscribers that were removed from my lists and they received them with > no problems.. Possibly your MTA is treating the "temporary failure" throttling status used by some large ISPs to rate limit your mail as a hard failure and returning a failure DSN to Mailman. The only thing in your error log was one unparseable message which has nothing to do with any of this. >From your qrunner log, I see a SIGHUP from log rotation at Jan 16 04:02:54 2011. Then Mailman is stopped at Jan 16 18:17:53 2011, and started at Jan 16 18:19:41 2011. Then I see Jan 17 00:08:48 2011 (2666) Master qrunner detected subprocess exit (pid: 2712, sig: 6, sts: None, class: BounceRunner, slice: 1/1) [restarting] which says BounceRunner died with Signal 6 (SIGABRT). If it wasn't manually killed, there should be a corresponding error log entry, but the only entry in the error log you provided is from Dec 26 which indicates you weren't looking at the current error log. Then we see a sequence Jan 17 17:11:34 2011 Mailman stopped Jan 17 17:13:29 2011 Mailman started Jan 17 20:29:32 2011 Mailman stopped Jan 17 20:31:34 2011 Mailman started Why all the stopping and starting? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 03:12:22 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 18:12:22 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: <4D3B8C49.9070303@msapiro.net> References: <4D3B8C49.9070303@msapiro.net> Message-ID: <4D3B8E86.3030300@msapiro.net> On 1/22/2011 6:02 PM, Mark Sapiro wrote: > > Jan 17 00:08:48 2011 (2666) Master qrunner detected subprocess exit > (pid: 2712, sig: 6, sts: None, class: BounceRunner, slice: 1/1) [restarting] > > which says BounceRunner died with Signal 6 (SIGABRT). Actually, I think this is wrong. I think it died with Error 6 006 ENXIO No such device or address and not SIGABRT. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Sun Jan 23 03:24:03 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Sun, 23 Jan 2011 04:24:03 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: <4D3B8C49.9070303@msapiro.net> References: <4D3B8C49.9070303@msapiro.net> Message-ID: well I did send an old error file cause the current one is huge.. I think mailman keeps stopping because I reboot the servers everyday to free up the memory.. I have a TV station as a customer having 6 lists with a total of 300,000 subscribers, 50,000 each on the following server: Centos CPU Intel P4 3000 2 GBs RAM 120 Gbs hard drive and they post daily to their lists.. I also have another local Newspaper as a customer having about 100,000 subscribers on 3 lists with a virtual private server with the following specs: Centos 256 MBs Ram 10 GBs Hard drive which I have a hard time cleaning up because of the little space that keeps filling up.. is that the problem? do I need to use bigger hardware ? another thing, the servers doesn?t send directly, the messages are being sent to my hosting servers provider's relay server.. Thanks for everything.. -----Original Message----- From: Mark Sapiro Sent: Sunday, January 23, 2011 4:02 AM To: Khalil Abbas Cc: mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. On 1/21/2011 1:15 AM, Khalil Abbas wrote: > well, attached are parts of the error and qrunner logs.. I also forgot > to mention that I also delete the following files: > > rm /var/lib/mailman/data/*.pck -f This was covered in my reply at > rm /var/lock/mailman/*.* -f Doing this also removes the master lock whose purpose is to prevent you from starting multiple sets of qrunners. This is bad. > the first one also eats up my little space on the hard drive, and the > other locks the lists n they can?t send.. Also, if lists are being left locked by dead processes, this indicates there are other problems. Do you suffer frequent power outages? > what I need to know, why the subscribers are being removed? is it > because of misconfiguration of mailman? or because of outside MTA?s like > yahoo and hotmail rejecting mail from my servers because I need to > control the flow of messages going out from my servers? You also need to know the underlying causes of all the anomalous things that are occurring in your installation. There are serious problems. Your logs may help. Also see FAQs for info on completely stopping Mailman and starting only after completely stopped and for lock information. If you set bounce_notify_owner_on_disable to Yes on your lists, the list owner will be sent a notice whenever a member's delivery is disabled by bounce. This notice will contain the triggering bounce message. That should help you diagnose the cause. > another thing worth to mention, the servers are not blocked by hotmail > because I sent single test messages from all my servers to some of my > subscribers that were removed from my lists and they received them with > no problems.. Possibly your MTA is treating the "temporary failure" throttling status used by some large ISPs to rate limit your mail as a hard failure and returning a failure DSN to Mailman. The only thing in your error log was one unparseable message which has nothing to do with any of this. >From your qrunner log, I see a SIGHUP from log rotation at Jan 16 04:02:54 2011. Then Mailman is stopped at Jan 16 18:17:53 2011, and started at Jan 16 18:19:41 2011. Then I see Jan 17 00:08:48 2011 (2666) Master qrunner detected subprocess exit (pid: 2712, sig: 6, sts: None, class: BounceRunner, slice: 1/1) [restarting] which says BounceRunner died with Signal 6 (SIGABRT). If it wasn't manually killed, there should be a corresponding error log entry, but the only entry in the error log you provided is from Dec 26 which indicates you weren't looking at the current error log. Then we see a sequence Jan 17 17:11:34 2011 Mailman stopped Jan 17 17:13:29 2011 Mailman started Jan 17 20:29:32 2011 Mailman stopped Jan 17 20:31:34 2011 Mailman started Why all the stopping and starting? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 04:45:11 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 22 Jan 2011 19:45:11 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: > >well I did send an old error file cause the current one is huge.. Because of some underlying issue that can't be diagnosed without seeing what's there. For example, what are the error log entries with time stamps around the Jan 17 00:08:48 2011 (2666) Master qrunner detected subprocess exit (pid: 2712, sig: 6, sts: None, class: BounceRunner, slice: 1/1) = [restarting] (i.e. between 00:08:45 and 00:08:48) that might tell what the issue with BounceRunner was. >I think mailman keeps stopping because I reboot the servers everyday to >free up the memory.. That's probably at least part of why you wind up with orphaned /var/lib/mailman/data/bounce-events-*.pck and stale locks. >I have a TV station as a customer having 6 lists >with a total of 300,000 subscribers, 50,000 each on the following >server: > >Centos >CPU Intel P4 3000 >2 GBs RAM >120 Gbs hard drive > >and they post daily to their lists.. > >I also have another local Newspaper as a customer having about 100,000 = >subscribers on 3 lists with a virtual private server with the following = >specs: >Centos >256 MBs Ram >10 GBs Hard drive=20 > >which I have a hard time cleaning up because of the little space that = >keeps filling up.. > >is that the problem? do I need to use bigger hardware ? Maybe. I can't begin to tell you what the underlying issues are without seeing the logs. > >another thing, the servers doesn't send directly, the messages >are being sent to my hosting servers provider's relay server.. So there may be issues with this. There might be indications in Mailman's smtp-failure log, and the disable notices to the owner from Mailman should help. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From floeff at gmail.com Sun Jan 23 12:59:13 2011 From: floeff at gmail.com (Florian Effenberger) Date: Sun, 23 Jan 2011 12:59:13 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: Hi Mark, 2011/1/22 Mark Sapiro : >>However, I have already wondered where to set the web URL. Right now, >>lists.domain2 still have lists.domain1 e.g. in the List-Archive >>header. > > You want an additional add_virtualhost like > > add_virtualhost('lists.domain2.tld', 'lists.domain2.tld') > > This is so that you can go to http://lists.domain2.tld/mailman/create > (or whatever this translates to in your installation) and create a > list and it will be created with the proper > http://lists.domain2.tld/mailman/ web_page_url and lists.domain2.tld > host_name. Ok, I added this and restarted mailman. > Also you can use "bin/newlist -u lists.domain2.tld" to create a list > properly in this domain, and you can use > > ?bin/withlist -l -r fix_url -u lists.domain2.tld existing-listname > > to fix the web_page_url and host_name for an existing domain2 list > (after doing that, you may need to run bin/genaliases to update > virtual-mailman). That doesn't seem to work for me, it throws out "option -u not recognized". :-( If I manually invoke fix_url.py, the -u option is indeed offered. What'sw rong? > This will make appropriate links with host lists.domain2.tld in the > List-* headers in posts, on all dynamic web pages and all new or > modified archive pages for the list. However, existing static archive > pages will still have "listinfo" links with the old domain. These > either have to be ignored, edited manually or updated by rebuilding > the list's entire archive with "bin/arch --wipe listname". Florian From mark at msapiro.net Sun Jan 23 17:54:13 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 08:54:13 -0800 Subject: [Mailman-Users] owner alias bounces In-Reply-To: References: Message-ID: <4D3C5D35.20406@msapiro.net> On 1/23/2011 3:59 AM, Florian Effenberger wrote: > > 2011/1/22 Mark Sapiro : > >> Also you can use "bin/newlist -u lists.domain2.tld" to create a list >> properly in this domain, and you can use >> >> bin/withlist -l -r fix_url -u lists.domain2.tld existing-listname >> >> to fix the web_page_url and host_name for an existing domain2 list >> (after doing that, you may need to run bin/genaliases to update >> virtual-mailman). > > That doesn't seem to work for me, it throws out "option -u not > recognized". :-( If I manually invoke fix_url.py, the -u option is > indeed offered. What'sw rong? My mistake. That should be bin/withlist -l -r fix_url existing-listname -u lists.domain2.tld The -u option needs to come after the list name. Otherwise it is interpreted as a withlist option rather than a fix_url option. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 18:08:36 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 09:08:36 -0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: Message-ID: Umarzuki Mochlis wrote: >i finally got it working with dovecot lda by adding >hash:/etc/mailman/virtual-mailman at the end of virtual_alias_maps like so > ># postconf virtual_alias_maps >virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, >proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ >ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf, >hash:/etc/mailman/virtual-mailman > >generate virtual-mailman.db > ># cd /etc/mailman ># postmap virtual-mailman > >but how do i automate the generation of virtual-mailman.db incase a new >mailman list were to be created? If you really need the list entries in both virtual_alias_maps and transport_maps, you could simply add /usr/sbin/postmap /etc/mailman/virtual-mailman to the end of your virtual_to_transport file. However, it seems to me unlikely that you actually need both since they both should accomplish the same thing in different ways. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From umarzuki at gmail.com Sun Jan 23 15:47:47 2011 From: umarzuki at gmail.com (Umarzuki Mochlis) Date: Sun, 23 Jan 2011 22:47:47 +0800 Subject: [Mailman-Users] User unknown in virtual mailbox table In-Reply-To: References: Message-ID: 2011/1/17 Mark Sapiro > > > After changing DEFAULT_EMAIL_HOST, you need to run > > bin/withlist -l -a -r fix_url > > (see ) and then > > bin/genaliases again. > > i finally got it working with dovecot lda by adding hash:/etc/mailman/virtual-mailman at the end of virtual_alias_maps like so # postconf virtual_alias_maps virtual_alias_maps = proxy:ldap:/etc/postfix/ldap_virtual_alias_maps.cf, proxy:ldap:/etc/postfix/ldap_virtual_group_maps.cf, proxy:ldap:/etc/postfix/ ldap_sender_login_maps.cf, proxy:ldap:/etc/postfix/ldap_catch_all_maps.cf, hash:/etc/mailman/virtual-mailman generate virtual-mailman.db # cd /etc/mailman # postmap virtual-mailman but how do i automate the generation of virtual-mailman.db incase a new mailman list were to be created? From mark at msapiro.net Sun Jan 23 19:21:25 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 10:21:25 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: <4D3C71A5.1080102@msapiro.net> On 1/23/2011 7:46 AM, Khalil Abbas wrote: > attached are the Jan 16, and Jan 17th logs: error, smtp, qrunner, > locks.. I replaced my domain name with the word (DOMAIN) cause I believe > this is shown to public .. > > there are several smtp-failure files (failure.1, .2, .3...) but they are > all empty (0 bytes size).. The locks log shows one broken expired lock, possibly due to your frequent reboots. The error log shows only unparseable messages but there are over 3000 of them in about 26 hours. Correlation with the qrunner log shows these are all processed by BounceRunner. Thus they are unparseable messages sent to the LIST-bounces addresses. Normally, unparseable messages are spam, but possible they are real bounces from some broken MTA. The next time you have an accumulation of /var/spool/mailman/bounce/*.pck files, examine some of them with Mailman's bin/dumpdb or bin/show_qfiles tool. If they look like legitimate bounce messages, they may give you some information about your bounces, but note that the particular messages that are unparseable do not get scored for any user. If they look like spam, then your problem may just be massive amounts of spam sent to your LIST-bounces addresses. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From floeff at gmail.com Sun Jan 23 20:07:44 2011 From: floeff at gmail.com (Florian Effenberger) Date: Sun, 23 Jan 2011 20:07:44 +0100 Subject: [Mailman-Users] owner alias bounces In-Reply-To: <4D3C5D35.20406@msapiro.net> References: <4D3C5D35.20406@msapiro.net> Message-ID: Hi Mark, > My mistake. That should be > > ?bin/withlist -l -r fix_url existing-listname -u lists.domain2.tld > > The -u option needs to come after the list name. Otherwise it is > interpreted as a withlist option rather than a fix_url option. thanks a lot, that did the trick! ;) Florian From khillo100 at hotmail.com Sun Jan 23 19:36:45 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Sun, 23 Jan 2011 20:36:45 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: <4D3C71A5.1080102@msapiro.net> References: <4D3C71A5.1080102@msapiro.net> Message-ID: well this is much comforting, meaning that there is nothing to worry about the configuration.. I turned on the "Should Mailman notify you, the list owner, when bounces cause a member's subscription to be disabled?" to yes to see what happens.. but still this does not answer the main question, what causes the existing real members to be unsubscribed? is it because hotmail and yahoo are rejecting the mail flow that needs to be controlled? this leads to another question, should this (control mail flow) be considered in the next version of mailman? this will also answer the million dollars question: CAN mailman handle huge lists like those of TV stations like mine (300,000 subscribers)? final question: is there any advice about my current situation (hardware, configuration...etc.)? Thanks mate, you're the best :) -----Original Message----- From: Mark Sapiro Sent: Sunday, January 23, 2011 8:21 PM To: Khalil Abbas Cc: mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. On 1/23/2011 7:46 AM, Khalil Abbas wrote: > attached are the Jan 16, and Jan 17th logs: error, smtp, qrunner, > locks.. I replaced my domain name with the word (DOMAIN) cause I believe > this is shown to public .. > > there are several smtp-failure files (failure.1, .2, .3...) but they are > all empty (0 bytes size).. The locks log shows one broken expired lock, possibly due to your frequent reboots. The error log shows only unparseable messages but there are over 3000 of them in about 26 hours. Correlation with the qrunner log shows these are all processed by BounceRunner. Thus they are unparseable messages sent to the LIST-bounces addresses. Normally, unparseable messages are spam, but possible they are real bounces from some broken MTA. The next time you have an accumulation of /var/spool/mailman/bounce/*.pck files, examine some of them with Mailman's bin/dumpdb or bin/show_qfiles tool. If they look like legitimate bounce messages, they may give you some information about your bounces, but note that the particular messages that are unparseable do not get scored for any user. If they look like spam, then your problem may just be massive amounts of spam sent to your LIST-bounces addresses. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 21:33:54 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 12:33:54 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: >well this is much comforting, meaning that there is nothing to worry about >the configuration.. I turned on the "Should Mailman notify you, the list >owner, when bounces cause a member's subscription to be disabled?" to yes to >see what happens.. > >but still this does not answer the main question, what causes the existing >real members to be unsubscribed? is it because hotmail and yahoo are >rejecting the mail flow that needs to be controlled? When you see some actual disabling bounce notifications, you will hopefully be able to answer that for yourself. Until then, I don't know what causes it. >this leads to another question, should this (control mail flow) be >considered in the next version of mailman? this will also answer the million >dollars question: CAN mailman handle huge lists like those of TV stations >like mine (300,000 subscribers)? Mailman handles large lists and large volumes of mail just fine with appropriately sized hardware and properly configured MTAs. See the FAQ at and note the following quoted from the end of that article. If you're going to be running lists with more than a few thousand members, then you need to have a thorough understanding of how your MTA and Mailman work, and a deep and intimate familiarity with Internet e-mail in general. And of course, you will have to carefully consider how best to tune your MTA and Mailman to work best together. If you're missing any of these prerequisites, you're in for a difficult time. >final question: is there any advice about my current situation (hardware, >configuration...etc.)? Increase your disk storage. These days, when a 500GB drive costs well under $100 US, a production server with 10GB of storage is way too cramped, and your lack of disk space is causing you do do all sorts of questionable things that shouldn't be necessary. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sun Jan 23 22:20:19 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 13:20:19 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: <4D3C9B93.8000505@msapiro.net> On 1/23/2011 12:33 PM, Mark Sapiro wrote: > Khalil Abbas wrote: > >> well this is much comforting, meaning that there is nothing to worry about >> the configuration.. I turned on the "Should Mailman notify you, the list >> owner, when bounces cause a member's subscription to be disabled?" to yes to >> see what happens.. >> >> but still this does not answer the main question, what causes the existing >> real members to be unsubscribed? is it because hotmail and yahoo are >> rejecting the mail flow that needs to be controlled? > > > When you see some actual disabling bounce notifications, you will > hopefully be able to answer that for yourself. Until then, I don't > know what causes it. I also looked more closely at the smtp log you sent earlier. There are a huge number of mailman generated notices that originate from BounceRunner. All lists appear affected. I think these are unrecognized bounce notifications. I have suggested before that there may be a large amount of spam being sent to the LIST-bounces addresses, but there may also be a mail loop of some kind. I suggest that you make sure that each list's (including the 'mailman' list) owner attribute contains only deliverable addresses and that none of the LIST-* addresses are among them. Similarly, if there are any moderator addresses, they must be deliverable and must not include any LIST-* addresses and shouldn't duplicate any owner addresses for the same list. Also try sending an email to the LIST-owner addresses to verify such mail is received. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Sun Jan 23 23:11:55 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Mon, 24 Jan 2011 00:11:55 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: <4D3C9B93.8000505@msapiro.net> References: <4D3C9B93.8000505@msapiro.net> Message-ID: I also forgot to mention something.. I'm managing 57 lists on 18 servers.. some are small lists and some are huge but the thing in common is that they all send a single message to their lists per day.. but I have put my own email address (khillo100 at hotmail dot com) in all of the 57 lists.. and everyday I receive between 30 and 40 emails from the lists but never 57! another thing in common is that all 18 servers never send directly, they go thru the same relay server .. I tried to something, I removed my address from all lists and re-subscribed and I received 57 welcome messages.. but when sending to the lists, only 30 to 40 are received.. any thoughts? -----Original Message----- From: Mark Sapiro Sent: Sunday, January 23, 2011 11:20 PM To: Khalil Abbas Cc: mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. On 1/23/2011 12:33 PM, Mark Sapiro wrote: > Khalil Abbas wrote: > >> well this is much comforting, meaning that there is nothing to worry >> about >> the configuration.. I turned on the "Should Mailman notify you, the list >> owner, when bounces cause a member's subscription to be disabled?" to yes >> to >> see what happens.. >> >> but still this does not answer the main question, what causes the >> existing >> real members to be unsubscribed? is it because hotmail and yahoo are >> rejecting the mail flow that needs to be controlled? > > > When you see some actual disabling bounce notifications, you will > hopefully be able to answer that for yourself. Until then, I don't > know what causes it. I also looked more closely at the smtp log you sent earlier. There are a huge number of mailman generated notices that originate from BounceRunner. All lists appear affected. I think these are unrecognized bounce notifications. I have suggested before that there may be a large amount of spam being sent to the LIST-bounces addresses, but there may also be a mail loop of some kind. I suggest that you make sure that each list's (including the 'mailman' list) owner attribute contains only deliverable addresses and that none of the LIST-* addresses are among them. Similarly, if there are any moderator addresses, they must be deliverable and must not include any LIST-* addresses and shouldn't duplicate any owner addresses for the same list. Also try sending an email to the LIST-owner addresses to verify such mail is received. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From doug.gaff at gmail.com Sun Jan 23 23:51:36 2011 From: doug.gaff at gmail.com (Doug Gaff) Date: Sun, 23 Jan 2011 17:51:36 -0500 Subject: [Mailman-Users] private lists with real name signatures In-Reply-To: <97dd01cb237c$6c387fb0$44a97f10$@com> References: <04a101cafc12$5bc13500$13439f00$@com> <877hmqlk2k.fsf@uwakimon.sk.tsukuba.ac.jp> <002701cafcef$eaa9f2b0$bffdd810$@com> <874ohulgp5.fsf@uwakimon.sk.tsukuba.ac.jp> <97dd01cb237c$6c387fb0$44a97f10$@com> Message-ID: (Sorry to resurrect an old thread, but I recently switched to a VPS, and now finally have access to the mailman install.) As mentioned in the old thread, I'd like add %(member_name) and %(member_address) as variables that can be used in the msg_header and msg_footer fields if desired by the list administrator. The idea is that messages sent to an anonymous mailing list could have msg_header set to this: %(member_name) writes: And in the subscription list, member_name would be the "handle" used by each person. This way, the email addresses stay anonymous, but the messages are still signed. Consider it "semi-anonymous". :) I'm not totally getting the custom handler thing, and I need this only for one of the lists I host. Something the list admin could setup if desired. It seems like a handler would fire for everyone. A better solution, if a hack, would be to modify the mailman source code, but I could use some pointers on where to get started. Thanks, Doug On May 26, 2010, at 1:39 PM, Doug Gaff wrote: LOL. I'll work on the handler. I'm not sure whether I can do this is a shared hosted environment, though. I'm looking into it. -----Original Message----- From: Stephen J. Turnbull [mailto:stephen at xemacs.org] Sent: Wednesday, May 26, 2010 1:24 PM To: Doug Gaff Cc: 'Mark Sapiro'; Mailman-Users at python.org Subject: Re: [Mailman-Users] [Bulk] Re: private lists with real name signatures Doug Gaff writes: > Why isn't %(poster_name) available as a variable to be used in the > msg_footer options on the admin panel? Seems like that would be easier. It's not available because it's not available. Yours is an unusual use case; "normally" the poster's name is available in the From field, or not at all. No malice in this, it just never occurred to anybody to make it available for message headers and footers. This Handler could be added to a future version of Mailman, but 2.x is not planned for further development, and 3.0 is still some months away. No reason for you to wait! From mark at msapiro.net Mon Jan 24 02:14:49 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 17:14:49 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: halil Abbas wrote: >I also forgot to mention something.. I'm managing 57 lists on 18 servers.. >some are small lists and some are huge but the thing in common is that they >all send a single message to their lists per day.. but I have put my own >email address (khillo100 at hotmail dot com) in all of the 57 lists.. and >everyday I receive between 30 and 40 emails from the lists but never 57! > >another thing in common is that all 18 servers never send directly, they go >thru the same relay server .. I agree that mails are getting bounced/dropped, but I can't begin to guess why without seeing actual bounce messages and/or logs from the relay server and/or logs from your local MTA if you use a local MTA between Mailman and the relay server. You may need to talk to the operators of the relay. I know you did and they told you to rate limit your sending, but do they know that is the problem, or is that a non-response? If in fact you do have a local MTA which Mailman delivers to and which then relays to the relay server, you can investigate rate limiting there as discussed in the FAQ at to which you have been previously referred. Let us see some actual bounce messages. We know there are some because bounce processing is removing subscribers, so what do they look like? Also, have you followed up on my following suggestion to verify that all the owner addresses are deliverable. I.e., what happened to the nearly 3000 notices from BounceRunner that were indicated in the smtp log you sent me. >I also looked more closely at the smtp log you sent earlier. There are a >huge number of mailman generated notices that originate from >BounceRunner. All lists appear affected. I think these are unrecognized >bounce notifications. I have suggested before that there may be a large >amount of spam being sent to the LIST-bounces addresses, but there may >also be a mail loop of some kind. I suggest that you make sure that each >list's (including the 'mailman' list) owner attribute contains only >deliverable addresses and that none of the LIST-* addresses are among >them. Similarly, if there are any moderator addresses, they must be >deliverable and must not include any LIST-* addresses and shouldn't >duplicate any owner addresses for the same list. > >Also try sending an email to the LIST-owner addresses to verify such >mail is received. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Jan 24 02:41:08 2011 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 23 Jan 2011 17:41:08 -0800 Subject: [Mailman-Users] private lists with real name signatures In-Reply-To: Message-ID: Doug Gaff wrote: >(Sorry to resurrect an old thread, but I recently switched to a VPS, and now finally have access to the mailman install.) > >As mentioned in the old thread, I'd like add %(member_name) and %(member_address) as variables that can be used in the msg_header and msg_footer fields if desired by the list administrator. The idea is that messages sent to an anonymous mailing list could have msg_header set to this: > >%(member_name) writes: > >And in the subscription list, member_name would be the "handle" used by each person. This way, the email addresses stay anonymous, but the messages are still signed. Consider it "semi-anonymous". :) Presumably these variables would be the poster's name and address, not the recipient's since the latter would require personalized delivery and are already available as # user_address - The address of the user, coerced to lower case. # user_delivered_to - The case-preserved address that the user is subscribed with. # user_name - The user's full name. when delivery is personalized. >I'm not totally getting the custom handler thing, and I need this only for one of the lists I host. Something the list admin could setup if desired. It seems like a handler would fire for everyone. A better solution, if a hack, would be to modify the mailman source code, but I could use some pointers on where to get started. The handler as described at will work for the poster's name. You would need to augment it if you wanted to add the poster's address, but if you were adding the poster's address, it seems it would be easier to just not make the list anonymous in the first place. I don't know why you think modifying the existing code would be better? First, it is easier to make a custom handler operate on only one or a few lists than it is to make code modification do so. See the FAQ at . Second, all the handler would do is make additional substitution variables available for msg_header and msg_footer. It would still be up to the list admin to make use of them. If you need more help with a custom handler than is in the FAQ at , please try to ask a more specific question and we'll try to help. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Mon Jan 24 08:35:52 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Mon, 24 Jan 2011 09:35:52 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: ah yes, these to list owner notices I guess are unsubscribe notices.. for I turned on the "Should Mailman notify you, the list owner, when bounces cause a member to be unsubscribed?" to yes.. I tried to send test messages to these addresses, most of them are real subscribers that got kicked off and received my test messages, and some returned back for different reasons like mailbox full and mailbox has been closed and stuff like that .. checking some random files in the /var/spool/mailman/bounces/*.pck I found : ****************** This is the qmail-send program at ______________.\nI\'m afraid I wasn\'t able to deliver your message to the following addresses.\nThis is a permanent error; I\'ve given up. Sorry it didn\'t work out.\n\n<___________ (hotmail.fr address) >:\nConnected to 65.54.188.110 but sender was rejected.\nRemote host said: 421 RP-001 Unfortunately, some messages from ____________ weren\'t sent. Please try again. We have limits for how many messages can be sent per hour and per day. You can also refer to http://mail.live.com/mail/troubleshooting.aspx#errors.\nI\'m not going to try again; this message has been in the queue too long. ****************** checking the error code 421 RP-001 on hotmail I found: *************** The mail server IP connecting to Windows Live Hotmail server has exceeded the rate limit allowed. Reason for rate limitation is related to IP/domain reputation. If you are not an email/network admin please contact your Email/Internet Service Provider for help. *************** so it is a rate limit no? what can be done about this? it says something about ip/domain reputation, is it my domain's reputation or my service provider's relay server's reputation? Thanks.. -----Original Message----- From: Mark Sapiro Sent: Monday, January 24, 2011 3:14 AM To: Khalil Abbas ; mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. halil Abbas wrote: >I also forgot to mention something.. I'm managing 57 lists on 18 servers.. >some are small lists and some are huge but the thing in common is that they >all send a single message to their lists per day.. but I have put my own >email address (khillo100 at hotmail dot com) in all of the 57 lists.. and >everyday I receive between 30 and 40 emails from the lists but never 57! > >another thing in common is that all 18 servers never send directly, they go >thru the same relay server .. I agree that mails are getting bounced/dropped, but I can't begin to guess why without seeing actual bounce messages and/or logs from the relay server and/or logs from your local MTA if you use a local MTA between Mailman and the relay server. You may need to talk to the operators of the relay. I know you did and they told you to rate limit your sending, but do they know that is the problem, or is that a non-response? If in fact you do have a local MTA which Mailman delivers to and which then relays to the relay server, you can investigate rate limiting there as discussed in the FAQ at to which you have been previously referred. Let us see some actual bounce messages. We know there are some because bounce processing is removing subscribers, so what do they look like? Also, have you followed up on my following suggestion to verify that all the owner addresses are deliverable. I.e., what happened to the nearly 3000 notices from BounceRunner that were indicated in the smtp log you sent me. >I also looked more closely at the smtp log you sent earlier. There are a >huge number of mailman generated notices that originate from >BounceRunner. All lists appear affected. I think these are unrecognized >bounce notifications. I have suggested before that there may be a large >amount of spam being sent to the LIST-bounces addresses, but there may >also be a mail loop of some kind. I suggest that you make sure that each >list's (including the 'mailman' list) owner attribute contains only >deliverable addresses and that none of the LIST-* addresses are among >them. Similarly, if there are any moderator addresses, they must be >deliverable and must not include any LIST-* addresses and shouldn't >duplicate any owner addresses for the same list. > >Also try sending an email to the LIST-owner addresses to verify such >mail is received. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From s.watkins at nhm.ac.uk Mon Jan 24 11:29:32 2011 From: s.watkins at nhm.ac.uk (Steff Watkins) Date: Mon, 24 Jan 2011 10:29:32 -0000 Subject: [Mailman-Users] Solaris 10 and Python In-Reply-To: <0CD7A72044B75D478D36624D96C5D4412FB9EC@kmbx1.utk.tennessee.edu> References: <0CD7A72044B75D478D36624D96C5D4412FB9EC@kmbx1.utk.tennessee.edu> Message-ID: <8A17F10FEBA5C841956578C5AD9027D30153937E@HOMER.nhm.ac.uk> > -----Original Message----- > From: mailman-users-bounces+s.watkins=nhm.ac.uk at python.org > [mailto:mailman-users-bounces+s.watkins=nhm.ac.uk at python.org] > On Behalf Of McNutt Jr, William R > Sent: Friday, January 21, 2011 8:53 PM > To: mailman-users at python.org > Subject: [Mailman-Users] Solaris 10 and Python > > Has anyone successfully made this work on a Sun Solaris 10? > I've been at this for three days and no matter what I do, I > only manage to change error messages. At this point I've > made it through the ./configure step, but it's breaking on > make install. Any chance you can post what the failure message your make session returns? [this is me busily digging a very deep hole from which I may never return!] At this point, with no further info, I'm guessing it's most likely that you've probably not got your binary search path or your link library path setup to pick up all the things that make needs. A side question: is this list the best place to discuss mailman build issues? If not, then someone please squeal and the line of banter can be taken off-list. Steff ----- From mcnutt at utk.edu Mon Jan 24 16:43:57 2011 From: mcnutt at utk.edu (McNutt Jr, William R) Date: Mon, 24 Jan 2011 15:43:57 +0000 Subject: [Mailman-Users] List Membership Change Message-ID: <0CD7A72044B75D478D36624D96C5D4412FC7AF@kmbx1.utk.tennessee.edu> I'm still cleaning up after my hardware failure, and I've got a list admin who is complaining about his membership list. Now - what I did was just copy the /lists/* from the old server to the new one and run ./withlist -l -r fix_url LIST_NAME -u new-domain.example.org And bin/arch mylist archives/private/mylist.mbox/mylist.mbox for each list. The complaint follows: "We went from 340 members to 465 in one list and from 102 to 59 in the other." Is there anything else I can do? From mark at msapiro.net Mon Jan 24 18:43:30 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Jan 2011 09:43:30 -0800 Subject: [Mailman-Users] List Membership Change In-Reply-To: <0CD7A72044B75D478D36624D96C5D4412FC7AF@kmbx1.utk.tennessee.edu> Message-ID: McNutt Jr, William R wrote: > >Now - what I did was just copy the /lists/* from the old server to the new one and run >./withlist -l -r fix_url LIST_NAME -u new-domain.example.org >And >bin/arch mylist archives/private/mylist.mbox/mylist.mbox Presumably, you also restored the archives/private/ directory. The bin/arch you should have run is just bin/arch --wipe mylist The mailbox archives/private/mylist.mbox/mylist.mbox is the default so you don't need it in the command. You do need the --wipe, otherwise you are adding the posts from the mbox to those that may already exist in the pipermail archive. >for each list. > >The complaint follows: >"We went from 340 members to 465 in one list and from 102 to 59 in the other." > >Is there anything else I can do? What files exactly did you restore in the lists/LISTNAME/ directory. If there were any config.db* files, these are old residue from a 2.0.x to 2.1.x migration and should be removed. The potential issue is if permissions or possibly some other error prevents the config.pck and fallback config.pck.last from being successfully loaded, Mailman will fall back to the ancient config.db or config.db.last. If this is what happened, you need to recopy the config.pck from backup and rempove config.pck.last and config.db*. If that doesn't help or if there were no config.db* files, then I don't know what the problem could be. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Jan 24 19:40:47 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Jan 2011 10:40:47 -0800 Subject: [Mailman-Users] Solaris 10 and Python In-Reply-To: <8A17F10FEBA5C841956578C5AD9027D30153937E@HOMER.nhm.ac.uk> Message-ID: Steff Watkins wrote: > >A side question: is this list the best place to discuss mailman build >issues? If not, then someone please squeal and the line of banter can be >taken off-list. It's a grey area for Mailman 2.1.x, but it's OK here. The alternative is mailman-developers at python.org, but most of the prior solaris discussion, and there's been a lot, has been here. For Mailman 3, mailman-developers is the place at least until there's a production release. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Jan 24 20:00:01 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Jan 2011 11:00:01 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: > >checking some random files in the /var/spool/mailman/bounces/*.pck I found : > >****************** >This is the qmail-send program at ______________.\nI\'m afraid I wasn\'t >able to deliver your message to the following addresses.\nThis is a >permanent error; I\'ve given up. Sorry it didn\'t work out.\n\n<___________ >(hotmail.fr address) >:\nConnected to 65.54.188.110 but sender was >rejected.\nRemote host said: 421 RP-001 Unfortunately, some messages from >____________ weren\'t sent. Please try again. We have limits for how many >messages can be sent per hour and per day. You can also refer to >http://mail.live.com/mail/troubleshooting.aspx#errors.\nI\'m not going to >try again; this message has been in the queue too long. >****************** > >checking the error code 421 RP-001 on hotmail I found: > >*************** >The mail server IP connecting to Windows Live Hotmail server has exceeded >the rate limit allowed. Reason for rate limitation is related to IP/domain >reputation. If you are not an email/network admin please contact your >Email/Internet Service Provider for help. >*************** > >so it is a rate limit no? Yes it is. But, hotmail is limiting the rate by returning a 421 status which is retryable, but qmail on the relay host is either giving up too soon, or you will never be able to deliver all your mail no matter what you do. >what can be done about this? it says something about ip/domain reputation, >is it my domain's reputation or my service provider's relay server's >reputation? It's your service provider's relay server. I'm surprised they haven't cut you off. Consider that hotmail is rate limiting that server and rejecting (with 421) mail over the limit. This would affect not only your list mail, but mail to hotmail from any other customer of the service provider being sent at the same time. Now, consider what is happening. The relay server gives up retrying the 421 because the "message has been in the queue too long". Either it's "give up" time is way to short, something only the service provider can adjust, but maybe you can tell from when the rejected message was sent, or it keeps retrying for more than a day. If the latter, the implication would seem that hotmail's rate limit does not allow for all the days messages to be delivered in a day. The only solution to that is to get hotmail to raise the rate limit, and only the service provider can do that. Now, there is one other point. When you resubscribed, you got all your notices, so mail sent to one recipient at a time seems to get through. You can cause Mailman to send more messages with fewer recipients per message by putting say SMTP_MAX_RCPTS = 10 in mm_cfg.py. That may help. Otherwise, I don't think there's much you can do except maybe convince your customers to reduce the frequency of their announcements. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From khillo100 at hotmail.com Mon Jan 24 20:46:33 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Mon, 24 Jan 2011 21:46:33 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: I'm discussing this with my service provider right now.. I'll tell u what comes up.. by the way, what's the default value for SMTP_MAX_RCPTS ?? Thanks.. -----Original Message----- From: Mark Sapiro Sent: Monday, January 24, 2011 9:00 PM To: Khalil Abbas ; mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. Khalil Abbas wrote: > >checking some random files in the /var/spool/mailman/bounces/*.pck I found >: > >****************** >This is the qmail-send program at ______________.\nI\'m afraid I wasn\'t >able to deliver your message to the following addresses.\nThis is a >permanent error; I\'ve given up. Sorry it didn\'t work out.\n\n<___________ >(hotmail.fr address) >:\nConnected to 65.54.188.110 but sender was >rejected.\nRemote host said: 421 RP-001 Unfortunately, some messages from >____________ weren\'t sent. Please try again. We have limits for how many >messages can be sent per hour and per day. You can also refer to >http://mail.live.com/mail/troubleshooting.aspx#errors.\nI\'m not going to >try again; this message has been in the queue too long. >****************** > >checking the error code 421 RP-001 on hotmail I found: > >*************** >The mail server IP connecting to Windows Live Hotmail server has exceeded >the rate limit allowed. Reason for rate limitation is related to IP/domain >reputation. If you are not an email/network admin please contact your >Email/Internet Service Provider for help. >*************** > >so it is a rate limit no? Yes it is. But, hotmail is limiting the rate by returning a 421 status which is retryable, but qmail on the relay host is either giving up too soon, or you will never be able to deliver all your mail no matter what you do. >what can be done about this? it says something about ip/domain reputation, >is it my domain's reputation or my service provider's relay server's >reputation? It's your service provider's relay server. I'm surprised they haven't cut you off. Consider that hotmail is rate limiting that server and rejecting (with 421) mail over the limit. This would affect not only your list mail, but mail to hotmail from any other customer of the service provider being sent at the same time. Now, consider what is happening. The relay server gives up retrying the 421 because the "message has been in the queue too long". Either it's "give up" time is way to short, something only the service provider can adjust, but maybe you can tell from when the rejected message was sent, or it keeps retrying for more than a day. If the latter, the implication would seem that hotmail's rate limit does not allow for all the days messages to be delivered in a day. The only solution to that is to get hotmail to raise the rate limit, and only the service provider can do that. Now, there is one other point. When you resubscribed, you got all your notices, so mail sent to one recipient at a time seems to get through. You can cause Mailman to send more messages with fewer recipients per message by putting say SMTP_MAX_RCPTS = 10 in mm_cfg.py. That may help. Otherwise, I don't think there's much you can do except maybe convince your customers to reduce the frequency of their announcements. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Tue Jan 25 00:18:59 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 24 Jan 2011 15:18:59 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: > >by the way, what's the default value for SMTP_MAX_RCPTS ?? All the settings default values and their documentation is in Defaults.py. # Ceiling on the number of recipients that can be specified in a single SMTP # transaction. Set to 0 to submit the entire recipient list in one # transaction. Only used with the SMTPDirect DELIVERY_MODULE. SMTP_MAX_RCPTS = 500 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rcarter at pinyon.org Wed Jan 26 02:16:17 2011 From: rcarter at pinyon.org (Russell L. Carter) Date: Tue, 25 Jan 2011 18:16:17 -0700 Subject: [Mailman-Users] postfix-to-mailman.py => mail loops back to myself Message-ID: <4D3F75E1.7070609@pinyon.org> Hi there, I've spent the afternoon attempting to install mailman on debian testing with postfix, following the instructions in /etc/mailman/postfix-to-mailman.py precisely, and I'm getting the classic 'mail for "host" loops back to myself'. From my getting to know the issue sessions with google there appear to be a variety of ways this can show up. Anyway I've checked permissions, am able to create lists and add users with confirmation, etc. But sending from the user to the list bounces with postfix complaining 'loops back to myself'. Q1: I was not previously using postfix virtual domains as described in www.postfix.org/VIRTUAL_README.html, should I be? If so I'll go off and try to figure out how the information in there is related to the instructions in /etc/mailman/postfix-to-mailman.py. However, AFAICT, the two sources appear to have zero intersection even though the concepts are of course are quite similar. If the answer to Q1 is "no", the only change to my existing system was to add a CNAME 'lists.pinyon.org' pointing to 'quine.pinyon.org'. Here is the relevant part of of my long time working main.cf, with the mailman modifications (all checked, many times): ------------------------------------------------------------------ myhostname = quine.pinyon.org mydomain = pinyon.org myorigin = $mydomain mydestination = $myhostname, localhost.$mydomain, $mydomain, mail.$mydomain, www.$mydomain, ftp.$mydomain troupesalamat.com masquerade_domains = pinyon.org relay_domains = lists.pinyon.org $mydestination esturion.net troupesalamat.com relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman transport_maps = hash:/etc/postfix/transport mailman_destination_recipient_limit = 1 ------------------------------------------------------------------ I've tried quite a few permutations of ordering, etc., but no luck. Q2: Any idea what might be the problem? Many thanks! Russell From khillo100 at hotmail.com Wed Jan 26 17:15:26 2011 From: khillo100 at hotmail.com (Khalil Abbas) Date: Wed, 26 Jan 2011 18:15:26 +0200 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: References: Message-ID: well I decreased the SMTP_MAX_RCPTS to only 5 (five) and when checking the mailq every now and then .. some of the 18 servers gave the following: -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 335BB14BB8CA 111316 Wed Jan 26 09:04:29 MAILER-DAEMON (unknown mail transport error) and some of them: -Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- 7B477146C78 108725 Tue Jan 25 21:14:27 balligho-bounces at ballighoseven.info (system resource problem) I kept rebooting the servers every while to get the mail moving .. and so far I received 27 messages out of 57 lists .. I'll raise it to 10 and try again.. any thoughts ? -----Original Message----- From: Mark Sapiro Sent: Tuesday, January 25, 2011 1:18 AM To: Khalil Abbas ; mailman-users at python.org Subject: Re: [Mailman-Users] control mail distribution .. Khalil Abbas wrote: > >by the way, what's the default value for SMTP_MAX_RCPTS ?? All the settings default values and their documentation is in Defaults.py. # Ceiling on the number of recipients that can be specified in a single SMTP # transaction. Set to 0 to submit the entire recipient list in one # transaction. Only used with the SMTPDirect DELIVERY_MODULE. SMTP_MAX_RCPTS = 500 -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Jan 26 17:19:01 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Jan 2011 08:19:01 -0800 Subject: [Mailman-Users] postfix-to-mailman.py => mail loops back to myself In-Reply-To: <4D3F75E1.7070609@pinyon.org> Message-ID: Russell L. Carter wrote: > >I've spent the afternoon attempting to install mailman on debian >testing with postfix, following the instructions in >/etc/mailman/postfix-to-mailman.py precisely, and I'm getting the >classic 'mail for "host" loops back to myself'. From my getting to >know the issue sessions with google there appear to be a variety of >ways this can show up. Anyway I've checked permissions, am able to >create lists and add users with confirmation, etc. But sending from >the user to the list bounces with postfix complaining 'loops back to >myself'. > >Q1: I was not previously using postfix virtual domains as described in >www.postfix.org/VIRTUAL_README.html, should I be? No. This is irrelevant. You should have a transport mapping that says to use a defined 'mailman' transport for addresses in your lists domain. >If so I'll go off >and try to figure out how the information in there is related to the >instructions in /etc/mailman/postfix-to-mailman.py. However, AFAICT, >the two sources appear to have zero intersection even though the >concepts are of course are quite similar. > >If the answer to Q1 is "no", the only change to my existing system >was to add a CNAME 'lists.pinyon.org' pointing to 'quine.pinyon.org'. >Here is the relevant part of of my long time working main.cf, with the >mailman modifications (all checked, many times): You must not use a CNAME for a mail domain. See the FAQ at . This must be an MX, not a CNAME. >------------------------------------------------------------------ >myhostname = quine.pinyon.org >mydomain = pinyon.org > >myorigin = $mydomain > >mydestination = $myhostname, localhost.$mydomain, $mydomain, > mail.$mydomain, www.$mydomain, ftp.$mydomain troupesalamat.com > >masquerade_domains = pinyon.org > >relay_domains = lists.pinyon.org $mydestination esturion.net troupesalamat.com >relay_recipient_maps = hash:/var/lib/mailman/data/virtual-mailman >transport_maps = hash:/etc/postfix/transport >mailman_destination_recipient_limit = 1 >------------------------------------------------------------------ > >I've tried quite a few permutations of ordering, etc., but no luck. > >Q2: Any idea what might be the problem? If you have an entry like lists.pinyon.org mailman: in /etc/postfix/transport, and you have a definition like mailman unix - n n - - pipe flags=FR user=mailman:mailman argv=/var/mailman/postfix-to-mailman.py ${nexthop} ${user} in master.cf, and you have an MX rather than a CNAME for lists.pinyon.org, it should work. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Jan 26 17:29:38 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Jan 2011 08:29:38 -0800 Subject: [Mailman-Users] control mail distribution .. In-Reply-To: Message-ID: Khalil Abbas wrote: >well I decreased the SMTP_MAX_RCPTS to only 5 (five) and when checking the >mailq every now and then .. some of the 18 servers gave the following: > >-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- >335BB14BB8CA 111316 Wed Jan 26 09:04:29 MAILER-DAEMON > (unknown mail transport >error) This looks like the MTA has some problem delivering a bounce DSN. >and some of them: > >-Queue ID- --Size-- ----Arrival Time---- -Sender/Recipient------- >7B477146C78 108725 Tue Jan 25 21:14:27 >balligho-bounces at ballighoseven.info > (system resource >problem) The MTA has been unable to deliver this message for the indicated reason. It has been successfully delivered from Mailman to the MTA. SMTP_MAX_RCPTS has nothing to do with this. >I kept rebooting the servers every while to get the mail moving The need to do this indicates serious problems with your mail setup in general. I can't help you with this. I don't think I can help you further at all. .. and so >far I received 27 messages out of 57 lists .. > >I'll raise it to 10 and try again.. > >any thoughts ? Just the above. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rcarter at pinyon.org Wed Jan 26 17:34:18 2011 From: rcarter at pinyon.org (Russell L. Carter) Date: Wed, 26 Jan 2011 09:34:18 -0700 Subject: [Mailman-Users] postfix-to-mailman.py => mail loops back to myself In-Reply-To: References: Message-ID: <4D404D0A.1060408@pinyon.org> On 01/26/2011 09:19 AM, Mark Sapiro wrote: > Russell L. Carter wrote: >> > > You must not use a CNAME for a mail domain. See the FAQ at > . This must be an MX, not a CNAME. Ah. I was worried about that. Ok. That complicates my setup, but many thanks for the pointer. Russell From knabe at 4j.lane.edu Thu Jan 27 01:14:52 2011 From: knabe at 4j.lane.edu (Troy Knabe) Date: Wed, 26 Jan 2011 16:14:52 -0800 Subject: [Mailman-Users] image filtering Message-ID: <1967D5D2-7BC0-41F0-BDFD-4CB7497D7316@4j.lane.edu> A user just sent a message to a list, and the inline image was removed. Under "Content filtering" I have "Should Mailman filter the content of list traffic according to the settings below?" and No is checked. Where else should I be looking? Thanks -Troy From rcarter at pinyon.org Thu Jan 27 02:35:20 2011 From: rcarter at pinyon.org (Russell L. Carter) Date: Wed, 26 Jan 2011 18:35:20 -0700 Subject: [Mailman-Users] configuration problem In-Reply-To: <4D404D0A.1060408@pinyon.org> References: <4D404D0A.1060408@pinyon.org> Message-ID: <4D40CBD8.7040801@pinyon.org> Installing on debian testing, all packages up to date. Ok, it complicated maintenance a bit too much in my net to dedicate an IP address to lists.domain, so I thought I would try the exact approach as detailed in the install manual with postfix, namely using alias_maps and virtual_alias_domains, etc., leading to a postfix main.cf containing: ----------------------------------------------------------------- # http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade masquerade_domains = lists.pinyon.org pinyon.org # http://www.postfix.org/virtual.5.html virtual_alias_domains = lists.pinyon.org virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman alias_maps = hash:/etc/aliases hash:/var/lib/mailman/data/aliases alias_database = hash:/etc/aliases ------------------------------------------------------------------ And that worked great! Using the suggested initial 'mailman' list I was able to add subscribers and send/receive, etc. Perfect. I ran into a permissions problem with apache and the private archives, so I thought I would stop at that point, purge the installation, and carefully recreate the configuration from scratch so that I could document the exact steps for mailman installation on my site properly. So I do (leaving the postfix previously working main.cf untouched): $ apt-get remove --purge mailman $ /bin/rm -rf /var/lib/mailman /usr/lib/mailman $ cp [my-saved-working-copy-of-mm_cfg.py] /etc/mailman $ newlist mailman [exact same stuff as before] $ /etc/init.d/mailman start $ /var/lib/mailman/bin/genaliases $ /var/lib/mailman/bin/check_perms -f and I notice that: $ ls -lt /var/lib/mailman/data total 36 -rw-rw---- 1 root list 1132 Jan 26 18:06 aliases -rw-r----- 1 root list 12288 Jan 26 18:06 aliases.db -rw-rw-r-- 1 root list 10 Jan 26 18:04 last_mailman_version -rw-r--r-- 1 root list 14100 Oct 21 22:40 sitelist.cfg Ok, first problem. Where's virtual-mailman (and virtual-mailman.db)? I go to the web interface http://lists.pinyon.org, but there is no 'mailman' list. I try to create the 'mailman' list in the web interface, and I get: Error: List already exists: mailman So... what should I do? Many thanks, Russell --- mm_cfg.py 2011-01-26 18:30:08.000000000 -0700 +++ mm_cfg.py.works 2011-01-26 18:30:28.000000000 -0700 @@ -57,16 +57,16 @@ #------------------------------------------------------------- # If you change these, you have to configure your http server # accordingly (Alias and ScriptAlias directives in most httpds) -DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' +DEFAULT_URL_PATTERN = 'http://%s/' PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' IMAGE_LOGOS = '/images/mailman/' #------------------------------------------------------------- # Default domain for email addresses of newly created MLs -DEFAULT_EMAIL_HOST = 'quine.gb.Pinyon.ORG' +DEFAULT_EMAIL_HOST = 'lists.Pinyon.ORG' #------------------------------------------------------------- # Default host for web interface of newly created MLs -DEFAULT_URL_HOST = 'quine.gb.Pinyon.ORG' +DEFAULT_URL_HOST = 'lists.Pinyon.ORG' #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) @@ -94,8 +94,10 @@ # Uncomment if you use Postfix virtual domains (but not # postfix-to-mailman.py), but be sure to see # /usr/share/doc/mailman/README.Debian first. -# MTA='Postfix' - +# RLC: follows /etc/mailman/postfix-to-mailman.py exactly: +MTA='Postfix' +POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.pinyon.org'] +DEB_LISTMASTER = 'postmaster at pinyon.org' #------------------------------------------------------------- # Uncomment if you want to filter mail with SpamAssassin. For # more information please visit this website: From mark at msapiro.net Thu Jan 27 02:48:27 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Jan 2011 17:48:27 -0800 Subject: [Mailman-Users] image filtering In-Reply-To: <1967D5D2-7BC0-41F0-BDFD-4CB7497D7316@4j.lane.edu> Message-ID: Troy Knabe wrote: >A user just sent a message to a list, and the inline image was removed. Under "Content filtering" I have "Should Mailman filter the content of list traffic according to the settings below?" and No is checked. > >Where else should I be looking? First, look at the headers to see if there is a X-Content-Filtered-By: Mailman/MimeDel 2.1.x header indicating Mailman filtered the content. If filter_content is No, there should not be one. Is the list's Non-digest options -> scrub_nondigest set to Yes. If so, all non-plain-text parts will be stored aside and replaced by links to the part content, but if this were the reason, there would have been a link to the content in the message. Other possibilities include "the user didn't remember to attach the image" and "some MTA/MDA between the user and Mailman or between Mailman and you removed it". -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Thu Jan 27 03:21:43 2011 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 26 Jan 2011 18:21:43 -0800 Subject: [Mailman-Users] configuration problem In-Reply-To: <4D40CBD8.7040801@pinyon.org> Message-ID: Russell L. Carter wrote: >Installing on debian testing, all packages up to date. > >Ok, it complicated maintenance a bit too much in my net to dedicate an >IP address to lists.domain, You didn't need to dedicate an IP address. All you needed was to replace your lists.pinyon.org CNAME quine.pinyon.org. with lists.pinyon.org MX 10 quine.pinyon.org. >so I thought I would try the exact >approach as detailed in the install manual with postfix, namely using >alias_maps and virtual_alias_domains, etc., leading to a postfix >main.cf containing: > >----------------------------------------------------------------- ># http://www.postfix.org/ADDRESS_REWRITING_README.html#masquerade >masquerade_domains = lists.pinyon.org pinyon.org ># http://www.postfix.org/virtual.5.html >virtual_alias_domains = lists.pinyon.org >virtual_alias_maps = hash:/var/lib/mailman/data/virtual-mailman > >alias_maps = hash:/etc/aliases hash:/var/lib/mailman/data/aliases >alias_database = hash:/etc/aliases >------------------------------------------------------------------ > >And that worked great! Using the suggested initial 'mailman' list >I was able to add subscribers and send/receive, etc. Perfect. > >I ran into a permissions problem with apache and the private archives, >so I thought I would stop at that point, purge the installation, and >carefully recreate the configuration from scratch so that I could >document the exact steps for mailman installation on my site properly. > >So I do (leaving the postfix previously working main.cf untouched): > >$ apt-get remove --purge mailman >$ /bin/rm -rf /var/lib/mailman /usr/lib/mailman >$ cp [my-saved-working-copy-of-mm_cfg.py] /etc/mailman There seems to be something missing here. >$ newlist mailman > [exact same stuff as before] >$ /etc/init.d/mailman start >$ /var/lib/mailman/bin/genaliases >$ /var/lib/mailman/bin/check_perms -f > >and I notice that: > >$ ls -lt /var/lib/mailman/data >total 36 >-rw-rw---- 1 root list 1132 Jan 26 18:06 aliases >-rw-r----- 1 root list 12288 Jan 26 18:06 aliases.db >-rw-rw-r-- 1 root list 10 Jan 26 18:04 last_mailman_version >-rw-r--r-- 1 root list 14100 Oct 21 22:40 sitelist.cfg > >Ok, first problem. Where's virtual-mailman (and virtual-mailman.db)? How did you re-install Mailman. apt-get? Source install? ??? In order to get a virtual-mailman, you first need an mm_cfg.py in the place Mailman is looking for it. This is only /etc/mailman in Debian and certain other packages, not a source install. >I go to the web interface http://lists.pinyon.org, but there is >no 'mailman' list. I try to create the 'mailman' list in the web >interface, and I get: > >Error: List already exists: mailman > >So... what should I do? The list exists, but it's not in the lists.pinyon.org domain. This means that DEFAULT_URL_HOST and DEFAULT_EMAIL_HOST are not 'lists.pinyon.org', at least not in the mm_cfg.py that Mailman is looking at. This could also explain why no virtual-mailman assuming there is POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.pinyon.org'] in mm_cfg.py. Which of the following are you using. The changes in mm_cfg.py.works look OK except the domains in DEFAULT_EMAIL_HOST = 'lists.Pinyon.ORG' and DEFAULT_URL_HOST = 'lists.Pinyon.ORG' should be all lower case. And, I have no idea what lines 74-93 are. Also, see the FAQ at . >--- mm_cfg.py 2011-01-26 18:30:08.000000000 -0700 >+++ mm_cfg.py.works 2011-01-26 18:30:28.000000000 -0700 >@@ -57,16 +57,16 @@ > #------------------------------------------------------------- > # If you change these, you have to configure your http server > # accordingly (Alias and ScriptAlias directives in most httpds) >-DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' >+DEFAULT_URL_PATTERN = 'http://%s/' > PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' > IMAGE_LOGOS = '/images/mailman/' > > #------------------------------------------------------------- > # Default domain for email addresses of newly created MLs >-DEFAULT_EMAIL_HOST = 'quine.gb.Pinyon.ORG' >+DEFAULT_EMAIL_HOST = 'lists.Pinyon.ORG' > #------------------------------------------------------------- > # Default host for web interface of newly created MLs >-DEFAULT_URL_HOST = 'quine.gb.Pinyon.ORG' >+DEFAULT_URL_HOST = 'lists.Pinyon.ORG' > #------------------------------------------------------------- > # Required when setting any of its arguments. > add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >@@ -94,8 +94,10 @@ > # Uncomment if you use Postfix virtual domains (but not > # postfix-to-mailman.py), but be sure to see > # /usr/share/doc/mailman/README.Debian first. >-# MTA='Postfix' >- >+# RLC: follows /etc/mailman/postfix-to-mailman.py exactly: >+MTA='Postfix' >+POSTFIX_STYLE_VIRTUAL_DOMAINS = ['lists.pinyon.org'] >+DEB_LISTMASTER = 'postmaster at pinyon.org' > #------------------------------------------------------------- > # Uncomment if you want to filter mail with SpamAssassin. For > # more information please visit this website: -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From andrew at hodgsonfamily.org Thu Jan 27 22:42:01 2011 From: andrew at hodgsonfamily.org (Andrew Hodgson) Date: Thu, 27 Jan 2011 21:42:01 +0000 Subject: [Mailman-Users] To use or not to use content filtering Message-ID: <19792E78AA12F14D9C250101F0DCA01BEBF544@ELROND.hodgsonfamily.org> Hi, I have read various discussions on this list about content filtering settings in Mailman. For the most part, I usually leave content filtering on, and leave the defaults, primarily for protecting list users against malicious attachments (I am enough of an MS veteran now not to care about filtering all HTML). However, over recent months we have had some issues with content filtering on some lists, with users who send emails with disclaimers, where the disclaimer is added as an attachment to the message, and Mailman appears to strip off the actual message, leaving the disclaimer to post to the list, and of course adding in the standard footer. Are people using content filtering in lists where most people are using MS products, and a suitable antivirus package on the MTA as well as a low posting size limit, or are there any tweaks I can make to the content filtering settings that may get some of this stuff through? Thanks. Andrew. From mark at msapiro.net Fri Jan 28 00:45:54 2011 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 27 Jan 2011 15:45:54 -0800 Subject: [Mailman-Users] To use or not to use content filtering In-Reply-To: <19792E78AA12F14D9C250101F0DCA01BEBF544@ELROND.hodgsonfamily.org> Message-ID: Andrew Hodgson wrote: > >However, over recent months we have had some issues with content filtering on some lists, with users who send emails with disclaimers, where the disclaimer is added as an attachment to the message, and Mailman appears to strip off the actual message, leaving the disclaimer to post to the list, and of course adding in the standard footer. I suspect what is happening here is the poster sends an HTML only message. His organization adds a disclaimer as a separate MIME text/plain part and Mailman's content filtering is removing the HTML leaving only the disclaimer. You can avoid this by adding text/html to pass_mime_types and making sure that collapse_alternatives is Yes so multipart/alternative with text/plain and text/html subparts is still replaced by only the text/plain and setting convert_html_to_plaintext according to your desire to have unfiltered HTML converted. >Are people using content filtering in lists where most people are using MS products, and a suitable antivirus package on the MTA as well as a low posting size limit, or are there any tweaks I can make to the content filtering settings that may get some of this stuff through? Agressive content filtering can help with keeping viruses and other malware off the list, but a good malware scanner is probably preferable for that purpose. Content filtering is useful for keeping unwanted things off the list. Unwanted because you don't want to use bandwidth and archive space for images, HTML, proprietary document formats, whatever. Note that if "most people" are using MS products, and they are not restricted, they will post .doc, .docx, .xls and .xlsx attachments. Where does that leave the minority who don't use MS products, not to mention those whose MS products are old enough that they can't handle the XML formats. All MUAs can sensibly display plain text. The same cannot be said for other content types. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From redbullpn at gmail.com Thu Jan 27 21:22:48 2011 From: redbullpn at gmail.com (Roberto Mascarenhas Braga) Date: Thu, 27 Jan 2011 18:22:48 -0200 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) not working Message-ID: I'm trying to get Mailman working with Postfix as a MTA but with some trouble with virtual domains. 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 mailman at cdt.unb.br. The machine that hosts the mailserver is called mailcdt. So its hostname is mailcdt.cdt.unb.br. If I send a message to mailman at cdt.unb.br - the desired email to the testing list - I cannot receive the message. But if I send the email to mailman at mailcdt.cdt.unb.br (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 = + From mark at msapiro.net Fri Jan 28 19:38:14 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 28 Jan 2011 10:38:14 -0800 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) notworking In-Reply-To: Message-ID: 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 >mailman at cdt.unb.br. The machine that hosts the mailserver is called >mailcdt. So its hostname is mailcdt.cdt.unb.br. > >If I send a message to mailman at cdt.unb.br - the desired email to the >testing list - I cannot receive the message. But if I send the email >to mailman at mailcdt.cdt.unb.br (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 mailman at cdt.unb.br mailman mailman-admin at cdt.unb.br 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 The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From redbullpn at gmail.com Fri Jan 28 20:16:49 2011 From: redbullpn at gmail.com (Roberto Mascarenhas Braga) Date: Fri, 28 Jan 2011 17:16:49 -0200 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) notworking In-Reply-To: References: Message-ID: > Does /etc/mailman/virtual-mailman exist and have entries like > > mailman at cdt.unb.br mailman > mailman-admin at cdt.unb.br mailman-admin Yes. It does exist with the lines above. So I've added virtual_alias_domains = cdt.unb.br to main.cf. Now I got: # postconf | grep virtual_alias_domains 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_alias_domains = cdt.unb.br Just to check I've made the other steps you told: # /usr/lib/mailman/bin/dumpdb /var/lib/mailman/lists/novalista/config.pck | grep host_name 'digest_footer': '_______________________________________________\n%(real_name)s mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', 'host_name': 'cdt.unb.br', 'msg_footer': '_______________________________________________\n%(real_name)s mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', So it looks as the host_name is ok, cdt.unb.br. So I didn't run fix_urls. Then I run genaliases and sent a test email again. The I've got the error below: mailcdt postfix/error[8792]: 0CA433806F: to=, relay=none, delay=3.9, delays=3.9/0.03/0/0.03, dsn=5.0.0, status=bounced (User unknown in virtual alias table) Thanks for the help until now. Roberto On Fri, Jan 28, 2011 at 4:38 PM, Mark Sapiro wrote: > 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 >>mailman at cdt.unb.br. The machine that hosts the mailserver is called >>mailcdt. So its hostname is mailcdt.cdt.unb.br. >> >>If I send a message to mailman at cdt.unb.br - the desired email to the >>testing list - I cannot receive the message. But if I send the email >>to mailman at mailcdt.cdt.unb.br (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 > > mailman at cdt.unb.br ? ? ? ? mailman > mailman-admin at cdt.unb.br ? 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 ? ? ? ?The highway is for gamblers, > San Francisco Bay Area, California ? ?better use your sense - B. Dylan > > From redbullpn at gmail.com Fri Jan 28 20:24:48 2011 From: redbullpn at gmail.com (Roberto Mascarenhas Braga) Date: Fri, 28 Jan 2011 17:24:48 -0200 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) notworking In-Reply-To: References: Message-ID: I've just noticed that adding virtual_alias_domains = cdt.unb.br to main.cf stops my LDAP Binding. So I removed it and took the original error (unknown user). The virtual-mailman file is fine with the alias. Roberto On Fri, Jan 28, 2011 at 5:16 PM, Roberto Mascarenhas Braga wrote: >> Does /etc/mailman/virtual-mailman exist and have entries like >> >> mailman at cdt.unb.br ? ? ? ? mailman >> mailman-admin at cdt.unb.br ? mailman-admin > > Yes. It does exist with the lines above. So I've added > virtual_alias_domains = cdt.unb.br to main.cf. Now I got: > > # postconf | grep virtual_alias_domains > 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_alias_domains = cdt.unb.br > > Just to check I've made the other steps you told: > # /usr/lib/mailman/bin/dumpdb > /var/lib/mailman/lists/novalista/config.pck | grep host_name > ? ?'digest_footer': > '_______________________________________________\n%(real_name)s > mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', > ? ?'host_name': 'cdt.unb.br', > ? ?'msg_footer': > '_______________________________________________\n%(real_name)s > mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', > > > So it looks as the host_name is ok, cdt.unb.br. So I didn't run fix_urls. > > Then I run genaliases and sent a test email again. The I've got the error below: > > mailcdt postfix/error[8792]: 0CA433806F: to=, > relay=none, delay=3.9, delays=3.9/0.03/0/0.03, dsn=5.0.0, > status=bounced (User unknown in virtual alias table) > > > Thanks for the help until now. > > Roberto > > > > On Fri, Jan 28, 2011 at 4:38 PM, Mark Sapiro wrote: >> 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 >>>mailman at cdt.unb.br. The machine that hosts the mailserver is called >>>mailcdt. So its hostname is mailcdt.cdt.unb.br. >>> >>>If I send a message to mailman at cdt.unb.br - the desired email to the >>>testing list - I cannot receive the message. But if I send the email >>>to mailman at mailcdt.cdt.unb.br (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 >> >> mailman at cdt.unb.br ? ? ? ? mailman >> mailman-admin at cdt.unb.br ? 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 ? ? ? ?The highway is for gamblers, >> San Francisco Bay Area, California ? ?better use your sense - B. Dylan >> >> > From john_espiro at yahoo.com Fri Jan 28 21:05:17 2011 From: john_espiro at yahoo.com (John Espiro) Date: Fri, 28 Jan 2011 21:05:17 +0100 Subject: [Mailman-Users] Cannot exec /etc/mail/smrsh: Permission denied Message-ID: <4D43217D.3080909@yahoo.com> When I send a message to the mailing list I get: sm-mta[16327]: p0SJuInx016321: SYSERR(root): Cannot exec /etc/mail/smrsh: Permission denied Jan 28 19:56:22 sm-mta[16326]: p0SJuInx016321: to="|/usr/lib/mailman/mail/mailman post LISTNAME", ctladdr=

(8/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=31689, dsn=4.0.0, stat=Operating system error System: Ubuntu 10.10 Server 64bit I've read through this: http://www.gnu.org/software/mailman/mailman-install/node32.html grep smrsh /etc/mail/sendmail.cf ##### $Id: smrsh.m4,v 8.14 1999/11/18 05:06:23 ca Exp $ ##### Mprog, P=/etc/mail/smrsh, F=lsDFM smrsh is in: :/usr/lib/sm.bin In /usr/lib/sm.bin, I ran: ln -s /usr/lib/mailman/mail/mailman mailman In /etc/mail/smrsh, I ran: ln -s /usr/lib/mailman/mail/mailman mailman Still, the problem persists. I am sure this must be a permissions issue, then again, maybe not. Other data: uid=51(smmsp) gid=51(smmsp) groups=51(smmsp),45(sasl) uid=103(smmta) gid=106(smmta) groups=106(smmta),45(sasl) uid=8(mail) gid=8(mail) groups=8(mail) ls -la /etc/mail/smrsh drwsr-sr-x 2 root root 4096 2011-01-28 19:31 . From mark at msapiro.net Sat Jan 29 00:43:09 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 28 Jan 2011 15:43:09 -0800 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) notworking In-Reply-To: References: Message-ID: <4D43548D.6070207@msapiro.net> On 1/28/2011 11:16 AM, Roberto Mascarenhas Braga wrote: >> Does /etc/mailman/virtual-mailman exist and have entries like >> >> mailman at cdt.unb.br mailman >> mailman-admin at cdt.unb.br mailman-admin > > Yes. It does exist with the lines above. So I've added > virtual_alias_domains = cdt.unb.br to main.cf. Now I got: > > # postconf | grep virtual_alias_domains > 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_alias_domains = cdt.unb.br > > Just to check I've made the other steps you told: > # /usr/lib/mailman/bin/dumpdb > /var/lib/mailman/lists/novalista/config.pck | grep host_name > 'digest_footer': > '_______________________________________________\n%(real_name)s > mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', > 'host_name': 'cdt.unb.br', > 'msg_footer': > '_______________________________________________\n%(real_name)s > mailing list\n%(real_name)s@%(host_name)s\n%(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s\n', > > > So it looks as the host_name is ok, cdt.unb.br. So I didn't run fix_urls. > > Then I run genaliases and sent a test email again. The I've got the error below: > > mailcdt postfix/error[8792]: 0CA433806F: to=, > relay=none, delay=3.9, delays=3.9/0.03/0/0.03, dsn=5.0.0, > status=bounced (User unknown in virtual alias table) This says that mailman at cdt.unb.br is not in virtual_alias_maps. But you say it is in /etc/mailman/virtual-mailman, and in main.cf you have virtual_alias_maps = hash:/etc/mailman/virtual-mailman so if the timestamp on /etc/mailman/virtual-mailman.db is as recent as that on /etc/mailman/virtual-mailman, I don't know why you get this error. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Jan 29 00:47:15 2011 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 28 Jan 2011 15:47:15 -0800 Subject: [Mailman-Users] Mailman + Postfix + Virtual Domain (LDAP) notworking In-Reply-To: References: Message-ID: <4D435583.9080202@msapiro.net> On 1/28/2011 11:24 AM, Roberto Mascarenhas Braga wrote: > I've just noticed that adding virtual_alias_domains = cdt.unb.br to > main.cf stops my LDAP Binding. So I removed it and took the original > error (unknown user). The virtual-mailman file is fine with the alias. If there is a conflict with virtual_alias_domains = cdt.unb.br, you may need to use the transport maps method of delivery to mailman. See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From beau at lookmedia.com Sun Jan 30 20:43:17 2011 From: beau at lookmedia.com (Beau Barnhart) Date: Sun, 30 Jan 2011 13:43:17 -0600 Subject: [Mailman-Users] Administrivia Messages Message-ID: <5aa88b95d374f65c1545db6a6a5a9b2d.squirrel@midge.lookhosting.com> Hello, We have been asked by mail-abuse.org to make changes to the configuration to one of our servers. The following this their request... -- message from mail-abuse.org ---------- Currently, when messages arrive at your mail server it runs them through SpamAssassin, which checks for spam and tags them. Your mail server then passes this tagged message to mailman. Because it is to a -request address, mailman "knows" that these messages should contain commands. It ignores the fact that SpamAssassin has already tagged it (Subject: {Definitely Spam?}), and looks through every line looking for a "subscribe", "unsubscribe" or other command. Of course, it doesn't find one. So, it builds up a helpful reply, sets the X-Administrivia header to yes, and appends the original message, and forwards this to the From: address. Except that the From: address is forged, so the message, and its spam payload, get sent to an innocent third party. Please properly configure your mailing list software to send list administrivia _only_ to a local administrator, or configure it not to send to forged From: addresses. In general, there is no need for "list administrivia" - it was an artifact of some of the original list management software. It does not serve a useful purpose today. ---------------------------- Actually we use administrivia in custom scripts and don't want to disable it. We even have members that still use the request commands. I?ve searched the mailman wiki as well as the mailman-users archive and have not been able to find how to configure the administrivia recipient. Any help would be appreciated. Thanks, Beau Barnhart Look Media From rhaas at rhaas.us Mon Jan 31 15:00:01 2011 From: rhaas at rhaas.us (Richard Haas) Date: Mon, 31 Jan 2011 09:00:01 -0500 Subject: [Mailman-Users] handling mail undeliverable to list owners Message-ID: Greetings. We have a moderately sized Mailman installation (+2000 mailing lists) which recently upgraded a long-standing Mailman v2.1.5 service to v2.1.14. The upgrade went quite well, but since the upgrade the list owners of the DEFAULT_SITE_LIST (i.e. "mailman") mailing list are seeing a marked increase in the number of undeliverable emails to (other) list owner addresses, which the "mailman" list owners did not see with the previous version/installation of the software. While unlikely, they may have been a customization in either Mailman or Postfix that was lost in the transition; the logic in ~/Mailman/Message.py which sends list owner bounces to DEFAULT_SITE_LIST seems unchanged since 2.1.5 (at least). Let me be clear: these are valid bounces from some list owner addresses that do not deliver, because a person who was a list owner has departed the organization and the mailbox to which a list owner address routes no longer exists. These messages not errors in Mailman. Often, a single list owner address will bounce to the DEFAULT_SITE_LIST, while other valid list owners remain available for that same list -- in that case, DEFAULT_SITE_LIST members need take no action. When there's just one owner for a list and that address bounces, the list is orphaned (which is good to know), but we have other means to reclaim unused lists (periodic reregistration), and the administrative notice which bounced is frequently not something that would be posted to the list anyway (e.g. spam, erroneous out-of-office mail, spoofed sender, etc.) -- particularly if the list has fallen into disuse. It would be nice to only see the bounces when there are no other list owners (of the same list) to receive them. Are there any Mailman configuration options which adjust the handling of bouncing list owner emails, short of customizing the Messages.py or adjusting filters on the DEFAULT_SITE_LIST policies? None leap out in Defaults.py. Thanks for any insight. -- Richard Haas -- From mark at msapiro.net Mon Jan 31 21:41:35 2011 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 31 Jan 2011 12:41:35 -0800 Subject: [Mailman-Users] handling mail undeliverable to list owners In-Reply-To: Message-ID: Richard Haas wrote: > >We have a moderately sized Mailman installation (+2000 mailing lists) which >recently upgraded a long-standing Mailman v2.1.5 service to v2.1.14. The >upgrade went quite well, but since the upgrade the list owners of the >DEFAULT_SITE_LIST (i.e. "mailman") mailing list are seeing a marked increase >in the number of undeliverable emails to (other) list owner addresses, which >the "mailman" list owners did not see with the previous version/installation >of the software. While unlikely, they may have been a customization in >either Mailman or Postfix that was lost in the transition; the logic in >~/Mailman/Message.py which sends list owner bounces to DEFAULT_SITE_LIST >seems unchanged since 2.1.5 (at least). The important changes were in ~/Mailman/Queue/BounceRunner.py which has changed significantly. The site list owner(s) now receive some categories of bounces that were previously just ignored. >Let me be clear: these are valid bounces from some list owner addresses that >do not deliver, because a person who was a list owner has departed the >organization and the mailbox to which a list owner address routes no longer >exists. These messages not errors in Mailman. > >Often, a single list owner address will bounce to the DEFAULT_SITE_LIST, >while other valid list owners remain available for that same list -- in that >case, DEFAULT_SITE_LIST members need take no action. They should probably remove the bad address anyway, if for no other reason than to stop future notifications. >When there's just one >owner for a list and that address bounces, the list is orphaned (which is >good to know), but we have other means to reclaim unused lists (periodic >reregistration), and the administrative notice which bounced is frequently >not something that would be posted to the list anyway (e.g. spam, erroneous >out-of-office mail, spoofed sender, etc.) -- particularly if the list has >fallen into disuse. It would be nice to only see the bounces when there are >no other list owners (of the same list) to receive them. What you are seeing is bounces of mail to a list-owner. At the point when we are deciding what to do with this bounce we don't know without parsing the message what address bounced (the message is To: LISTNAME-owner), and even if there are other owners, we don't know which if any of them may have bounced too. >Are there any Mailman configuration options which adjust the handling of >bouncing list owner emails, short of customizing the Messages.py or >adjusting filters on the DEFAULT_SITE_LIST policies? None leap out in >Defaults.py. No, and if you wanted to modify the code, the place do do it is in BounceRunner.py, not Message.py. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan