From david at davidrenstrom.com Sun Mar 4 14:28:33 2012 From: david at davidrenstrom.com (=?us-ascii?Q?David_Renstrom?=) Date: Sun, 4 Mar 2012 14:28:33 +0100 Subject: [Mailman-Users] Unknown user when using virtual mailboxes Message-ID: <1BFDBB795E514FF5B738FF91A3754CAB@daviddator> Hi, I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm unable to get emails delivered to the mailing lists created with Mailman though. I've added the required strings to alias_maps and virtual_alias_maps in main.cf of Postfix: alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf virtual_alias_maps = hash:/etc/mailman/virtual-mailman, mysql:/etc/postfix/virtual_mailbox.sql.cf I've created a mailing list called test for my virtual domain mydomain.se and everything seems to be correct in /etc/mailman/virtual-mailman and /etc/mailman/aliases. Example from /etc/mailman/virtual-mailman: test at mydomain.se test Example from /etc/mailman/aliases: test: "|/usr/lib/mailman/mail/mailman post test" I've also added the following string to /etc/mailman/mm_cfg.py: POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se'] add_virtualhost('www.mydomain.se', 'mydomain.se') MTA = 'Postfix' Why do I get the "Unknown user" reply from Postfix when sending an email to test at mydomain.se? What could I have missed? I've tried to Google this problem but have come up with nothing really useful. Could you please point me in the right direction? This is some output from the /var/log/maillog file: Mar 4 14:24:58 rus01 postfix/smtpd[7481]: connect from unknown[209.85.215.50] Mar 4 14:24:58 rus01 postfix/smtpd[7481]: A0C1DC200A9: client=unknown[209.85.215.50] Mar 4 14:24:58 rus01 postfix/cleanup[7490]: A0C1DC200A9: message-id=<89683CF8C82A4F509FA3F905D1C696BA at daviddator> Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: from=, size=2449, nrcpt=1 (queue active) Mar 4 14:24:58 rus01 postfix/pipe[7491]: A0C1DC200A9: to=, relay=dovecot, delay=0.14, delays=0.1/0.01/0/0.04, dsn=5.1.1, status=bounced (user unknown) Mar 4 14:24:58 rus01 postfix/cleanup[7490]: B873CC205D1: message-id=<20120304132458.B873CC205D1 at rus01.usnorr.se> Mar 4 14:24:58 rus01 postfix/bounce[7496]: A0C1DC200A9: sender non-delivery notification: B873CC205D1 Mar 4 14:24:58 rus01 postfix/qmgr[6219]: B873CC205D1: from=<>, size=4205, nrcpt=1 (queue active) Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: removed Mar 4 14:25:00 rus01 postfix/smtp[7499]: B873CC205D1: to=, relay=gmail-smtp-in.l.google.com[209.85.173.26]:25, delay=1.5, delays=0.01/0.01/0.51/1, dsn=2.0.0, status=sent (250 2.0.0 OK 1330867500 r7si5594416lbe.63) Mar 4 14:25:00 rus01 postfix/qmgr[6219]: B873CC205D1: removed Cheers, /David R. From mark at msapiro.net Sun Mar 4 16:52:56 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 4 Mar 2012 07:52:56 -0800 Subject: [Mailman-Users] Unknown user when using virtual mailboxes In-Reply-To: <1BFDBB795E514FF5B738FF91A3754CAB@daviddator> Message-ID: David Renstrom wrote: > >I've set up a system with Postfix, Dovecot and Mailman under Fedora. I'm >using MySQL and Postfixadmin to administrate the virtual mailboxes. I'm >unable to get emails delivered to the mailing lists created with Mailman >though. I've added the required strings to alias_maps and virtual_alias_maps >in main.cf of Postfix: > >alias_maps = hash:/etc/mailman/aliases, mysq:/etc/postfix/alias_sql.cf >virtual_alias_maps = hash:/etc/mailman/virtual-mailman, >mysql:/etc/postfix/virtual_mailbox.sql.cf > >I've created a mailing list called test for my virtual domain mydomain.se >and everything seems to be correct in /etc/mailman/virtual-mailman and >/etc/mailman/aliases. Are the timestamps on /etc/mailman/virtual-mailman.db and /etc/mailman/aliases.db as recent as those on /etc/mailman/virtual-mailman and /etc/mailman/aliases. >Example from /etc/mailman/virtual-mailman: >test at mydomain.se test > >Example from /etc/mailman/aliases: >test: "|/usr/lib/mailman/mail/mailman post test" > >I've also added the following string to /etc/mailman/mm_cfg.py: >POSTFIX_STYLE_VIRTUAL_DOMAINS = ['mydomain.se'] >add_virtualhost('www.mydomain.se', 'mydomain.se') >MTA = 'Postfix' > >Why do I get the "Unknown user" reply from Postfix when sending an email to >test at mydomain.se? What could I have missed? I've tried to Google this >problem but have come up with nothing really useful. Could you please point >me in the right direction? > >This is some output from the /var/log/maillog file: >Mar 4 14:24:58 rus01 postfix/smtpd[7481]: connect from >unknown[209.85.215.50] >Mar 4 14:24:58 rus01 postfix/smtpd[7481]: A0C1DC200A9: >client=unknown[209.85.215.50] >Mar 4 14:24:58 rus01 postfix/cleanup[7490]: A0C1DC200A9: >message-id=<89683CF8C82A4F509FA3F905D1C696BA at daviddator> >Mar 4 14:24:58 rus01 postfix/qmgr[6219]: A0C1DC200A9: >from=, size=2449, nrcpt=1 (queue active) >Mar 4 14:24:58 rus01 postfix/pipe[7491]: A0C1DC200A9: to=, >relay=dovecot, delay=0.14, delays=0.1/0.01/0/0.04, dsn=5.1.1, status=bounced >(user unknown) The mail is being piped to the dovecot LDA instead of being delivered by Postfix's 'local' delivery agent. Postfix's local would consult /etc/mailman/aliases.db, but the dovecot LDA apparently does not. There is probably something in Postfix's transport_maps that tells Postfix to use the dovecot transport for this domain. You may need to override this for list addresses. See the FAQ at for hints on how to do this. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From sascha at rissel.it Mon Mar 5 16:26:53 2012 From: sascha at rissel.it (Sascha Rissel) Date: Mon, 5 Mar 2012 16:26:53 +0100 Subject: [Mailman-Users] Adding archive link to mail footer? Message-ID: Hello, is there a nice way of adding a link to the list's archive to msg_footer? Like it is done with the link to the list info page > %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s Regards, Sascha. From jesus at evangelizacion.org.mx Mon Mar 5 16:29:19 2012 From: jesus at evangelizacion.org.mx (=?ISO-8859-1?Q?Jes=FAs_Rivas?=) Date: Mon, 05 Mar 2012 09:29:19 -0600 Subject: [Mailman-Users] Mailman + postfix delivery slow Message-ID: <4F54DBCF.60603@evangelizacion.org.mx> hi list, i have to change the server because the old server is in coma, so i put ubuntu with mailman and postifx. everything works fine, except the delivery is slow, about 20 per minute, someone help me please attached the config file for main.cf of postfix and mm_cfg.py of mailman Than a lot ################################################################ Mailman configuration ####################################################### # Here's where we get the distributed defaults. # from Defaults import * ############################################################## # Put YOUR site-specific configuration below, in mm_cfg.py . # # See Defaults.py for explanations of the values. # #------------------------------------------------------------- # The name of the list Mailman uses to send password reminders # and similar. Don't change if you want mailman-owner to be # a valid local part. MAILMAN_SITE_LIST = 'mailman' ### added from old configuration ### from socket import * try: fqdn = getfqdn() except: fqdn = 'mm_cfg_has_unknown_host_domains' ### #------------------------------------------------------------- # If you change these, you have to configure your http server # accordingly (Alias and ScriptAlias directives in most httpds #DEFAULT_URL_PATTERN = 'http://%s//mailman/' DEFAULT_URL_PATTERN = 'http://%s/cgi-bin/mailman/' PRIVATE_ARCHIVE_URL = '/cgi-bin/mailman/private' IMAGE_LOGOS = '/images/mailman/' #------------------------------------------------------------- # Default domain for email addresses of newly created MLs DEFAULT_EMAIL_HOST = 'mail.evangelizacionactiva.org.mx' #------------------------------------------------------------- # Default host for web interface of newly created MLs DEFAULT_URL_HOST = 'evangelizacionactiva.org.mx' ### DEFAULT_HOST_NAME = "mail.evangelizacionactiva.org.mx" SMTP_MAX_RCPTS = 1 ### #------------------------------------------------------------- # Required when setting any of its arguments. add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) #------------------------------------------------------------- # The default language for this server. DEFAULT_SERVER_LANGUAGE = 'es' #------------------------------------------------------------- # Iirc this was used in pre 2.1, leave it for now USE_ENVELOPE_SENDER = 0 # Still used? #------------------------------------------------------------- # Unset send_reminders on newly created lists DEFAULT_SEND_REMINDERS = 0 #------------------------------------------------------------- # Uncomment this if you configured your MTA such that it # automatically recognizes newly created lists. # (see /usr/share/doc/mailman/README.Exim4.Debian or # /usr/share/mailman/postfix-to-mailman.py) # MTA=None # Misnomer, suppresses alias output on newlist # postfix-to-mailman.py), but be sure to see # /usr/share/doc/mailman/README.Debian first. MTA='Postfix' #------------------------------------------------------------- # Uncomment if you want to filter mail with SpamAssassin. For # more information please visit this website: # http://www.jamesh.id.au/articles/mailman-spamassassin/ # GLOBAL_PIPELINE.insert(1, 'SpamAssassin') # Note - if you're looking for something that is imported from mm_cfg, but you # didn't find it above, it's probably in /usr/lib/mailman/Mailman/Defaults.py. ######################################### Postfix configuration main.cf ######################################### # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause the first # line of that file to be used as the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu) biff = no # appending .domain is the MUA's job. append_dot_mydomain = no # Uncomment the next line to generate "delayed mail" warnings #delay_warning_time = 4h readme_directory = no # TLS parameters smtpd_tls_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem smtpd_tls_key_file=/etc/ssl/private/ssl-cert-snakeoil.key smtpd_use_tls=no smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache # See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for # information on enabling SSL in the smtp client. myhostname = mail.evangelizacionactiva.org.mx #server-respaldo alias_maps = hash:/etc/aliases alias_database = hash:/etc/aliases myorigin = /etc/mailname mydestination = mail.evangelizacionactiva.org.mx, server-respaldo, localhost.localdomain, localhost relayhost = mynetworks = 127.0.0.0/8 [: mailbox_size_limit = 0 recipient_delimiter = + inet_interfaces = all inet_protocols = all local_destination_recipient_limit = 1 local_destination_concurrency_limit = 1 unknown_local_recipient_reject_code = 550 #Para que platiquen los server antes de aceptar un correo. smtpd_helo_required = yes ############################# delay_warning_time = 4h unknown_local_recipient_reject_code = 450 minimal_backoff_time = 300s maximal_backoff_time = 1200s maximal_queue_lifetime = 1d bounce_queue_lifetime = 1d smtp_helo_timeout = 30s smtpd_soft_error_limit = 3 smtpd_hard_error_limit = 12 -- Saludos!!! Jesus Alonso Rivas Sistemas _____________________________________ Evangelizaci?n Activa Comunicaci?n Digital al Servicio del Evangelio www.evangelizacion.org.mx From mailman-admin at uni-konstanz.de Mon Mar 5 18:47:34 2012 From: mailman-admin at uni-konstanz.de (Mailman Admin) Date: Mon, 05 Mar 2012 18:47:34 +0100 Subject: [Mailman-Users] Adding archive link to mail footer? In-Reply-To: References: Message-ID: <4F54FC36.9020609@uni-konstanz.de> Hello Sascha Rissel On 2012-03-05 16:26, Sascha Rissel wrote: > > is there a nice way of adding a link to the list's archive to msg_footer? > Like it is done with the link to the list info page >> %(web_page_url)slistinfo%(cgiext)s/%(_internal_name)s > Sure. For private archives use %(web_page_url)sprivate/%(_internal_name)s And for public ones use %(web_page_url)spublic/%(_internal_name)s Kind regards, Christian Mack From mark at msapiro.net Mon Mar 5 19:19:51 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 5 Mar 2012 10:19:51 -0800 Subject: [Mailman-Users] Adding archive link to mail footer? In-Reply-To: <4F54FC36.9020609@uni-konstanz.de> Message-ID: Mailman Admin wrote: > >For private archives use >%(web_page_url)sprivate/%(_internal_name)s Yes. >And for public ones use >%(web_page_url)spublic/%(_internal_name)s No. This won't work in a standard Mailman installation. It might work if you have set PUBLIC_ARCHIVE_URL = 'http://%(hostname)s/mailman/public/%(listname)s' in mm_cfg.py and put the appropriate alias for mailman/public in your web server, but for defauly public archives you need to use something like http://www.example.com/pipermail/%(list_name)s Note that in msg and digest headers and footers, %(list_name)s and %(_internal_name)s are equivalent, but %(_internal_name)s is a deprecated usage (even though it is still in the default footer). Note also that in the above, www.example.com could be replaced with %(host_name)s, but only if the list's web and email hosts are the same as %(host_name)s is the list's email host. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Mon Mar 5 21:32:26 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 5 Mar 2012 12:32:26 -0800 Subject: [Mailman-Users] Mailman + postfix delivery slow In-Reply-To: <4F54DBCF.60603@evangelizacion.org.mx> Message-ID: Jes?s Rivas wrote: > >so i put ubuntu with mailman and postifx. > >everything works fine, except the delivery is slow, about 20 per >minute, someone help me please See the FAQ at . -- 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 Mar 7 13:05:37 2012 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 7 Mar 2012 13:05:37 +0100 Subject: [Mailman-Users] bin/genaliases excessively slow? Message-ID: <20120307120537.GS29414@charite.de> # time ./genaliases real 2m39.183s user 0m55.771s sys 1m16.041s # ./list_lists |wc -l 906 Is that "normal" or are my expectations exaggerated :) ? -- Ralf Hildebrandt Charite Universit?tsmedizin Berlin ralf.hildebrandt at charite.de Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Gesch?ftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 From mark at msapiro.net Wed Mar 7 15:33:18 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 07 Mar 2012 06:33:18 -0800 Subject: [Mailman-Users] bin/genaliases excessively slow? In-Reply-To: <20120307120537.GS29414@charite.de> References: <20120307120537.GS29414@charite.de> Message-ID: <4F5771AE.2000403@msapiro.net> On 3/7/2012 4:05 AM, Ralf Hildebrandt wrote: > # time ./genaliases > > real 2m39.183s user 0m55.771s sys 1m16.041s > > # ./list_lists |wc -l 906 > > Is that "normal" or are my expectations exaggerated :) ? See . -- 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 Mar 7 15:54:57 2012 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Wed, 7 Mar 2012 15:54:57 +0100 Subject: [Mailman-Users] bin/genaliases excessively slow? In-Reply-To: <4F5771AE.2000403@msapiro.net> References: <20120307120537.GS29414@charite.de> <4F5771AE.2000403@msapiro.net> Message-ID: <20120307145457.GH29414@charite.de> * Mark Sapiro : > On 3/7/2012 4:05 AM, Ralf Hildebrandt wrote: > > # time ./genaliases > > > > real 2m39.183s user 0m55.771s sys 1m16.041s > > > > # ./list_lists |wc -l 906 > > > > Is that "normal" or are my expectations exaggerated :) ? > > > See . Yes, that's the one. Works like a charm :) -- Ralf Hildebrandt Charite Universit?tsmedizin Berlin ralf.hildebrandt at charite.de Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Gesch?ftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 From cwieland at uci.edu Wed Mar 7 23:54:28 2012 From: cwieland at uci.edu (Con Wieland) Date: Wed, 7 Mar 2012 14:54:28 -0800 Subject: [Mailman-Users] error while running make install Message-ID: <28200CD1-974D-4035-9C95-88CA5694E5B9@uci.edu> I get the following error while running make install on Solaris 10 trying to install mailman-2.1.14-1 any help would be appreciated. I see other folks with the error but no solutions thanks Con Wieland #make install Creating architecture independent directories... chmod o-r /opt/nsp/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 export.py; \ do \ /opt/csw/bin/ginstall -c -m 755 ../build/bin/$f /opt/nsp/mailman/bin; \ done for f in crontab.in; \ do \ /opt/csw/bin/ginstall -c -m 644 $f /opt/nsp/mailman/cron; \ done for f in checkdbs mailpasswds senddigests gate_news nightly_gzip bumpdigests disabled cull_bad_shunt; \ do \ /opt/csw/bin/ginstall -c -m 755 ../build/cron/$f /opt/nsp/mailman/cron; \ done for i in ./*.jpg ./*.png; \ do \ /opt/csw/bin/ginstall -c -m 644 $i /opt/nsp/mailman/icons; \ done for d in bin cron scripts tests; \ do \ dir=/opt/nsp/mailman/$d; \ /opt/csw/bin/ginstall -c -m 644 paths.py $dir; \ done /opt/csw/bin/ginstall -c -m 755 mailman /opt/nsp/mailman/scripts /opt/csw/bin/ginstall -c -m 644 sitelist.cfg /opt/nsp/mailman/data if [ -z "" -a -d /opt/nsp/mailman/pythonlib/email ] ; \ then \ rm -rf /opt/nsp/mailman/pythonlib/email* ; \ fi for p in ; \ do \ gunzip -c ./$p.tar.gz | (cd . ; tar xf -); \ (cd ./$p ; umask 02 ; PYTHONPATH=/opt/nsp/mailman/pythonlib /opt/csw/bin/python setup.py --quiet install --install-lib /opt/nsp/mailman/pythonlib --install-purelib /opt/nsp/mailman/pythonlib --install-data /opt/nsp/mailman/pythonlib); \ done sh: syntax error at line 1: `;' unexpected *** Error code 2 make: Fatal error: Command failed for target `install-packages' Current working directory /home/users/cwieland/mailman-2.1.14-1/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 Mar 8 02:04:55 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 07 Mar 2012 17:04:55 -0800 Subject: [Mailman-Users] error while running make install In-Reply-To: <28200CD1-974D-4035-9C95-88CA5694E5B9@uci.edu> References: <28200CD1-974D-4035-9C95-88CA5694E5B9@uci.edu> Message-ID: <4F5805B7.2010507@msapiro.net> On 3/7/2012 2:54 PM, Con Wieland wrote: > I get the following error while running make install on Solaris 10 trying to install mailman-2.1.14-1 > > any help would be appreciated. I see other folks with the error but no solutions [...] > for p in ; \ > do \ [...] Your Python installation is new enough that none of the special pythonlib packages need to be installed. Thus, configure has created misc/Makefile containing EMAILPKG= JACODECSPKG= KOCODECSPKG= PACKAGES= $(EMAILPKG) $(JACODECSPKG) $(KOCODECSPKG) so that PACKAGES is empty resulting in for p in $(PACKAGES); \ being seen as for p in ; \ and whatever shell your version of make uses doesn't like this. You might try setting SHELL=/bin/bash or the path to whatever shell will successfully accept for p in ; do echo xxx $p xxx; done and produce no output at the beginning of misc/Makefile or just at the command level before running 'make install'. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Thu Mar 8 02:31:29 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 08 Mar 2012 10:31:29 +0900 Subject: [Mailman-Users] error while running make install In-Reply-To: <28200CD1-974D-4035-9C95-88CA5694E5B9@uci.edu> References: <28200CD1-974D-4035-9C95-88CA5694E5B9@uci.edu> Message-ID: <87eht3anf2.fsf@uwakimon.sk.tsukuba.ac.jp> Con Wieland writes: > for p in ; \ This is the problem. There is a variable that should contain a list, and it's empty. I think you can probably get past this by wrapping the variable in "" (not ''), but I don't know if that is TRT. From mjs at clemson.edu Thu Mar 8 02:33:37 2012 From: mjs at clemson.edu (Matthew Saltzman) Date: Wed, 07 Mar 2012 20:33:37 -0500 Subject: [Mailman-Users] Unstoppable duplicate message Message-ID: <1331170417.20765.129.camel@serenity.localdomain> I have one message sent to one list that keeps getting sent out over and over (every 15 minutes or so). I'm no expert in Mailman internals or Python, so I have no idea how to stop it or how to figure out what's gone wrong. Has anyone seen this before? Any suggested course of action? My subscribers are going crazy. TIA. -- Matthew Saltzman Clemson University Mathematical Sciences mjs AT clemson DOT edu From mark at msapiro.net Thu Mar 8 03:16:34 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 07 Mar 2012 18:16:34 -0800 Subject: [Mailman-Users] Fwd: Re: Unstoppable duplicate message Message-ID: Matthew Saltzman wrote: >I have one message sent to one list that keeps getting sent out over >and >over (every 15 minutes or so). I'm no expert in Mailman internals or >Python, so I have no idea how to stop it or how to figure out what's >gone wrong. Has anyone seen this before? Any suggested course of >action? My subscribers are going crazy. > >TIA. Set emergency On. If as I suspect some list member process is resending the message to the list, this will stop it. You can then delete the dups waiting moderation. -- Mark Sapiro Sent from my Android phone with K-9 Mail. Please excuse my brevity. From mark at msapiro.net Thu Mar 8 03:43:32 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 7 Mar 2012 18:43:32 -0800 Subject: [Mailman-Users] error while running make install In-Reply-To: <87eht3anf2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: Stephen J. Turnbull wrote: >Con Wieland writes: > > > for p in ; \ > >This is the problem. There is a variable that should contain a list, >and it's empty. I think you can probably get past this by wrapping >the variable in "" (not ''), but I don't know if that is TRT. It won't get very far past it. The commands in the for loop will fail because of the blank value of $p. I don't know what shells are available in Solaris 10, but at least most versions of bash are happy to execute a for p in ; loop zero times. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From manuelweiel at gmx.de Thu Mar 8 03:45:55 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 8 Mar 2012 03:45:55 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> Message-ID: Hello, I've once again updated iMailModerate. It now allows adding and removing subscribers and it fixes some small issues. So if you do not own it yet, get it here: http://cl.ly/DyCl Best regards, Manuel Weiel Am 23.02.2012 um 21:05 schrieb Manuel Weiel: > > Am 09.02.2012 um 19:25 schrieb Manuel Weiel: > >> >> Am 09.02.2012 um 19:15 schrieb Mark Sapiro: >> >>> Manuel Weiel wrote: >>>> >>>> If you don't select the advanced settings, the program tries to detect the right mailman configuration and uses this: >>>> >>>> if your mail address is test at example.com, it will set the url to http://example.com/mailman/ and the list name to test_example.com. >>> >>> >>> Note that the list name test_example.com implies the Mailman >>> installation is cPanel. In non-cPanel Mailman, the list name will >>> usually be just 'test'. >> That is a good hint. I did notice, that also 'test' seems to be common. But I did not know in which case what list name is used. In the next update, I will test both when advanced is not checked (should not be that hard...) > I've released an updated, that checks both common list names (test and test_example.com in this example), clarifies the settings and fixes some small things. > Also it allows the reordering of lists. > > The update is now live in the AppStore. > http://cl.ly/DyCl > > I'm currently working on adding the ability to add people to the list (including address-book support) and also modifying/deleting someone. > > Best regards, > Manuel Weiel > >>> >>> -- >>> 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/manuelweiel%40gmx.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/manuelweiel%40gmx.de From mark at msapiro.net Thu Mar 8 04:10:05 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 07 Mar 2012 19:10:05 -0800 Subject: [Mailman-Users] Fwd: Re: Unstoppable duplicate message In-Reply-To: References: Message-ID: <4F58230D.5080707@msapiro.net> On 3/7/2012 6:16 PM, Mark Sapiro wrote: > > Matthew Saltzman wrote: > >> I have one message sent to one list that keeps getting sent out >> over and over (every 15 minutes or so). I'm no expert in Mailman >> internals or Python, so I have no idea how to stop it or how to >> figure out what's gone wrong. Has anyone seen this before? Any >> suggested course of action? My subscribers are going crazy. >> >> TIA. > > Set emergency On. If as I suspect some list member process is > resending the message to the list, this will stop it. You can then > delete the dups waiting moderation. If the above doesn't help, check Mailman's retry queue and smtp-failure log. There may be some issue between Mailman and the MTA causing Mailman to think the message wasn't accepted (or some recipients weren't accepted) when it was. If this is the case, you can verify that the retry queue entry (qfiles/retry/*.pck) is the message with either Mailmans bin/dumpdb or bin/show_qfiles pointed at the entry and if it is the offender, just remove it. Then the smtp-failure log entries may help you understand what happened. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mwoods1971 at yahoo.com Wed Mar 7 16:24:43 2012 From: mwoods1971 at yahoo.com (Mallory S Woods II) Date: Wed, 7 Mar 2012 07:24:43 -0800 (PST) Subject: [Mailman-Users] confirm 04b15bd499c96706d41e23b8368d11d485dc55c0 Message-ID: <1331133883.77795.YahooMailNeo@web130103.mail.mud.yahoo.com> Hi, I recently received this from my list. -- Your membership in the mailing list Stoneridgeinfo has been disabled due to excessive bounces The last bounce received from you was dated 20-Feb-2012. ?You will not get any more messages from this list until you re-enable your membership. ?You will receive 1 more reminders like this before your membership in the list is deleted. To re-enable your membership, you can simply respond to this message (leaving the Subject: line intact), or visit the confirmation page at -- I have had no other problems receiving mail from anywhere else and I'm listed as the admin on this list. I'm confused as to why myself and two other admins got these notices. Thanks From mark at msapiro.net Thu Mar 8 04:30:08 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 07 Mar 2012 19:30:08 -0800 Subject: [Mailman-Users] confirm 04b15bd499c96706d41e23b8368d11d485dc55c0 In-Reply-To: <1331133883.77795.YahooMailNeo@web130103.mail.mud.yahoo.com> References: <1331133883.77795.YahooMailNeo@web130103.mail.mud.yahoo.com> Message-ID: <4F5827C0.9010701@msapiro.net> On 3/7/2012 7:24 AM, Mallory S Woods II wrote: > > I recently received this from my list. > > -- > [disabled by bounce notice] > -- > > I have had no other problems receiving mail from anywhere else and I'm listed as the admin on this list. > I'm confused as to why myself and two other admins got these notices. If bounce_notify_owner_on_disable is Yes on the list admin Bounce Processing page, the list owners should also have received a notification at the same time containing a copy of the triggering bounce. These notices come from Mailman's automated bounce processing. There should also be entries in Mailman's 'bounce' log noting each bounce, but not the bounce reason, but if these bounces are locally generated, you may be able to correlate them with your MTA logs. Was the message addressed to your address or to LISTNAME-owner? If the latter, that is the address that is bouncing (Is it a member?). -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Richard at Damon-Family.org Thu Mar 8 05:36:01 2012 From: Richard at Damon-Family.org (Richard Damon) Date: Wed, 07 Mar 2012 23:36:01 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> Message-ID: <4F583731.6040107@Damon-Family.org> On 3/7/12 9:45 PM, Manuel Weiel wrote: > Hello, > > I've once again updated iMailModerate. > It now allows adding and removing subscribers and it fixes some small issues. > > So if you do not own it yet, get it here: > http://cl.ly/DyCl > > Best regards, > Manuel Weiel > > Am 23.02.2012 um 21:05 schrieb Manuel Weiel: > One small problem with the adding/removing subscribers, once the list gets big enough that Mailman splits into pages, the program only gives you access to the first page. Btw, the support link in the apps store takes me a to a German site, which I can't figure out how to get to a page for iMM (might help if I knew German which I don't). -- Richard Damon From manuelweiel at gmx.de Thu Mar 8 12:00:31 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 8 Mar 2012 12:00:31 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <4F583731.6040107@Damon-Family.org> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> Message-ID: <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> Am 08.03.2012 um 05:36 schrieb Richard Damon: > On 3/7/12 9:45 PM, Manuel Weiel wrote: >> Hello, >> >> I've once again updated iMailModerate. >> It now allows adding and removing subscribers and it fixes some small issues. >> >> So if you do not own it yet, get it here: >> http://cl.ly/DyCl >> >> Best regards, >> Manuel Weiel >> >> Am 23.02.2012 um 21:05 schrieb Manuel Weiel: >> > One small problem with the adding/removing subscribers, once the list > gets big enough that Mailman splits into pages, the program only gives > you access to the first page. That is good to know. I did not run into that. The biggest mailing list I tested iMailModerate with has about ~400 subscribers. It did not split up. How much subscribers do I need? Which version of Mailman are you using? > > Btw, the support link in the apps store takes me a to a German site, > which I can't figure out how to get to a page for iMM (might help if I > knew German which I don't). I'm working on providing a international webpage for iMailModerate. The current one is more like a placeholder. Thanks for your feedback. I will do my best to make iMailModerate better. Manuel Weiel > > -- > Richard Damon > > ------------------------------------------------------ > 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/manuelweiel%40gmx.de From manuelweiel at gmx.de Thu Mar 8 12:27:16 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 8 Mar 2012 12:27:16 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> Message-ID: <0A677AE2-AE73-4115-81CD-86C066241177@gmx.de> Am 08.03.2012 um 12:00 schrieb Manuel Weiel: > > Am 08.03.2012 um 05:36 schrieb Richard Damon: > >> On 3/7/12 9:45 PM, Manuel Weiel wrote: >>> Hello, >>> >>> I've once again updated iMailModerate. >>> It now allows adding and removing subscribers and it fixes some small issues. >>> >>> So if you do not own it yet, get it here: >>> http://cl.ly/DyCl >>> >>> Best regards, >>> Manuel Weiel >>> >>> Am 23.02.2012 um 21:05 schrieb Manuel Weiel: >>> >> One small problem with the adding/removing subscribers, once the list >> gets big enough that Mailman splits into pages, the program only gives >> you access to the first page. > That is good to know. I did not run into that. The biggest mailing list I tested iMailModerate with has about ~400 subscribers. It did not split up. How much subscribers do I need? Which version of Mailman are you using? Ok. I investigated a bit and discovered that in my case the admin_member_chunksize was set to a high value. Therefore I did not get a "split up" list. I will fix that issue with the next update. Thanks for reporting. Manuel Weiel >> >> Btw, the support link in the apps store takes me a to a German site, >> which I can't figure out how to get to a page for iMM (might help if I >> knew German which I don't). > I'm working on providing a international webpage for iMailModerate. The current one is more like a placeholder. > > Thanks for your feedback. I will do my best to make iMailModerate better. > > Manuel Weiel >> >> -- >> Richard Damon >> >> ------------------------------------------------------ >> 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/manuelweiel%40gmx.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/manuelweiel%40gmx.de From manuelweiel at gmx.de Thu Mar 8 13:48:23 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Thu, 8 Mar 2012 13:48:23 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <0A677AE2-AE73-4115-81CD-86C066241177@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> <0A677AE2-AE73-4115-81CD-86C066241177@gmx.de> Message-ID: <958BA330-041A-479B-9C70-2E73E4C2F3FA@gmx.de> Hello, Now I fixed the issue. I will submit a new version to Apple ASAP. To prevent this from happening again I am searching for beta testers so that next feature updates will work seamlessly. If someone is interested, please mail me. Best regards, Manuel Weiel http://cl.ly/DyCl Am 08.03.2012 um 12:27 schrieb Manuel Weiel: > > > Am 08.03.2012 um 12:00 schrieb Manuel Weiel: > >> >> Am 08.03.2012 um 05:36 schrieb Richard Damon: >> >>> On 3/7/12 9:45 PM, Manuel Weiel wrote: >>>> Hello, >>>> >>>> I've once again updated iMailModerate. >>>> It now allows adding and removing subscribers and it fixes some small issues. >>>> >>>> So if you do not own it yet, get it here: >>>> http://cl.ly/DyCl >>>> >>>> Best regards, >>>> Manuel Weiel >>>> >>>> Am 23.02.2012 um 21:05 schrieb Manuel Weiel: >>>> >>> One small problem with the adding/removing subscribers, once the list >>> gets big enough that Mailman splits into pages, the program only gives >>> you access to the first page. >> That is good to know. I did not run into that. The biggest mailing list I tested iMailModerate with has about ~400 subscribers. It did not split up. How much subscribers do I need? Which version of Mailman are you using? > Ok. I investigated a bit and discovered that in my case the admin_member_chunksize was set to a high value. Therefore I did not get a "split up" list. I will fix that issue with the next update. > > Thanks for reporting. > > Manuel Weiel >>> >>> Btw, the support link in the apps store takes me a to a German site, >>> which I can't figure out how to get to a page for iMM (might help if I >>> knew German which I don't). >> I'm working on providing a international webpage for iMailModerate. The current one is more like a placeholder. >> >> Thanks for your feedback. I will do my best to make iMailModerate better. >> >> Manuel Weiel >>> >>> -- >>> Richard Damon >>> >>> ------------------------------------------------------ >>> 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/manuelweiel%40gmx.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/manuelweiel%40gmx.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/manuelweiel%40gmx.de From Richard at Damon-Family.org Thu Mar 8 13:55:52 2012 From: Richard at Damon-Family.org (Richard Damon) Date: Thu, 08 Mar 2012 07:55:52 -0500 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> Message-ID: <4F58AC58.7050506@Damon-Family.org> On 3/8/12 6:00 AM, Manuel Weiel wrote: > Am 08.03.2012 um 05:36 schrieb Richard Damon: > >> On 3/7/12 9:45 PM, Manuel Weiel wrote: >>> Hello, >>> >>> I've once again updated iMailModerate. >>> It now allows adding and removing subscribers and it fixes some small issues. >>> >>> So if you do not own it yet, get it here: >>> http://cl.ly/DyCl >>> >>> Best regards, >>> Manuel Weiel >>> >>> Am 23.02.2012 um 21:05 schrieb Manuel Weiel: >>> >> One small problem with the adding/removing subscribers, once the list >> gets big enough that Mailman splits into pages, the program only gives >> you access to the first page. > That is good to know. I did not run into that. The biggest mailing list I tested iMailModerate with has about ~400 subscribers. It did not split up. How much subscribers do I need? Which version of Mailman are you using? >> Btw, the support link in the apps store takes me a to a German site, >> which I can't figure out how to get to a page for iMM (might help if I >> knew German which I don't). > I'm working on providing a international webpage for iMailModerate. The current one is more like a placeholder. > > Thanks for your feedback. I will do my best to make iMailModerate better. > > Manuel Weiel > I believe the break-point is a configuration option inside mailman, my mailing list is on a shared host provider, and that option isn't available to me. I am running version 2.1.9 (I know it is ancient, but that is what they provide and I think it is "current" for the distro they are running). I do enjoy the app, while it doesn't provide any major features I can't do via the web interface (makes sense since it uses the web interface), it does make many of the actions much more convenient, especially on the limited screen size of a mobile device. -- Richard Damon From mjs at clemson.edu Thu Mar 8 16:06:48 2012 From: mjs at clemson.edu (Matthew Saltzman) Date: Thu, 08 Mar 2012 10:06:48 -0500 Subject: [Mailman-Users] Fwd: Re: Unstoppable duplicate message [RESOLVED (but not solved)] In-Reply-To: <4F58230D.5080707@msapiro.net> References: <4F58230D.5080707@msapiro.net> Message-ID: <1331219208.22218.9.camel@serenity.localdomain> So I had to reboot the server for other reasons, and the loop seems to be broken--the duplicates have stopped. Thanks for the suggestions. I will remember them for next time. On Wed, 2012-03-07 at 19:10 -0800, Mark Sapiro wrote: > On 3/7/2012 6:16 PM, Mark Sapiro wrote: > > > > Matthew Saltzman wrote: > > > >> I have one message sent to one list that keeps getting sent out > >> over and over (every 15 minutes or so). I'm no expert in Mailman > >> internals or Python, so I have no idea how to stop it or how to > >> figure out what's gone wrong. Has anyone seen this before? Any > >> suggested course of action? My subscribers are going crazy. > >> > >> TIA. > > > > Set emergency On. If as I suspect some list member process is > > resending the message to the list, this will stop it. You can then > > delete the dups waiting moderation. > > > If the above doesn't help, check Mailman's retry queue and smtp-failure > log. There may be some issue between Mailman and the MTA causing Mailman > to think the message wasn't accepted (or some recipients weren't > accepted) when it was. If this is the case, you can verify that the > retry queue entry (qfiles/retry/*.pck) is the message with either > Mailmans bin/dumpdb or bin/show_qfiles pointed at the entry and if it is > the offender, just remove it. Then the smtp-failure log entries may help > you understand what happened. > -- Matthew Saltzman Clemson University Mathematical Sciences mjs AT clemson DOT edu From brad at shub-internet.org Thu Mar 8 16:39:34 2012 From: brad at shub-internet.org (Brad Knowles) Date: Thu, 8 Mar 2012 09:39:34 -0600 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <958BA330-041A-479B-9C70-2E73E4C2F3FA@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> <0A677AE2-AE73-4115-81CD-86C066241177@gmx.de> <958BA330-041A-479B-9C70-2E73E4C2F3FA@gmx.de> Message-ID: <39E1CD2F-5CB3-42C4-817D-3C73302ADAB1@shub-internet.org> On Mar 8, 2012, at 6:48 AM, Manuel Weiel wrote: > To prevent this from happening again I am searching for beta testers so that next feature updates will work seamlessly. > > If someone is interested, please mail me. I already own a copy, and I have a few Mailman mailing lists that I help administer. I'll even promise to use it to help me assist with administering the mailman-users mailing list, if I can manage to get the password issue straightened out. ;-) -- Brad Knowles LinkedIn Profile: From stephen at xemacs.org Thu Mar 8 21:27:20 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Fri, 09 Mar 2012 05:27:20 +0900 Subject: [Mailman-Users] error while running make install In-Reply-To: References: <87eht3anf2.fsf@uwakimon.sk.tsukuba.ac.jp> Message-ID: <87boo6alef.fsf@uwakimon.sk.tsukuba.ac.jp> Mark Sapiro writes: > Stephen J. Turnbull wrote: > > >Con Wieland writes: > > > > > for p in ; \ > > > >This is the problem. There is a variable that should contain a list, > >and it's empty. I think you can probably get past this by wrapping > >the variable in "" (not ''), but I don't know if that is TRT. > > > It won't get very far past it. The commands in the for loop will fail > because of the blank value of $p. At least some minimal POSIX shells (dash, I think) treat a missing argument as a syntax error, but a zero-length string as a null list (and so DTRT of executing zero times). It sorta makes sense... It's amazing how often simply wrapping all variable references in "" solves shell script errors. From anilj at me.com Thu Mar 8 21:59:37 2012 From: anilj at me.com (Anil Jangity) Date: Thu, 08 Mar 2012 12:59:37 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: References: Message-ID: <1C8FE537-26A3-44A1-BB30-FBEE5941B631@me.com> Hi Mark, Thanks. We're getting better performance now once we added this to our sendmail .mc file: FEATURE(`nocanonify') I wanted to see if we can do further improvements. Right now our email flow is like this for lists: Internet -> ServerA:25 (/etc/aliases mailman) -> ServerA -> SmartHostA Mailman receives the mail and then posts to the same local MTA on the host which sends it out to Smart host. I am not sure we can't just have mailman send directly to the smarthost? What are the implications (on the web site as well as how Mailman functions) if I change DEFAULT_EMAIL_HOST to be SmartHostA? Thanks, Anil PS: Now I am getting about 3000 recips in about 5 minutes. Still not the greatest but it's better than before. On Feb 22, 2012, at 6:53 PM, Mark Sapiro wrote: > Anil Jangity wrote: >> >> This sendmail server is setup to relay the mail to smarthost. When I inject a test mail on port 25 with RCPT and FROM to be a made up junk domain, the email is still delivered *immediately* to the smarthost, there is no resolver issues. >> >> If sendmail was really doing DNS lookups, I would think it would be stuck locally or throw a bounce/error right away. >> It just seems like it's running serially, and not dequeueing multiple messages to the smarthost at a time. > > > This issue is not a Mailman issue per se. It is either a Sendmail > configuration issue or something to do with the interaction of > Sendmail with the smarthost. > > We have given you all the information we have to help you with this. If > that isn't sufficient, you'll have to pursue this using Sendmail > support resources. See > . > > -- > Mark Sapiro The highway is for gamblers, > San Francisco Bay Area, California better use your sense - B. Dylan > From mark at msapiro.net Thu Mar 8 23:23:57 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 8 Mar 2012 14:23:57 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <1C8FE537-26A3-44A1-BB30-FBEE5941B631@me.com> Message-ID: Anil Jangity wrote: > >Mailman receives the mail and then posts to the same local MTA on the host which sends it out to Smart host. >I am not sure we can't just have mailman send directly to the smarthost? > >What are the implications (on the web site as well as how Mailman functions) if I change DEFAULT_EMAIL_HOST to be SmartHostA? Most likeley, SmartHostA will refuse to relay the mail because Mailman hasn't authenticated to it as an authorized user. See for a patch that implements SMTP authentication for Mailman. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From kjohnson at pcc.edu Fri Mar 9 00:30:55 2012 From: kjohnson at pcc.edu (Kirke Johnson) Date: Thu, 8 Mar 2012 15:30:55 -0800 Subject: [Mailman-Users] Using Google Message Security with Mailman? Message-ID: We are migrating from an inhouse email system to Gmail. We use Google Message Security for our employee accounts to provide for spam and virus quarantining, traffic logging and management. Our migration is well advanced, and it is now time to route Mailman traffic through Postini while maintaining the Mailman server in-house. We have established the lists.pcc.edu org in Postini for this purpose. The question is: has anyone achieved this with Postini GMS and Mailman? What we are trying to puzzle out is the Postini configuration to establish each Mailman list as a user in the Postini org while assuring that Postini quarantine notifications, etc for each list will be sent to a different user (the list owner) rather than to the list.. Can a Postini user alias accomplish that? We have a support ticket open with Postini, but they seem unfamiliar with the Mailman end and what we need to accomplish there. Thanks for any advice from anyone who has already "been there"! Kirke Johnson?????????????????????????????? Internet: kjohnson at pcc.edu Email Administrator, TSS , Sylvania Campus Portland Community College, Portland, OR, USA???? (971) 722-4368 From manuelweiel at gmx.de Fri Mar 9 00:47:41 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Fri, 9 Mar 2012 00:47:41 +0100 Subject: [Mailman-Users] iPhone App for moderating mails In-Reply-To: <958BA330-041A-479B-9C70-2E73E4C2F3FA@gmx.de> References: <542E2074-9923-40EE-BB97-DA883277BAA8@gmx.de> <4F583731.6040107@Damon-Family.org> <8DC518AA-4BD8-4A36-8A42-4283923A4E17@gmx.de> <0A677AE2-AE73-4115-81CD-86C066241177@gmx.de> <958BA330-041A-479B-9C70-2E73E4C2F3FA@gmx.de> Message-ID: <527E0F87-B2F8-4D43-AEBD-D3270475D726@gmx.de> Am 08.03.2012 um 13:48 schrieb Manuel Weiel: > Hello, > > Now I fixed the issue. I will submit a new version to Apple ASAP. This update has been approved already and should be available from the AppStore soon. If you want to be informed about new versions and other information consider also following me on Twitter. Best regards, Manuel > > To prevent this from happening again I am searching for beta testers so that next feature updates will work seamlessly. > > If someone is interested, please mail me. > > Best regards, > Manuel Weiel > > http://cl.ly/DyCl > > Am 08.03.2012 um 12:27 schrieb Manuel Weiel: > >> >> >> Am 08.03.2012 um 12:00 schrieb Manuel Weiel: >> >>> >>> Am 08.03.2012 um 05:36 schrieb Richard Damon: >>> >>>> On 3/7/12 9:45 PM, Manuel Weiel wrote: >>>>> Hello, >>>>> >>>>> I've once again updated iMailModerate. >>>>> It now allows adding and removing subscribers and it fixes some small issues. >>>>> >>>>> So if you do not own it yet, get it here: >>>>> http://cl.ly/DyCl >>>>> >>>>> Best regards, >>>>> Manuel Weiel >>>>> >>>>> Am 23.02.2012 um 21:05 schrieb Manuel Weiel: >>>>> >>>> One small problem with the adding/removing subscribers, once the list >>>> gets big enough that Mailman splits into pages, the program only gives >>>> you access to the first page. >>> That is good to know. I did not run into that. The biggest mailing list I tested iMailModerate with has about ~400 subscribers. It did not split up. How much subscribers do I need? Which version of Mailman are you using? >> Ok. I investigated a bit and discovered that in my case the admin_member_chunksize was set to a high value. Therefore I did not get a "split up" list. I will fix that issue with the next update. >> >> Thanks for reporting. >> >> Manuel Weiel >>>> >>>> Btw, the support link in the apps store takes me a to a German site, >>>> which I can't figure out how to get to a page for iMM (might help if I >>>> knew German which I don't). >>> I'm working on providing a international webpage for iMailModerate. The current one is more like a placeholder. >>> >>> Thanks for your feedback. I will do my best to make iMailModerate better. >>> >>> Manuel Weiel >>>> >>>> -- >>>> Richard Damon >>>> >>>> ------------------------------------------------------ >>>> 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/manuelweiel%40gmx.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/manuelweiel%40gmx.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/manuelweiel%40gmx.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/manuelweiel%40gmx.de From anilj at me.com Fri Mar 9 04:45:44 2012 From: anilj at me.com (Anil Jangity) Date: Thu, 08 Mar 2012 19:45:44 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: References: Message-ID: <13E11653-BADC-4A85-9363-8CAAC226C84F@me.com> Actually, this is a internal SmartHost that doesn't require SMTP auth. I think a while back I had configured Mailman with --with-mailhost=localhost, a bunch of pages also showed "localhost" as the email domain for some of the list details. That's not what I wanted. I assume there won't be issues if all I do is change that variable to SmartHostA in the mm_cfg.py file. I would like everything else to be in tact, and only want the outgoing mail to be directed to smart host. I will test it out in our UAT. Thanks! Anil On Mar 8, 2012, at 2:23 PM, Mark Sapiro wrote: > Anil Jangity wrote: >> >> Mailman receives the mail and then posts to the same local MTA on the host which sends it out to Smart host. >> I am not sure we can't just have mailman send directly to the smarthost? >> >> What are the implications (on the web site as well as how Mailman functions) if I change DEFAULT_EMAIL_HOST to be SmartHostA? > > > Most likeley, SmartHostA will refuse to relay the mail because Mailman > hasn't authenticated to it as an authorized user. > > See for a patch that > implements SMTP authentication for 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 Mar 9 05:00:55 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 8 Mar 2012 20:00:55 -0800 Subject: [Mailman-Users] slow "out" queue In-Reply-To: <13E11653-BADC-4A85-9363-8CAAC226C84F@me.com> Message-ID: Anil Jangity wrote: >Actually, this is a internal SmartHost that doesn't require SMTP auth. >I think a while back I had configured Mailman with --with-mailhost=localhost, a bunch of pages also showed "localhost" as the email domain for some of the list details. That's not what I wanted. The --with-mailhost config sets DEFAULT_EMAIL_HOST in Defaults.py. This has nothing to do with the MTA used for sending. >I assume there won't be issues if all I do is change that variable to SmartHostA in the mm_cfg.py file. I would like everything else to be in tact, and only want the outgoing mail to be directed to smart host. I will test it out in our UAT. You want to set SMTPHOST (and SMTPPORT if you want other than 25) in mm_cfg.py. That's all you need to change. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From closetotheledge at yahoo.com Thu Mar 8 17:39:25 2012 From: closetotheledge at yahoo.com (Duane Winner) Date: Thu, 8 Mar 2012 08:39:25 -0800 (PST) Subject: [Mailman-Users] Displaying the sender email Message-ID: <1331224765.81962.YahooMailNeo@web111112.mail.gq1.yahoo.com> Hello, Is there a way to configure Mailman lists so the From: line can say: ? ?"From listname at mymanserver.com [On Behalf of John.Doe at yahoo.com]" We are using a 3rd-party SMTP relay for all outbound mail, so we need to approve all senders for the service to allow the email to go through. This poses a problem with the dozens of mailing lists we host, since it is not practical to approve hundreds (if not thousands) of members. So what we are doing is configuring the mailman lists to "Hide the sender of a message, replacing it with the list address (Removes From, Sender and Reply-To fields)?", setting it to "Yes". So now all members of the list will see posts as: ? ?"From: listname at mymailmanserver.com" Instead of the address of the poster. This is actually a good thing for us, and we actually prefer this behavior to ensure that discussions will stay on the lists, but also this solves the problem of the SMTP relay service, since now we only need to approve the wildcard for "*@mymailmanserver.com" so the service will relay the email. The problem is that posters don't always include signatures, and we need to know who sent them, but by stripping out the original sender, unless they do include a signature in the body, members might not always be able to tell who posted to the list. Thanks in advance. From mark at msapiro.net Fri Mar 9 16:26:10 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 09 Mar 2012 07:26:10 -0800 Subject: [Mailman-Users] Displaying the sender email In-Reply-To: <1331224765.81962.YahooMailNeo@web111112.mail.gq1.yahoo.com> References: <1331224765.81962.YahooMailNeo@web111112.mail.gq1.yahoo.com> Message-ID: <4F5A2112.106@msapiro.net> On 3/8/2012 8:39 AM, Duane Winner wrote: > > Is there a way to configure Mailman lists so the From: line can say: > > "From listname at mymanserver.com [On Behalf of John.Doe at yahoo.com]" First, please see the FAQ at . Hopefully, this will explain what MS Outlook is actually displaying as the From: of the message. T answer your question, no there is not, at least not as a standard configuration. This could be done by setting the Sender: to listname at mymanserver.com instead of listname-bounces at mymanserver.com, but this would not be desirable as it could result in bounces being returned to the list instead of to bounce processing. > We are using a 3rd-party SMTP relay for all outbound mail, so we need > to approve all senders for the service to allow the email to go > through. Are you sure the relay is not looking at the envelope sender rather than any From: or Sender: header in the message. I would expect that it is, in which case, the addresses you need to 'whitelist' are the listname-bounces at mymanserver.com addresses regardless of any From: in the message. > This poses a problem with the dozens of mailing lists we host, since > it is not practical to approve hundreds (if not thousands) of > members. > > So what we are doing is configuring the mailman lists to "Hide the > sender of a message, replacing it with the list address (Removes > From, Sender and Reply-To fields) ", setting it to "Yes". > > So now all members of the list will see posts as: > > "From: listname at mymailmanserver.com" > > Instead of the address of the poster. > > This is actually a good thing for us, and we actually prefer this > behavior to ensure that discussions will stay on the lists, but also > this solves the problem of the SMTP relay service, since now we only > need to approve the wildcard for "*@mymailmanserver.com" so the > service will relay the email. I suspect the above will work regardless of any list settings. > The problem is that posters don't always include signatures, and we > need to know who sent them, but by stripping out the original sender, > unless they do include a signature in the body, members might not > always be able to tell who posted to the list. Try setting anonymous_list back to No, and if you want to "ensure that discussions will stay on the lists", set reply_goes_to_list to This list. I suspect that together with whitelisting "*@mymailmanserver.com" will do what you want. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tanstaafl at libertytrek.org Fri Mar 9 19:17:56 2012 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Fri, 09 Mar 2012 13:17:56 -0500 Subject: [Mailman-Users] Newer postfix: unused parameter: mailman_destination_recipient_limit=1 Message-ID: <4F5A4954.7080805@libertytrek.org> Hi all, I've had this parameter defined in my postfix ever since it was first set up (not by me), and most everything I read online says it should be there. But, the newer versions of postfix now provide warnings for unused parameters, and that is what I'm getting for this one parameter: myhost : Fri Mar 09, 13:16:12 : ~ # postconf -n | grep mailman alias_maps = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases virtual_alias_maps = ${mysql}/vam.cf, hash:/var/lib/mailman/data/virtual-mailman postconf: warning: /etc/postfix/main.cf: unused parameter: mailman_destination_recipient_limit=1 myhost : Fri Mar 09, 13:16:26 : ~ # Anyone have any idea why? Am I indeed not using it? I'd rather not just comment it out and test without some confirmation first, since this is a production box. Thanks... Charles From lstone19 at stonejongleux.com Fri Mar 9 20:28:06 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Fri, 9 Mar 2012 13:28:06 -0600 (CST) Subject: [Mailman-Users] Newer postfix: unused parameter: mailman_destination_recipient_limit=1 In-Reply-To: <4F5A4954.7080805@libertytrek.org> References: <4F5A4954.7080805@libertytrek.org> Message-ID: On Fri, 9 Mar 2012, Tanstaafl wrote: > Hi all, > > I've had this parameter defined in my postfix ever since it was first set up > (not by me), and most everything I read online says it should be there. > > But, the newer versions of postfix now provide warnings for unused > parameters, and that is what I'm getting for this one parameter: > > myhost : Fri Mar 09, 13:16:12 : ~ > # postconf -n | grep mailman > alias_maps = hash:/etc/mail/aliases, hash:/var/lib/mailman/data/aliases > virtual_alias_maps = ${mysql}/vam.cf, > hash:/var/lib/mailman/data/virtual-mailman > postconf: warning: /etc/postfix/main.cf: unused parameter: > mailman_destination_recipient_limit=1 > myhost : Fri Mar 09, 13:16:26 : ~ > # > > Anyone have any idea why? Am I indeed not using it? I'd rather not just > comment it out and test without some confirmation first, since this is a > production box. transport_destination_recipient_limit is a Postfix parameter that is specific to the named transport. If you don't have a transport named mailman, then mailman_transport_destination_recipient is indeed unused. -- Larry Stone lstone19 at stonejongleux.com From johnf at net2000.com.au Sat Mar 10 02:06:21 2012 From: johnf at net2000.com.au (John Fitzsimons) Date: Sat, 10 Mar 2012 12:06:21 +1100 Subject: [Mailman-Users] MAIL FROM envelope header query. Message-ID: <3.0.6.32.20120310120621.061845e8@127.0.0.1> Hi, I have a Mailman 2.1.14 *moderated* list that goes to Gmane for newsgroup access. The other day a post was made from someone who didn't appear to be on my list. I wasn't sure whether this was due to an error at my end, or at Gmane's. So I queried them. The problem however is that I didn't understand their reply .... but more importantly....how to fix things so it doesn't happen again ! Can someone here read the following and tell me if/how I can put a stop to people not on my mailing list, posting please ? "When Gmane sends messages (posted through the news-to-mail gateway) to the mailing lists, it uses the subscribed email address as the MAIL FROM envelope header. If your mailing list software discriminates based on the MAIL FROM instead of the From: header (the latter is more usual), then you may see stuff like that..." I have been using Mailman for a time, but still consider myself a "newbie", so any help on this would be appreciated. Regards, John. From mark at msapiro.net Sat Mar 10 04:18:53 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 9 Mar 2012 19:18:53 -0800 Subject: [Mailman-Users] MAIL FROM envelope header query. In-Reply-To: <3.0.6.32.20120310120621.061845e8@127.0.0.1> Message-ID: John Fitzsimons wrote: > >"When Gmane sends messages (posted through the news-to-mail gateway) >to >the mailing lists, it uses the subscribed email address as the MAIL >FROM >envelope header. If your mailing list software discriminates based >on >the MAIL FROM instead of the From: header (the latter is more usual), >then you may see stuff like that..." They are telling you that there is a Gmane address which is a member of your list that is how gmane receives messages posted to your list. When someone posts to your list on Gmane, Gmane sends that post to your list with the envelope sender (SMTP MAIL FROM address) equal to the Gmane address that's a member of your list. Mailman in turn checks every address found in any of the places listed in the Defaults.py/mm_cfg.py setting SENDER_HEADERS, and if any of these is a list member, the is considered to be from first member address found. It is not clear to me whether this post was held as a post from a moderated member or just went to the list. If it just went to the list and you want it to be held, just set the mod flag on the subscribed Gmane address and it will be held as a post from a moderated member. If, on the other hand, you want it treated as a non-member post, you have to override SENDER_HEADERS in mm_cfg.py. The default setting is SENDER_HEADERS = ('from', None, 'reply-to', 'sender') which says places checked in order are the From: header, the envelope sender, the Reply-To: header and the Sender: header. The None entry in the above list refers to the envelope sender. If you just want to stop considering the envelope sender and keep all the others, you would set SENDER_HEADERS = ('from', 'reply-to', 'sender') in mm_cfg.py. If you wanted to consider only the From: header, you could set SENDER_HEADERS = ('from', ) in mm_cfg.py (the comma and parens are significant here). Note that this is a global setting and affects all lists in the installation. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Mar 10 07:10:00 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 9 Mar 2012 22:10:00 -0800 Subject: [Mailman-Users] Newer postfix: unused parameter:mailman_destination_recipient_limit=1 In-Reply-To: Message-ID: Larry Stone wrote: >On Fri, 9 Mar 2012, Tanstaafl wrote: > >> Anyone have any idea why? Am I indeed not using it? I'd rather not just >> comment it out and test without some confirmation first, since this is a >> production box. > >transport_destination_recipient_limit is a Postfix parameter that is >specific to the named transport. If you don't have a transport named >mailman, then mailman_transport_destination_recipient is indeed unused. And in case you're wondering why this may have gotten put there, if you are using (the officially unsupported) postfix_to_mailman.py as a 'mailman' transport, that transport doesn't handle a single message with more than one list recipient (i.e. a post addressed to multiple lists) unless it is delivered to the transport separately for each list. Thus the requirement in that case for mailman_destination_recipient_limit=1. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From tanstaafl at libertytrek.org Sat Mar 10 12:38:06 2012 From: tanstaafl at libertytrek.org (Tanstaafl) Date: Sat, 10 Mar 2012 06:38:06 -0500 Subject: [Mailman-Users] Newer postfix: unused parameter:mailman_destination_recipient_limit=1 In-Reply-To: References: Message-ID: <4F5B3D1E.5080700@libertytrek.org> On 2012-03-10 1:10 AM, Mark Sapiro wrote: > Larry Stone wrote: >> On Fri, 9 Mar 2012, Tanstaafl wrote: >>> Anyone have any idea why? Am I indeed not using it? I'd rather not just >>> comment it out and test without some confirmation first, since this is a >>> production box. >> transport_destination_recipient_limit is a Postfix parameter that is >> specific to the named transport. If you don't have a transport named >> mailman, then mailman_transport_destination_recipient is indeed unused. > And in case you're wondering why this may have gotten put there, if you > are using (the officially unsupported) postfix_to_mailman.py as a > 'mailman' transport, that transport doesn't handle a single message > with more than one list recipient (i.e. a post addressed to multiple > lists) unless it is delivered to the transport separately for each > list. Thus the requirement in that case for > mailman_destination_recipient_limit=1. Perfect, thanks Larry and Mark - commented it out and everything's still working fine... Charles From ml at smtp.fakessh.eu Fri Mar 9 22:17:12 2012 From: ml at smtp.fakessh.eu (ml) Date: Fri, 09 Mar 2012 22:17:12 +0100 Subject: [Mailman-Users] =?utf-8?q?Newer_postfix=3A_unused_parameter=3A_ma?= =?utf-8?q?ilman=5Fdestination=5Frecipient=5Flimit=3D1?= In-Reply-To: References: <4F5A4954.7080805@libertytrek.org> Message-ID: Le 2012-03-09 20:28, Larry Stone a ?crit?: > On Fri, 9 Mar 2012, Tanstaafl wrote: > >> Hi all, >> >> I've had this parameter defined in my postfix ever since it was >> first set up (not by me), and most everything I read online says it >> should be there. >> >> But, the newer versions of postfix now provide warnings for unused >> parameters, and that is what I'm getting for this one parameter: >> >> myhost : Fri Mar 09, 13:16:12 : ~ >> # postconf -n | grep mailman >> alias_maps = hash:/etc/mail/aliases, >> hash:/var/lib/mailman/data/aliases >> virtual_alias_maps = ${mysql}/vam.cf, >> hash:/var/lib/mailman/data/virtual-mailman >> postconf: warning: /etc/postfix/main.cf: unused parameter: >> mailman_destination_recipient_limit=1 >> myhost : Fri Mar 09, 13:16:26 : ~ >> # >> >> Anyone have any idea why? Am I indeed not using it? I'd rather not >> just comment it out and test without some confirmation first, since >> this is a production box. > > transport_destination_recipient_limit is a Postfix parameter that is > specific to the named transport. If you don't have a transport named > mailman, then mailman_transport_destination_recipient is indeed > unused. > > -- Larry Stone > lstone19 at stonejongleux.com this depend version the postfix ks37777 ~]# postconf -n | grep mailman alias_maps = hash:/etc/aliases , hash:/etc/postfix/aliases,hash:/etc/mailman/aliases mailman_destination_recipient_limit = 1 virtual_alias_maps = hash:/etc/postfix/virtual,hash:/etc/mailman/aliases ok on my machine -- http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xC2626742 gpg --keyserver pgp.mit.edu --recv-key C2626742 http://urlshort.eu fakessh @ http://gplus.to/sshfake http://gplus.to/sshswilting http://gplus.to/john.swilting https://lists.fakessh.eu/mailman/ This list is moderated by me, but all applications will be accepted provided they receive a note of presentation From lstone19 at stonejongleux.com Sat Mar 10 16:08:09 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Sat, 10 Mar 2012 09:08:09 -0600 Subject: [Mailman-Users] Newer postfix: unused parameter: mailman_destination_recipient_limit=1 In-Reply-To: References: <4F5A4954.7080805@libertytrek.org> Message-ID: On Mar 9, 2012, at 3:17 PM, ml wrote: > > this depend version the postfix > > > ks37777 ~]# postconf -n | grep mailman > alias_maps = hash:/etc/aliases , hash:/etc/postfix/aliases,hash:/etc/mailman/aliases > mailman_destination_recipient_limit = 1 > virtual_alias_maps = hash:/etc/postfix/virtual,hash:/etc/mailman/aliases > > ok on my machine While whether or not you get unused parameter warnings (and they are just warnings) depends on the Postfix version (the check was added in Postfix 2.9.0), whether or not mailman_destination_recipient_limit is used depends on whether or not you have defined a "mailman" transport in master.cf. If no mailman transport, then mailman_destination_recipient_limit is unused. If there is a mailman transport, then mailman_destination_recipient_limit is used. Postfix transports can be called anything you want to call them. There is nothing magic about a Postfix transport named "mailman" that ties it to GNU Mailman. So this is really a Postfix issue, not a Mailman issue. -- Larry Stone lstone19 at stonejongleux.com http://www.stonejongleux.com/ From Ralf.Hildebrandt at charite.de Sat Mar 10 16:27:55 2012 From: Ralf.Hildebrandt at charite.de (Ralf Hildebrandt) Date: Sat, 10 Mar 2012 16:27:55 +0100 Subject: [Mailman-Users] Newer postfix: unused parameter: mailman_destination_recipient_limit=1 In-Reply-To: References: <4F5A4954.7080805@libertytrek.org> Message-ID: <20120310152755.GD24956@charite.de> * Larry Stone : > While whether or not you get unused parameter warnings (and they are > just warnings) depends on the Postfix version (the check was added in > Postfix 2.9.0), whether or not mailman_destination_recipient_limit is > used depends on whether or not you have defined a "mailman" transport > in master.cf. Yep. > If no mailman transport, then mailman_destination_recipient_limit is > unused. If there is a mailman transport, then > mailman_destination_recipient_limit is used. Yep. > Postfix transports can be called anything you want to call them. There > is nothing magic about a Postfix transport named "mailman" that ties it > to GNU Mailman. So this is really a Postfix issue, not a Mailman issue. Yep. -- Ralf Hildebrandt Charite Universit?tsmedizin Berlin ralf.hildebrandt at charite.de Campus Benjamin Franklin http://www.charite.de Hindenburgdamm 30, 12203 Berlin Gesch?ftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 From Lupin5th at gmx.net Sun Mar 11 16:42:38 2012 From: Lupin5th at gmx.net (Lupin5th at gmx.net) Date: Sun, 11 Mar 2012 16:42:38 +0100 Subject: [Mailman-Users] mails disappear between postfix and mailman Message-ID: <20120311154238.199680@gmx.net> Hello I?m hoping someone can point me in the right direction with this: I?m using mailman version 2.1.13, on ubuntu lts 10.4.4, mta is postfix. Mailman is installed, lists are configured, everything should theoretically be fine. When I send a mail to one of the lists, postfix logs "status=sent (delivered via mailman service)" but no mail ever arrives. neither does mailman log anything in /var/log/mailman/ I?m guessing this means the mails never arrive to be handled by mailman, but shouldn?t this produce some reaction (aka not "status sent") in postfix? also, if I try to send to e.g. bullshitz at lists.my-domain.net I get the "correct" error in mail.log, that the message can?t be delivered. I?d very much appreciate anyone giving me some hints where the mails disappear to, or even any hints on how to find out. It?s kinda creping me out that I can?t even find a trace of errors to follow those disappearing mails. best regards silvana -- -- "Do you know what happens to a toad struck by lightning..? The same thing that happens to anything else..." -- Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de From mark at msapiro.net Mon Mar 12 07:29:23 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 11 Mar 2012 23:29:23 -0700 Subject: [Mailman-Users] mails disappear between postfix and mailman In-Reply-To: <20120311154238.199680@gmx.net> References: <20120311154238.199680@gmx.net> Message-ID: <4F5D97C3.9030902@msapiro.net> On 3/11/2012 8:42 AM, Lupin5th at gmx.net wrote: > > I?m hoping someone can point me in the right direction with this: > I?m using mailman version 2.1.13, on ubuntu lts 10.4.4, mta is postfix. > Mailman is installed, lists are configured, everything should theoretically be fine. When I send a mail to one of the lists, postfix logs "status=sent (delivered via mailman service)" but no mail ever arrives. neither does mailman log anything in /var/log/mailman/ Several points. The 'mailman' service is undoubtedly the 3rd party postfix_to_mailman.py which is officially not supported by the GNU Mailman project. Please see the FAQ at . Is Mailman running? Did you run Mailman's 'bin/mailmanctl start' or 'service mailman start' or however you start Mailman in your package. Have you looked in Mailman's qfiles/in/ directory to see if the messages are there? They will be *.pck files that you can examine with Mailman's bin/dumpdb or bin/show_qfiles. > I?m guessing this means the mails never arrive to be handled by mailman, but shouldn?t this produce some reaction (aka not "status sent") in postfix? Postfix delivered the message to the mailman transport (presumably postfix_to_mailman.py). Normally, it will inform Postfix of an error if it can't deliver the mail to Mailman and Postfix will report it. There are several possibilities: The 'mailman' transport is misconfigured in Postfix in such a way that it silently fails. postfix_to_mailman.py is broken in some way that causes it to silently fail. postfix_to_mailman.py delivered the mail to Mailman and Mailman isn't running so the mail still sits in Mailman's queue Mailman silently fails (highly unlikely). Mailman noisily fails and its logs are in some directory other than /var/log/mailman/. If you ever started Mailman, there should be at least a qrunner log. If there isn't, you're looking in the wrong directory for logs or you never started Mailman. Also see the FAQ at , but section 3 (aliases) doesn't apply if you are using postfix_to_mailman.py, and section 4 (smrsh) doesn't apply to Postfix at all. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From sascha at rissel.it Mon Mar 12 16:28:21 2012 From: sascha at rissel.it (Sascha Rissel) Date: Mon, 12 Mar 2012 16:28:21 +0100 Subject: [Mailman-Users] Android App for moderating (eventually...) Message-ID: I will do that. Although I am new to Android development, I am a Java developer at least. That's finally a fair reason for me to get into that materia. :-) I have not that mch time to spend on such projects in my spare time, so please don't expect quick results. One general question, to Manuel and those who might be familiar: I suppose there is no API like a web service or something available an APP could use? So parsing the mail moderating page should be the approach, right? Regards, Sascha. 2012/2/8 Manuel Weiel > > Am 07.02.2012 um 20:40 schrieb Mark Sapiro: > > > Manuel Weiel wrote: > >> > >> I don't know if this is appropriate, but I want to share it if someone > finds it useful: > > > > > > I think I could find it useful if it were for android. Any thoughts > > about an android app? > I personally don't own an Android device. So this would be more difficult. > But I will think about it if the app sells well (which is currently not > the case). I've seen an alpha version for Android floating somewhere in the > web, but I did not look into that further. > > > > -- > > 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/sascha%40rissel.it > From manuelweiel at gmx.de Mon Mar 12 16:55:23 2012 From: manuelweiel at gmx.de (Manuel Weiel) Date: Mon, 12 Mar 2012 16:55:23 +0100 Subject: [Mailman-Users] Android App for moderating (eventually...) In-Reply-To: References: Message-ID: <79D4AC9A-0A45-4EFB-88FD-C4D81C48F680@gmx.de> Am 12.03.2012 um 16:28 schrieb Sascha Rissel: > I will do that. > Although I am new to Android development, I am a Java developer at least. > That's finally a fair reason for me to get into that materia. :-) > > I have not that mch time to spend on such projects in my spare time, so > please don't expect quick results. > > One general question, to Manuel and those who might be familiar: > I suppose there is no API like a web service or something available an APP > could use? > > So parsing the mail moderating page should be the approach, right? Mailman 3 will get a REST API. I didn't look into that deeply, but it looks promising. For Mailman 2 you will have to stay with parsing (my approach)... > Regards, > Sascha. > > 2012/2/8 Manuel Weiel > >> >> Am 07.02.2012 um 20:40 schrieb Mark Sapiro: >> >>> Manuel Weiel wrote: >>>> >>>> I don't know if this is appropriate, but I want to share it if someone >> finds it useful: >>> >>> >>> I think I could find it useful if it were for android. Any thoughts >>> about an android app? >> I personally don't own an Android device. So this would be more difficult. >> But I will think about it if the app sells well (which is currently not >> the case). I've seen an alpha version for Android floating somewhere in the >> web, but I did not look into that further. >>> >>> -- >>> 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/sascha%40rissel.it >> > ------------------------------------------------------ > 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/manuelweiel%40gmx.de From stephen at xemacs.org Mon Mar 12 16:57:50 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 12 Mar 2012 08:57:50 -0700 Subject: [Mailman-Users] Android App for moderating (eventually...) In-Reply-To: References: Message-ID: On Mon, Mar 12, 2012 at 8:28 AM, Sascha Rissel wrote: > One general question, to Manuel and those who might be familiar: > I suppose there is no API like a web service or something available an APP > could use? > Not in Mailman 2, but there's a RESTful API in Mailman 3. So parsing the mail moderating page should be the approach, right? > Well, you could always refuse to target Mailman 2, which would encourage a LOT of people to migrate to Mailman 3!! ;-) From sascha at rissel.it Mon Mar 12 17:00:06 2012 From: sascha at rissel.it (Sascha Rissel) Date: Mon, 12 Mar 2012 17:00:06 +0100 Subject: [Mailman-Users] Android App for moderating (eventually...) In-Reply-To: References: Message-ID: Thanks for the answers. Unfortunately I'll have to target Mailman 2, since my own lists are on it.... 2012/3/12 Stephen J. Turnbull > On Mon, Mar 12, 2012 at 8:28 AM, Sascha Rissel wrote: > > >> One general question, to Manuel and those who might be familiar: >> I suppose there is no API like a web service or something available an APP >> could use? >> > > Not in Mailman 2, but there's a RESTful API in Mailman 3. > > So parsing the mail moderating page should be the approach, right? >> > > Well, you could always refuse to target Mailman 2, which would encourage a > LOT of people to migrate > to Mailman 3!! ;-) > From stephen at xemacs.org Mon Mar 12 17:04:03 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Mon, 12 Mar 2012 09:04:03 -0700 Subject: [Mailman-Users] Android App for moderating (eventually...) In-Reply-To: References: Message-ID: I wasn't entirely kidding about refusing to support Mailman 2, but my main purpose was to amuse Barry! On Mon, Mar 12, 2012 at 9:00 AM, Sascha Rissel wrote: > Thanks for the answers. > > Unfortunately I'll have to target Mailman 2, since my own lists are on > it.... > > 2012/3/12 Stephen J. Turnbull > > > On Mon, Mar 12, 2012 at 8:28 AM, Sascha Rissel wrote: > > > > > >> One general question, to Manuel and those who might be familiar: > >> I suppose there is no API like a web service or something available an > APP > >> could use? > >> > > > > Not in Mailman 2, but there's a RESTful API in Mailman 3. > > > > So parsing the mail moderating page should be the approach, right? > >> > > > > Well, you could always refuse to target Mailman 2, which would encourage > a > > LOT of people to migrate > > to Mailman 3!! ;-) > > > ------------------------------------------------------ > 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/stephen%40xemacs.org > From rosenbaumlm at ornl.gov Mon Mar 12 20:35:44 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Mon, 12 Mar 2012 15:35:44 -0400 Subject: [Mailman-Users] Online archive contains odd strings like "%(indexing_disable)s" Message-ID: For some of our lists, the web interface for the archives are peppered with various strings like %(indexing_disable)s and %(htsearch)s. The lists were recently migrated from a Solaris 9 box to a RHEL6 box. Rebuilding the archives doesn't fix the problem. What do we need to do to fix it? We are running Mailman v2.1.12 with htDig integration. Larry M. Rosenbaum Oak Ridge National Laboratory From mark at msapiro.net Mon Mar 12 20:50:42 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 12 Mar 2012 12:50:42 -0700 Subject: [Mailman-Users] Online archive contains odd strings like"%(indexing_disable)s" In-Reply-To: Message-ID: Rosenbaum, Larry M. wrote: >For some of our lists, the web interface for the archives are peppered with various strings like %(indexing_disable)s and %(htsearch)s. The lists were recently migrated from a Solaris 9 box to a RHEL6 box. Rebuilding the archives doesn't fix the problem. What do we need to do to fix it? > >We are running Mailman v2.1.12 with htDig integration. If rebuilding the archive doesn't fix it, something is wrong with your htDig integration. Those replacements are in the htDig integration version of the archive templates and they should be properly replaced as messages are archived or as the archive is being rebuilt. If you run bin/arch --wipe on a list's archive, it *should* fix it. If it doesn't, but newly archived posts are OK, I can't understand what would be wrong. If newly archived posts also have uninterpolated replacements, then something is missing from htDig integration. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From frank.bell at washburn.edu Mon Mar 12 21:26:24 2012 From: frank.bell at washburn.edu (Frank Bell) Date: Mon, 12 Mar 2012 15:26:24 -0500 Subject: [Mailman-Users] Some pending requests not showing up Message-ID: <4F5E5BF0.4030207@washburn.edu> mailman 2.1.12 We have some notifications to the owners that are stating Post by non-member to a members-only list But when they follow the link, there are no pending requests. On one of these I as admin followed the same link the first time and the options were there, the second time I followed it, they weren't. Any help would be greatly appreciated. -- Thank you, Frank Bell Application Systems Admin ISS 785-670-2334 1 Cor 15:10 "By the grace of God I am what I am, and His grace toward me was not in vain . . .." From mark at msapiro.net Tue Mar 13 02:12:52 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 12 Mar 2012 18:12:52 -0700 Subject: [Mailman-Users] Some pending requests not showing up In-Reply-To: <4F5E5BF0.4030207@washburn.edu> Message-ID: Frank Bell wrote: > >mailman 2.1.12 >We have some notifications to the owners that are stating Post by >non-member to a members-only list > >But when they follow the link, there are no pending requests. > >On one of these I as admin followed the same link the first time and the >options were there, the second time I followed it, they weren't. Check Mailman's vette log to see what happened to these requests. Possibly they were discarded by the poster or another moderator. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From midnightjava at verizon.net Mon Mar 12 20:19:22 2012 From: midnightjava at verizon.net (Mark Leone) Date: Mon, 12 Mar 2012 15:19:22 -0400 Subject: [Mailman-Users] Lists created via web admin seem to be entirely separate from lists created from command line Message-ID: <012601cd0085$089d4f70$19d7ee50$@net> I just installed Mailman 2.1.14 and got it integrated with Postfix, on Ubuntu 11.04. I can create a list via the web admin interface, and add members to it. But no such list exists if I run bin/list_lists. If I run bin/newlist without creating a list via the web admin interface, I can send mail to the list, but when I try to administer it via the web interface, it doesn't exist. If I then create the list at the web interface, there is no connection between the web instance and the instance reachable via e-mail. That is, I add a member via the web interface, but when I send mail from that address, it's sent to the list moderator for vetting because it supposedly came from a non-member. And in similar fashion I get an e-mail at the list-admin address, telling me that I have a post to disposition. But when I click on the link in the e-mail, the Mailman web app says there are no pending requests. I've created three lists from scratch, including the sitelist, and I get this behavior each time. I assume I've got something misconfigured, as I haven't seen this behavior reported by anyone else. What configuration settings should I check, and is there a way to force synchronization of the web interface with the command line interface? -Mark From mal at techma.com Mon Mar 12 20:12:21 2012 From: mal at techma.com (Leone, Mark A.) Date: Mon, 12 Mar 2012 19:12:21 +0000 Subject: [Mailman-Users] Lists created via web admin seem to be entirely separate from lists created from command line Message-ID: <8197C8DF500D2949ADBC4D109E8C40AA0175B3BE@chmail> I just installed Mailman 2.1.14 and got it integrated with Postfix, on Ubuntu 11.04. I can create a list via the web admin interface, and add members to it. But no such list exists if I run bin/list_lists. If I run bin/newlist without creating a list via the web admin interface, I can send mail to the list, but when I try to administer it via the web interface, it doesn't exist. If I then create the list at the web interface, there is no connection between the web instance and the instance reachable via e-mail. That is, I add a member via the web interface, but when I send mail from that address, it's sent to the list moderator for vetting because it supposedly came from a non-member. And in similar fashion I get an e-mail at the list-admin address, telling me that I have a post to disposition. But when I click on the link in the e-mail, the Mailman web app says there are no pending requests. I've created three lists from scratch, including the sitelist, and I get this behavior each time. I assume I've got something misconfigured, as I haven't seen this behavior reported by anyone else. What configuration settings should I check, and is there a way to force synchronization of the web interface with the command line interface? -Mark From mark at msapiro.net Tue Mar 13 06:37:09 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 12 Mar 2012 22:37:09 -0700 Subject: [Mailman-Users] Lists created via web admin seem to be entirelyseparate from lists created from command line In-Reply-To: <012601cd0085$089d4f70$19d7ee50$@net> Message-ID: Mark Leone wrote: >I just installed Mailman 2.1.14 and got it integrated with Postfix, on >Ubuntu 11.04. I can create a list via the web admin interface, and add >members to it. But no such list exists if I run bin/list_lists. If I run >bin/newlist without creating a list via the web admin interface, I can send >mail to the list, but when I try to administer it via the web interface, it >doesn't exist. If I then create the list at the web interface, there is no >connection between the web instance and the instance reachable via e-mail. >That is, I add a member via the web interface, but when I send mail from >that address, it's sent to the list moderator for vetting because it >supposedly came from a non-member. And in similar fashion I get an e-mail at >the list-admin address, telling me that I have a post to disposition. But >when I click on the link in the e-mail, the Mailman web app says there are >no pending requests. All of this says that your web server does not point to the same mailman instance that Postfix points to and that you are accessing from the command line. Check the path in your Mailman ScriptAlias in your web server config. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From rosenbaumlm at ornl.gov Tue Mar 13 14:43:50 2012 From: rosenbaumlm at ornl.gov (Rosenbaum, Larry M.) Date: Tue, 13 Mar 2012 09:43:50 -0400 Subject: [Mailman-Users] Online archive contains odd strings like"%(indexing_disable)s" In-Reply-To: References: Message-ID: > From: Mark Sapiro [mailto:mark at msapiro.net] > > Rosenbaum, Larry M. wrote: > > >For some of our lists, the web interface for the archives are peppered > with various strings like %(indexing_disable)s and %(htsearch)s. The > lists were recently migrated from a Solaris 9 box to a RHEL6 box. > Rebuilding the archives doesn't fix the problem. What do we need to do to > fix it? > > > >We are running Mailman v2.1.12 with htDig integration. > > > If rebuilding the archive doesn't fix it, something is wrong with your > htDig integration. Thank you for the help. It turns out that some of the files didn't get patched (or somehow got unpatched). I applied the patches and it is working properly now. From midnightjava at verizon.net Tue Mar 13 15:01:03 2012 From: midnightjava at verizon.net (Mark Leone) Date: Tue, 13 Mar 2012 10:01:03 -0400 Subject: [Mailman-Users] Lists created via web admin seem to be entirelyseparate from lists created from command line In-Reply-To: References: Message-ID: <4F5F531F.3010106@verizon.net> > > All of this says that your web server does not point to the same > mailman instance that Postfix points to and that you are accessing > from the command line. > > Check the path in your Mailman ScriptAlias in your web server config. Yes the ScriptAlias is pointing to /usr/lib/cgi-bin/. At that location I see the mailman executables which correspond to the various web functions, as expected. I searched for other instances of these same executables using locate, and all I found was a location where three executables with the same name (admin, confirm, and subscribe) at /var/lib/mailman/scripts. I don't know if these locations are equivalent or not. These are the locations where the Ubuntu ppa installer placed them. I realize this list is not the place to ask about Ubuntu-specific installation, but I haven't received a reply on the Ubuntu forum so far. I need to see where postfix is pointing. As I understand it, it's the "mailman" entry in postfix's master.cf that determines this. There I have the entry as specified in the mailman documentation: mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user} Per man page for master(5) this is supposed to mean that executabe 'mailman' is present relative to the path specified by postfix param queue_directory. The value of that variable (as determined by running postconf queue_directory) is /var/spool/postfix. There is no executable named 'mailman' at that location, so I'm not clear on how postfix is invoking mailman on incoming mail, but that seems to be where the problem lies. -Mark From frank.bell at washburn.edu Tue Mar 13 16:13:24 2012 From: frank.bell at washburn.edu (Frank Bell) Date: Tue, 13 Mar 2012 10:13:24 -0500 Subject: [Mailman-Users] Some pending requests not showing up In-Reply-To: References: Message-ID: <4F5F6414.3010305@washburn.edu> Well, I'm still adjusting as a Application Systems Admin as opposed to a Systems Admin. It looks very much like the problem was that after migration to a new server the Sysadmin didn't shut the old server down, so the cronjobs were sending version 2.1.5 msgs to the newer 2.1.12 server. We will know for sure tomorrow when the cron jobs kick off on the new server. (we shouldn't get notifications that don't exist) Thank you, Frank Bell Application Systems Admin ISS 785-670-2334 1 Cor 15:10 "By the grace of God I am what I am, and His grace toward me was not in vain . . .." On 3/12/2012 8:12 PM, Mark Sapiro wrote: > Frank Bell wrote: >> mailman 2.1.12 >> We have some notifications to the owners that are stating Post by >> non-member to a members-only list >> >> But when they follow the link, there are no pending requests. >> >> On one of these I as admin followed the same link the first time and the >> options were there, the second time I followed it, they weren't. > > Check Mailman's vette log to see what happened to these requests. > Possibly they were discarded by the poster or another moderator. > From mark at msapiro.net Tue Mar 13 16:32:25 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 13 Mar 2012 08:32:25 -0700 Subject: [Mailman-Users] Lists created via web admin seem to beentirelyseparate from lists created from command line In-Reply-To: <4F5F531F.3010106@verizon.net> Message-ID: Mark Leone wrote: >Yes the ScriptAlias is pointing to /usr/lib/cgi-bin/. At that location I >see the mailman executables which correspond to the various web >functions, as expected. I searched for other instances of these same >executables using locate, Is your locate index up to date? Search for files named config.pck. See if there is more than one lists/ directory containing things like lists/LISTNAME/config.pck. Preferrably use 'find / -name config.pck'. >and all I found was a location where three >executables with the same name (admin, confirm, and subscribe) at >/var/lib/mailman/scripts. I don't know if these locations are equivalent >or not. The files in /usr/lib/cgi-bin/ are compiled binary wrappers (so they can be SETGID) that do nothing more than validate the real GID and then invoke the python script. I am however surprised that the scripts are in /var and not /usr. If you do 'strings' on the files in /usr/lib/cgi-bin/, you should see the path to the scripts directory they're using. E.g. [mark at sbh16 ~]$ strings mmp/cgi-bin/admin | grep scripts /usr/local/mailman/scripts/ >These are the locations where the Ubuntu ppa installer placed them. I >realize this list is not the place to ask about Ubuntu-specific >installation, but I haven't received a reply on the Ubuntu forum so far. > >I need to see where postfix is pointing. As I understand it, it's the >"mailman" entry in postfix's master.cf that determines this. There I >have the entry as specified in the mailman documentation: > >mailman unix - n n - - pipe > flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py > ${nexthop} ${user} > >Per man page for master(5) this is supposed to mean that executabe >'mailman' is present relative to the path specified by postfix param >queue_directory. The value of that variable (as determined by running >postconf queue_directory) is /var/spool/postfix. There is no executable >named 'mailman' at that location, so I'm not clear on how postfix is >invoking mailman on incoming mail, but that seems to be where the >problem lies. The above master.cf entry defines a 'mailman' transport that pipes mail to the script at /usr/lib/mailman/bin/postfix-to-mailman.py. Assuming that is how mail is being delivered to Mailman (you can verify this from the Postfix log entries), you should be able to see what installation it is pointing to be just reading it. I don't think I have ever seen the Debian/Ubuntu version of this (officially unsupported - how many times have I written that this week?) script, but the one I have has a configuration setting on the 4th line like MailmanHome = "/var/mailman"; # Mailman home directory. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From midnightjava at verizon.net Tue Mar 13 23:52:20 2012 From: midnightjava at verizon.net (Mark Leone) Date: Tue, 13 Mar 2012 18:52:20 -0400 Subject: [Mailman-Users] Lists created via web admin seem to beentirelyseparate from lists created from command line In-Reply-To: References: <4F5F531F.3010106@verizon.net> Message-ID: <006901cd016b$f3921ce0$dab656a0$@net> > > > >mailman unix - n n - - pipe > > flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py > > ${nexthop} ${user} > > > >Per man page for master(5) this is supposed to mean that executabe > >'mailman' is present relative to the path specified by postfix param > >queue_directory. The value of that variable (as determined by running > >postconf queue_directory) is /var/spool/postfix. There is no > executable > >named 'mailman' at that location, so I'm not clear on how postfix is > >invoking mailman on incoming mail, but that seems to be where the > >problem lies. > > > The above master.cf entry defines a 'mailman' transport that pipes mail > to the script at /usr/lib/mailman/bin/postfix-to-mailman.py. Assuming > that is how mail is being delivered to Mailman (you can verify this > from the Postfix log entries), you should be able to see what > installation it is pointing to be just reading it. I don't think I have > ever seen the Debian/Ubuntu version of this (officially unsupported - > how many times have I written that this week?) script, but the one I > have has a configuration setting on the 4th line like > > MailmanHome = "/var/mailman"; # Mailman home directory. > Thanks for all the info. I've narrowed down the locations, but I'm still not quite there. I updated the locate database, and then using locate and find, I see that the only place any lists are defined is at /var/lib/mailman/lists The wrapper executables in the directory pointed to by apache's ScriptAlias for /mailman are pointing to /var/lib/mailman/scripts. However, that location is actually a sym link pointing to /usr/lib/mailman/scripts (which is where you said you expected them to be) This surprises me because when I create a list using the web interface, its file does not appear in /var/lib/mailman/lists (or anywhere). The list files only appear in that directory when I create them from the command line. But the above seems to indicate that the web app is pointing to the same mailman instance where the scripts eventually get written. So then the remaining question is which mailman is postfix invoking? In the postfix log file, when an e-mail comes in, I see Mar 13 17:24:59 mal-s5610f postfix/pipe[20980]: 1F8E618006D: to=, relay=mailman, delay=0.33, delays=0.12/0.01/0/0.2, dsn=2.0.0, status=sent (delivered via mailman service) I don't think that tells us the location, so I then looked at the script being invoked via the master.cf entry (the unsupported file postfix-to-mailman.py). I'm not a python programmer, but I understand the basics. So I'm not sure I correctly resolved the location of the mailman executable. What I see is import paths mm_pgm = os.path.join(paths.prefix, 'mail', 'mailman') I don't see any reference to module paths in the python API, so I'm assuming that's a custom module, and that the line above is resolving the path mail/mailman relative to the path pointed to by the mailman config variable 'prefix'. If this is so, then that's 'var/lib/mailman' as that's the value set for 'prefix' in Defaults.py, and it's not overridden in mm_cfg.py. (As an aside, I put in some print and sys.stderr.write statements to get the value of paths.prefix, thinking they would show up in either postfix or mailman log files, but they do not.) So if my assumption above is correct, then both postfix and apache are pointing to the same instance of mailman. And when I create a list from the command line I use /var/lib/mailman/bin/newlist, which is a sym link to /usr/lib/mailman/bin/newlist, so this is also the same mailman instance. So perhaps my assumption above can be corrected? One other thing I'm going to try is checking whether apache is configured to allow following of sym links for the ScriptAlias location. The wrapper executables there are not sym links, but they're pointing to the python scripts they execute via sym links, so perhaps I need the option enabled for following sym links. Otherwise the mystery remains. -Mark From mark at msapiro.net Wed Mar 14 01:18:56 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 13 Mar 2012 17:18:56 -0700 Subject: [Mailman-Users] Lists created via web admin seem to beentirelyseparate from lists created from command line In-Reply-To: <006901cd016b$f3921ce0$dab656a0$@net> References: <4F5F531F.3010106@verizon.net> <006901cd016b$f3921ce0$dab656a0$@net> Message-ID: <4F5FE3F0.8060803@msapiro.net> On 3/13/2012 3:52 PM, Mark Leone wrote: > > This surprises me because when I create a list using the web interface, its > file does not appear in /var/lib/mailman/lists (or anywhere). The list files > only appear in that directory when I create them from the command line. But > the above seems to indicate that the web app is pointing to the same mailman > instance where the scripts eventually get written. So are you even getting to the web server on this machine? Check your DNS. Check the Apache logs on this machine to see if you are even accessing this Apache. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Mar 14 01:38:34 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 13 Mar 2012 17:38:34 -0700 Subject: [Mailman-Users] Lists created via web admin seem to beentirelyseparate from lists created from command line In-Reply-To: <006901cd016b$f3921ce0$dab656a0$@net> References: <4F5F531F.3010106@verizon.net> <006901cd016b$f3921ce0$dab656a0$@net> Message-ID: <4F5FE88A.3070901@msapiro.net> On 3/13/2012 3:52 PM, Mark Leone wrote: > > So then the remaining question is which mailman is postfix invoking? In the > postfix log file, when an e-mail comes in, I see > > Mar 13 17:24:59 mal-s5610f postfix/pipe[20980]: 1F8E618006D: > to=, relay=mailman, delay=0.33, > delays=0.12/0.01/0/0.2, dsn=2.0.0, status=sent (delivered via mailman > service) > > I don't think that tells us the location, so I then looked at the script > being invoked via the master.cf entry (the unsupported file > postfix-to-mailman.py). I'm not a python programmer, but I understand the > basics. So I'm not sure I correctly resolved the location of the mailman > executable. What I see is > > import paths > mm_pgm = os.path.join(paths.prefix, 'mail', 'mailman') The paths.py that is being imported is in the same directory as postfix_to_mailman.py, i.e., /usr/lib/mailman/bin/paths.py > I don't see any reference to module paths in the python API, so I'm assuming > that's a custom module, and that the line above is resolving the path > mail/mailman relative to the path pointed to by the mailman config variable > 'prefix'. If this is so, then that's 'var/lib/mailman' as that's the value > set for 'prefix' in Defaults.py, and it's not overridden in mm_cfg.py. (As > an aside, I put in some print and sys.stderr.write statements to get the > value of paths.prefix, thinking they would show up in either postfix or > mailman log files, but they do not.) It's the value of prefix defined in /usr/lib/mailman/bin/paths.py, but we know that's the same as used by bin/newlist. We also know that Mailman and Postfix are working together. It's only the web UI that's not working. > So if my assumption above is correct, then both postfix and apache are > pointing to the same instance of mailman. And when I create a list from the > command line I use /var/lib/mailman/bin/newlist, which is a sym link to > /usr/lib/mailman/bin/newlist, so this is also the same mailman instance. > > So perhaps my assumption above can be corrected? One other thing I'm going > to try is checking whether apache is configured to allow following of sym > links for the ScriptAlias location. The wrapper executables there are not > sym links, but they're pointing to the python scripts they execute via sym > links, so perhaps I need the option enabled for following sym links. > Otherwise the mystery remains. Web create is apparently creating lists because it either creates the list or returns an error. If it succeeds, the list's lists/LISTNAME/config.pck file is created somewhere. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From midnightjava at verizon.net Wed Mar 14 02:40:04 2012 From: midnightjava at verizon.net (Mark Leone) Date: Tue, 13 Mar 2012 21:40:04 -0400 Subject: [Mailman-Users] Lists created via web admin seem to beentirelyseparate from lists created from command line In-Reply-To: <4F5FE88A.3070901@msapiro.net> References: <4F5F531F.3010106@verizon.net> <006901cd016b$f3921ce0$dab656a0$@net> <4F5FE88A.3070901@msapiro.net> Message-ID: <4F5FF6F4.90207@verizon.net> > Web create is apparently creating lists because it either creates the > list or returns an error. If it succeeds, the list's > lists/LISTNAME/config.pck file is created somewhere. You know the great thing about the Internet is that when you do something dumb, you get to share it with lots of other people, and have them join you in running in the circles you created. You cracked the code. I was hitting an entirely different web server. I set up Mailman and Postfix on my wife's Mac originally, and before I got the two working together I decided to host them on my Ubuntu system instead. I have two NAT'd ports for web access, going to the Mac and the Ubuntu system, and guess which one I was hitting until now. When I go to the right port, I see all the lists and users I created previously. Sorry for the error, but at least I learned some things about Mailman-Postfix interop. And I appreciate your help. -Mark From ma.76 at osu.edu Thu Mar 15 14:29:15 2012 From: ma.76 at osu.edu (Ma, Yuan) Date: Thu, 15 Mar 2012 13:29:15 +0000 Subject: [Mailman-Users] how to increase Mailman Postfix message size Message-ID: <3D7D185549C2E048814EC5CF34B8FD67200B1C@CIO-KRC-D1MBX02.osuad.osu.edu> HI, All: We are running Mailman and postfix. Users request increasing message size to 10 MB. Now the message size is 1Mb. I would appreciate it very much if anyone could tell me which file(s) I need to change. Thank you very much in advance. Yuan Ma System Engineer From pasqualinic at fcal.uner.edu.ar Thu Mar 15 14:49:42 2012 From: pasqualinic at fcal.uner.edu.ar (Carlos R. Pasqualini) Date: Thu, 15 Mar 2012 10:49:42 -0300 Subject: [Mailman-Users] how to increase Mailman Postfix message size In-Reply-To: <3D7D185549C2E048814EC5CF34B8FD67200B1C@CIO-KRC-D1MBX02.osuad.osu.edu> References: <3D7D185549C2E048814EC5CF34B8FD67200B1C@CIO-KRC-D1MBX02.osuad.osu.edu> Message-ID: <9ba5ddc0d9c72e0f35228627ae3ee0e8@localhost> On Thu, 15 Mar 2012 13:29:15 +0000, "Ma, Yuan" wrote: > HI, All: > > We are running Mailman and postfix. Users request increasing message > size to 10 MB. Now the message size is 1Mb. > I would appreciate it very much if anyone could tell me which file(s) > I need to change. > > Thank you very much in advance. > > Yuan Ma > System Engineer In Mailman there is a max message limit, in the general section but there is another message limit in postfix you need to change: http://www.postfix.org/postconf.5.html see: message_size_limit (default: 10240000) regards -- Carlos R. Pasqualini Administraci?n de Redes Facultad de Ciencias de la Alimentaci?n Universidad Nacional de Entre R?os --------------------------------------------------------- Recuerde que ningun Administrador de red le solicitar? el env?o de una contrase?a por correo electr?nico. Si recibe un correo en el que se solicita una contrase?a seguramente se trata de un fraude; avise del mismo a sus administradores de red a la brevedad. --------------------------------------------------------- Facultad de Ciencias de la Alimentaci?n Universidad Nacional de Entre R?os http://www.fcal.uner.edu.ar/ From kirk at silentnomorepublications.com Thu Mar 15 21:36:10 2012 From: kirk at silentnomorepublications.com (Kirk MacKenzie) Date: Thu, 15 Mar 2012 13:36:10 -0700 Subject: [Mailman-Users] Custom Implementation Message-ID: Has anyone created a version of Mailman that integrates into a website's webpages? From johnf at net2000.com.au Sat Mar 17 01:29:09 2012 From: johnf at net2000.com.au (John Fitzsimons) Date: Sat, 17 Mar 2012 11:29:09 +1100 Subject: [Mailman-Users] MAIL FROM envelope header query. In-Reply-To: References: <3.0.6.32.20120310120621.061845e8@127.0.0.1> Message-ID: On Fri, 9 Mar 2012 19:18:53 -0800, Mark Sapiro wrote: >John Fitzsimons wrote: Hi Mark, thank you for your speedy/detailed reply. :-) >>"When Gmane sends messages (posted through the news-to-mail gateway) >>to >>the mailing lists, it uses the subscribed email address as the MAIL >>FROM >>envelope header. If your mailing list software discriminates based >>on >>the MAIL FROM instead of the From: header (the latter is more usual), >>then you may see stuff like that..." >They are telling you that there is a Gmane address which is a member of >your list that is how gmane receives messages posted to your list. Well, I know that that is how it is meant to work BUT the post I asked about shows a "from" address like someone at tormail.net . My mailing list doesn't have anyone with that address on it. >When someone posts to your list on Gmane, Gmane sends that post to >your list with the envelope sender (SMTP MAIL FROM address) equal to >the Gmane address that's a member of your list. That doesn't appear to be happening. >Mailman in turn checks every address found in any of the places listed >in the Defaults.py/mm_cfg.py setting SENDER_HEADERS, and if any of >these is a list member, the is considered to be from first member >address found. Well, I don't know how it can find an address that doesn't appear to be there. :-( >It is not clear to me whether this post was held as a post from a >moderated member or just went to the list. He/she doesn't appear to be a member at all. >If it just went to the list >and you want it to be held, just set the mod flag on the subscribed >Gmane address and it will be held as a post from a moderated member. It doesn't appear to be a subscribed address. >If, on the other hand, you want it treated as a non-member post, you >have to override SENDER_HEADERS in mm_cfg.py. The default setting is >SENDER_HEADERS = ('from', None, 'reply-to', 'sender') >which says places checked in order are the From: header, the envelope >sender, the Reply-To: header and the Sender: header. The None entry in >the above list refers to the envelope sender. If you just want to stop >considering the envelope sender and keep all the others, you would set >SENDER_HEADERS = ('from', 'reply-to', 'sender') >in mm_cfg.py. If you wanted to consider only the From: header, you >could set >SENDER_HEADERS = ('from', ) >in mm_cfg.py (the comma and parens are significant here). >Note that this is a global setting and affects all lists in the >installation. The problem is that this is on a hosted site so I cannot change the main Mailman files. IF I understand things correctly you/Gmane seem to be saying that somewhere in the envelope header is the address of someone on my list. Not necessarily in the 'from', 'reply-to', 'sender' areas. Is that correct ? In any case what does "envelope header" mean ? Does it mean in the sender's header in areas other than 'from', 'reply-to', 'sender' ? In any case it looks like changing things in the SENDER_HEADERS in mm_cfg.py will enable me to better restrict posters to those on my "registered" posters list and/or make it so that posters have to put their "approved" address in eg. the 'from', 'reply-to', 'sender' slots, so to speak. So can I make this change via my GUI in Windows XP ? If you/anyone else here can give me an answer to this question, and give me a "step by step" as to how to change things via windows, it will be appreciated. Regards, John. From mark at msapiro.net Sat Mar 17 03:58:25 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 16 Mar 2012 19:58:25 -0700 Subject: [Mailman-Users] MAIL FROM envelope header query. In-Reply-To: Message-ID: John Fitzsimons wrote: >On Fri, 9 Mar 2012 19:18:53 -0800, Mark Sapiro wrote: > >>They are telling you that there is a Gmane address which is a member of >>your list that is how gmane receives messages posted to your list. > >Well, I know that that is how it is meant to work BUT the post I asked >about shows a "from" address like someone at tormail.net . My mailing >list doesn't have anyone with that address on it. We are not talking here about the From: header in the message. See below. >>When someone posts to your list on Gmane, Gmane sends that post to >>your list with the envelope sender (SMTP MAIL FROM address) equal to >>the Gmane address that's a member of your list. > >That doesn't appear to be happening. Again, see below. [...] >>It is not clear to me whether this post was held as a post from a >>moderated member or just went to the list. > >He/she doesn't appear to be a member at all. Yes, but what happened to the post? Did it go directly to the list or was it held for moderator action for some reason? If the latter, for what reason? >>If it just went to the list >>and you want it to be held, just set the mod flag on the subscribed >>Gmane address and it will be held as a post from a moderated member. > >It doesn't appear to be a subscribed address. I'm talking about the Gmane address that is subscribed to your list, not some address that happened to be in the From: header of the particular message. [...] >The problem is that this is on a hosted site so I cannot change the >main Mailman files. OK. >IF I understand things correctly you/Gmane seem to be saying that >somewhere in the envelope header is the address of someone on my list. >Not necessarily in the 'from', 'reply-to', 'sender' areas. > >Is that correct ? Yes. >In any case what does "envelope header" mean ? Does it mean in the >sender's header in areas other than 'from', 'reply-to', 'sender' ? Imagine for a moment that you are sending a letter by postal mail. The letter is typed on your stationery which has your name and address at the top, and you type the recipient's name and address and the date below that, and then type your message. Your name and address on the paper are analogous to the From: header in an email message. The recipient's name and address and the date on the paper are analogous to the To: and Date: headers in an email message, and the message that you type following these is analogous to the body of an email message. The other headers you may see at the top of an email message are not analogous to things in this paper mail example, but they aren't what we're talking about. The paper letter and the email message are analogous in another way. Neither of them go anywhere until you put them in an envelope and mail them. Just as in the paper postal mail case, the email is sent "in" an envelope and the envelope has a recipient address which may or may not be the same as the To: address in the message and a from or return address which may or may not be the same as the From: address in the message. In the email case, this return address is called the envelope sender. What I and Gmane are telling you is that the envelope sender address is the Gmane address that is a member of your list. As a user or admin of your list, you don't see the envelope that the message came in, you only see the message. If the message should be held for approval, the moderator may see the envelope sender reflected in a Return-Path: header in the admindb moderator interface, but generally, by the time the message is delivered to the list members, any envelope information from the original, incoming message is gone because the message is put in a new envelope to be delivered to the list members. >In any case it looks like changing things in the SENDER_HEADERS in >mm_cfg.py will enable me to better restrict posters to those on my >"registered" posters list and/or make it so that posters have to put >their "approved" address in eg. the 'from', 'reply-to', 'sender' >slots, so to speak. > >So can I make this change via my GUI in Windows XP ? No, you can't make that change through the Mailman web UI. What you need to do is go to the web admin Membership List pages for your list and find the Gmane address that is a member of your list and make sure its "mod" box is checked. That way, any "non-member" posts from Gmane, regardless of who they are From: should be held for moderation and you can accept them or not as you see fit. You said in your original post that your list was "moderated". What does that mean to you? Does it mean all the member's "mod" boxes are checked and Privacy options... -> Sender filters -> default_member_moderation is set to Yes so that new members are also have their mod boxes checked by default, or does it mean something else? Also, what do you mean by "registered" posters? Is this just the list membership, or is it something else? If I knew exactly, I might be able to suggest other things. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From johnf at net2000.com.au Sat Mar 17 04:50:00 2012 From: johnf at net2000.com.au (John Fitzsimons) Date: Sat, 17 Mar 2012 14:50:00 +1100 Subject: [Mailman-Users] MAIL FROM envelope header query. In-Reply-To: References: Message-ID: <8n08m7pinipcfqn2sgq2kh7ov7sdugftua@4ax.com> On Fri, 16 Mar 2012 19:58:25 -0700, Mark Sapiro wrote: >John Fitzsimons wrote: < snip > >Yes, but what happened to the post? Did it go directly to the list or It went to the mailing list and the Gmane newsgroup without me seeing it first. >was it held for moderator action for some reason? If the latter, for >what reason? >>>If it just went to the list >>>and you want it to be held, just set the mod flag on the subscribed >>>Gmane address and it will be held as a post from a moderated member. >>It doesn't appear to be a subscribed address. >I'm talking about the Gmane address that is subscribed to your list, >not some address that happened to be in the From: header of the >particular message. Ah ! Gmane's subscription address ? If I put the mod flag on that then every poster would effectively be "moderated" wouldn't they ? Though your next paragraph suggests that that wouldn't happen. < snip > >What you need to do is go to the web admin Membership List pages for >your list and find the Gmane address that is a member of your list and >make sure its "mod" box is checked. That way, any "non-member" posts >from Gmane, regardless of who they are From: should be held for >moderation and you can accept them or not as you see fit. Okay, so I put the Gmane subscription address as "mod" ? >You said in your original post that your list was "moderated". What >does that mean to you? It means that people not on my mailing list should not be able to have emails go to the mailing list or the Gmane newsgroup. >Does it mean all the member's "mod" boxes are >checked No. >and Privacy options... -> Sender filters -> >default_member_moderation is set to Yes so that new members are also >have their mod boxes checked by default, or does it mean something >else? default_member_moderation is set to "No". I assumed that the "new list member postings" are those people I have okayed to join the mailing list. >Also, what do you mean by "registered" posters? Is this just the >list membership, or is it something else? If I knew exactly, I might >be able to suggest other things. The list membership. Thank you for your help, and explanation. It is slowly making sense to me. Regards, John. From mark at msapiro.net Sat Mar 17 05:23:13 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 16 Mar 2012 21:23:13 -0700 Subject: [Mailman-Users] MAIL FROM envelope header query. In-Reply-To: <8n08m7pinipcfqn2sgq2kh7ov7sdugftua@4ax.com> Message-ID: John Fitzsimons wrote: >On Fri, 16 Mar 2012 19:58:25 -0700, Mark Sapiro wrote: > >>I'm talking about the Gmane address that is subscribed to your list, >>not some address that happened to be in the From: header of the >>particular message. > >Ah ! Gmane's subscription address ? If I put the mod flag on that then >every poster would effectively be "moderated" wouldn't they ? > >Though your next paragraph suggests that that wouldn't happen. Given what you've said about your list configuration, if you set the mod flag on the Gmane subscription address and not on your actual list members you should see that posts via Gmane From: a list member will go directly to the list but posts via Gmane from a non-list-member will be held for moderation. This is because, at least in a default Mailman installation, we look first at the From: header in deciding if the post is from a member and next at the envelope sender. In the case of a member post via Gmane, the From: will have a member address and we will see this as a post from that (unmoderated) member. In the case of a non-member post via Gmane, the From: address will not be a member so we look at the envelope sender which is a member and which now is moderated so the post is held for moderation. >>What you need to do is go to the web admin Membership List pages for >>your list and find the Gmane address that is a member of your list and >>make sure its "mod" box is checked. That way, any "non-member" posts >>from Gmane, regardless of who they are From: should be held for >>moderation and you can accept them or not as you see fit. > >Okay, so I put the Gmane subscription address as "mod" ? I think that will accomplish what you want. Note that if the only "mod" address is the Gmane address, you can if you wish set Privacy options... -> Sender filters -> member_moderation_action to Reject and set member_moderation_notice to something like "Posting to this email list via Gmane is restricted to members of the list." The downside of doing this is "backscatter". I.e. if a spammer posts to your list via Gmane, the From: header probably contains the address of an innocent third party so you don't really want to reject the spam back to the innocent person who knows nothing about it. I would be more inclined to set member_moderation_action to either Hold or Discard, and if Hold, to Discard held messages that I didn't want to accept unless they clearly weren't spam. >>You said in your original post that your list was "moderated". What >>does that mean to you? > >It means that people not on my mailing list should not be able to have >emails go to the mailing list or the Gmane newsgroup. Aaahh.. To me, that is a "closed" list whereas a "moderated" list is one where all posts require approval by a moderator. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From Jan at Bytesmiths.com Sat Mar 17 05:38:22 2012 From: Jan at Bytesmiths.com (Jan Steinman) Date: Fri, 16 Mar 2012 21:38:22 -0700 Subject: [Mailman-Users] Custom Implementation In-Reply-To: References: Message-ID: <4B10DF4C-68D2-4283-AFB1-E19C698E4E2F@Bytesmiths.com> > From: Kirk MacKenzie > > Has anyone created a version of Mailman that integrates into a website's webpages? What do you want to see integrated? It's trivial to have a mailing list sign-up form integrated into a website. This is from http://www.EcoReality.org, a MediaWiki site I modified:
Get our newsletter!
Name:
Email Address:
I can't imagine needing other functions "integrated," but perhaps I simply lack imagination... Regardless, all I did to integrate mailing list sign-up was to "observe" what the Mailman sign-up form was doing, and then I POSTed the same fields to it from a different form. I think it would be fairly easy to get Mailman to do anything you want in a similar manner. Just go to the form that does what you want to integrate, and look at the HTML source, copy, paste, modify, and Bob's your uncle! Or perhaps I totally missed what it was you were asking for. ---------------- When it comes to happiness, money is not as important as, say, good health or good friends or a good marriage. -- Glenn Firebaugh :::: Jan Steinman, EcoReality Co-op :::: From m2spring at springdot.org Wed Mar 21 20:19:56 2012 From: m2spring at springdot.org (Max Spring) Date: Wed, 21 Mar 2012 12:19:56 -0700 Subject: [Mailman-Users] problem with non-member filter Message-ID: <4F6A29DC.4000700@springdot.org> Using Mailman version 2.1.14-1, I'm trying to get notifications from Youtube and Facebook automatically accepted. In Privacy Options -> Sender filters -> accept_these_nonmembers, I configured noreply at youtube.com ^notification.*facebookmail\.com$ ^update.*facebookmail\.com$ But I'm still getting authorization requests for emails from these sources. (generic_nonmember_action is "Hold", but it actually should not matter.) I can't find any other configuration which would be relevant here. What could be the reason? I'm obviously missing something. Thanks! -Max From mark at msapiro.net Thu Mar 22 08:20:46 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 22 Mar 2012 00:20:46 -0700 Subject: [Mailman-Users] problem with non-member filter In-Reply-To: <4F6A29DC.4000700@springdot.org> References: <4F6A29DC.4000700@springdot.org> Message-ID: <4F6AD2CE.5030802@msapiro.net> On 03/21/2012 12:19 PM, Max Spring wrote: > Using Mailman version 2.1.14-1, I'm trying to get notifications from > Youtube and Facebook automatically accepted. > In Privacy Options -> Sender filters -> accept_these_nonmembers, I > configured > > noreply at youtube.com > ^notification.*facebookmail\.com$ > ^update.*facebookmail\.com$ > > But I'm still getting authorization requests for emails from these sources. > (generic_nonmember_action is "Hold", but it actually should not matter.) The *_these_nonmembers addresses and regexps are matched against a single address which may or may not be the From: address of the message. The address used is the one returned by Mailman's Message.get_sender() method and is determined as follows: Return the address considered to be the author of the email. This can return either the From: header, the Sender: header or the envelope header (a.k.a. the unixfrom header). The first non-empty header value found is returned. However the search order is determined by the following: - If mm_cfg.USE_ENVELOPE_SENDER is true, then the search order is Sender:, From:, unixfrom - Otherwise, the search order is From:, Sender:, unixfrom -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From misterbhatt at gmail.com Thu Mar 22 18:36:39 2012 From: misterbhatt at gmail.com (Amit Bhatt) Date: Thu, 22 Mar 2012 23:06:39 +0530 Subject: [Mailman-Users] mailing llist restoration Message-ID: Dear associates, I have shifted my current web account to a new server. i had taken a full backup of the data. When the service provider moved our account to new server, what I have seen that the name of the mailing list is shown but when I am trying to enter in the list or trying to access my admin panel, it is showing like no mailman mailing list publically advertised on sayeverything at sayeverything does it mean that we have lost our mailing list and it's entire data? Can we retrieve at least some data like members or subscribers name so we can put them in the new record? How can we restore our old mailing list. Any help in the above matter would be highly appreciated. Regards, Amit Bhatt From mark at msapiro.net Thu Mar 22 18:59:11 2012 From: mark at msapiro.net (Mark Sapiro) Date: Thu, 22 Mar 2012 10:59:11 -0700 Subject: [Mailman-Users] mailing llist restoration In-Reply-To: References: Message-ID: <4F6B686F.3080700@msapiro.net> On 03/22/2012 10:36 AM, Amit Bhatt wrote: > > I have shifted my current web account to a new server. i had taken a > full backup of the data. When the service provider moved our account > to new server, what I have seen that the name of the mailing list is > shown but when I am trying to enter in the list or trying to access > my admin panel, it is showing like no mailman mailing list publically > advertised on sayeverything at sayeverything See the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From michael.capelle at blindtech-list.info Fri Mar 23 14:21:23 2012 From: michael.capelle at blindtech-list.info (Michael Capelle) Date: Fri, 23 Mar 2012 08:21:23 -0500 Subject: [Mailman-Users] removing a mailman list. Message-ID: Hello. We are using mailman version 2.1.11. where is the rmlist file? or, can someone give me instructions on how to remove a list? From mark at msapiro.net Fri Mar 23 20:45:43 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 23 Mar 2012 12:45:43 -0700 Subject: [Mailman-Users] removing a mailman list. In-Reply-To: Message-ID: Michael Capelle wrote: >Hello. >We are using mailman version 2.1.11. >where is the rmlist file? >or, can someone give me instructions on how to remove a list? It is normally at ~mailman/bin/rmlist which, in a default source install is /usr/local/mailman/bin/rmlist. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at list.org Sat Mar 24 03:00:13 2012 From: barry at list.org (Barry Warsaw) Date: Fri, 23 Mar 2012 22:00:13 -0400 Subject: [Mailman-Users] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1 Message-ID: <20120323220013.0b1c88a8@resist.wooz.org> Hello Mailman enthusiasts! Use the key, unlock the door See what your fate might have in store... Building on the excitement and amazing progress at our sprints at Pycon 2012, I am very happy to announce the availability of GNU Mailman 3.0 beta 1, code named "The Twilight Zone". After nearly four years of design, discussion, and development, we can now see a clear path to a final release. I thank everyone who has helped us get here, by participating on the mailman-developers mailing list, the bug tracker, in private conversations, and code contributions, both to Mailman itself and all the great projects it builds on. Special thanks go to our recent sprinters, Andrea Crotti, Florian Fuchs, Toshio Kuratomi, Daniel Mizyrycki, Terri Oda, Mark Sapiro, and Stephen Turnbull. While you do want to be careful using 3.0b1 in production, I hope that you will get a copy of the code and run it through its paces. Several people are known to be running real mailing lists using the code base. At this point, the feature set is frozen, as is the database schema. We'll use the schema migration machinery to do any schema changes from here to the final release. I'm also ecstatic to announce the first alpha release of Postorius, our new official name for the Django-based Mailman 3 web user interface. The name was suggested by core developer Florian Fuchs in honor of a bass hero of both of ours, Jaco Pastorius. Postorius 1.0 alpha 1 is code named "Space Farm". Postorius is in large part based on the great work of Anna Senarclens de Grancy and Benedict Stein who worked on a new Mailman web ui during their Google Summer of Code projects in 2010 and 2011. This alpha version connects to Mailman 3.0's REST API to add and edit lists and domains, as well as to moderate messages. It uses Django's auth app and Mozilla's BrowserID for authentication (a list of the current features is contained in the NEWS file of the package). Apart from the current state there are many more ideas left for the upcoming releases. There is a great team working on the web ui as well as on a new archiver, so stay tuned, and come join us! You can download GNU Mailman 3.0b1 from Launchpad or the Python Cheeseshop: https://launchpad.net/mailman http://pypi.python.org/pypi/mailman Postorius 1.0a1 is available from Launchpad and Cheeseshop as well: https://launchpad.net/postorius http://pypi.python.org/pypi/postorius The GNU Mailman documentation is available online at: http://packages.python.org/mailman/ You can submit bug reports to GNU Mailman and Postorius at: https://bugs.launchpad.net/mailman https://bugs.launchpad.net/postorius GNU Mailman and Postorius are released under the GNU General Public License version 3 or later. Enjoy! -Barry (On behalf of the entire GNU Mailman development team) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From hopkinsju at umsystem.edu Sat Mar 24 03:05:12 2012 From: hopkinsju at umsystem.edu (Hopkins, Justin) Date: Sat, 24 Mar 2012 02:05:12 +0000 Subject: [Mailman-Users] [Mailman-Developers] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1 In-Reply-To: <20120323220013.0b1c88a8@resist.wooz.org> References: <20120323220013.0b1c88a8@resist.wooz.org> Message-ID: <3823422B-314B-4EC1-9803-F7E19A852D03@umsystem.edu> On Mar 23, 2012, at 9:00 PM, "Barry Warsaw" wrote: > Use the key, unlock the door > See what your fate might have in store... Everybody walk the dinosaur! Seriously though, this is amazing news! Thanks to everyone who helped work on this. I can't wait to give it a try! Cheers, Justin From stephen at xemacs.org Sat Mar 24 16:15:14 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Sat, 24 Mar 2012 16:15:14 +0100 Subject: [Mailman-Users] [Mailman-Developers] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1 In-Reply-To: <20120323220013.0b1c88a8@resist.wooz.org> References: <20120323220013.0b1c88a8@resist.wooz.org> Message-ID: On Sat, Mar 24, 2012 at 3:00 AM, Barry Warsaw wrote: > Hello Mailman enthusiasts! > I'm also ecstatic to announce the first alpha release of Postorius, our new > official name for the Django-based Mailman 3 web user interface. ?The name was > suggested by core developer Florian Fuchs in honor of a bass hero of both of > ours, Jaco Pastorius. ?Postorius 1.0 alpha 1 is code named "Space Farm". I can't wait for "Gene Simmons" and "Tal Wilkenfeld"! :-) From mark at msapiro.net Mon Mar 26 03:35:47 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sun, 25 Mar 2012 18:35:47 -0700 Subject: [Mailman-Users] I18n help needed for Mailman 2.1.15 release. Message-ID: <4F6FC7F3.80502@msapiro.net> Now that Mailman 3 is in beta, I would like to spend more time working on it. To that end, I am planning to release Mailman 2.1.15 soon. This release fixes quite a few bugs and adds some needed new features. See the NEWS file at for details. This release contains several new message strings and a template modification, none of which have been translated. So, if you are a language champion or just an interested user or anything between, I need your help. There is a new feature to request a password reminder from the private archive login page. This necessitated an addition to templates//private.html. I have added the new information to all the templates, but it is in English. If you can help translate this into your language, get the private.html template from your language directory at , and send me a translated template. Also, all the message catalogs have been merged from the new mailman.pot and there are fuzzy translations and untranslated strings as a result. If you can help with fixing these, get the current LC_MESSAGES/mailman.po file from your language directory at and send me an updated version. If you can help with this, please do it before the end of April. If you want to help but aren't sure what to do, let me know and I'll try to help you. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From misterbhatt at gmail.com Mon Mar 26 06:22:56 2012 From: misterbhatt at gmail.com (Amit Bhatt) Date: Mon, 26 Mar 2012 09:52:56 +0530 Subject: [Mailman-Users] Login problem Message-ID: I am not been able to login to my admin interface of mailing list: The error I am getting is: Authantication faile. "You must have cookies enabled in your browser" But I am wonderred how I am receiving this message for last couple of days while cookies are already enabled. Regards, Amit Bhatt From b-bowers at cox.net Mon Mar 26 09:52:20 2012 From: b-bowers at cox.net (Bob Bowers) Date: Mon, 26 Mar 2012 00:52:20 -0700 Subject: [Mailman-Users] Subscribing by Email Command AND Including Name Message-ID: <81B4E0F747C34803B344834168241822@BobPC> Am I missing something? Is it possible to send a subscription request to a mail list WITH the name of the subscriber? This is possible in ?Mass Subscription? but I do not see a place to include a name in a command string by email. I would like to have my list open for subscription, however I want the names of subscribers in the list. From mark at msapiro.net Mon Mar 26 16:58:53 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 26 Mar 2012 07:58:53 -0700 Subject: [Mailman-Users] Login problem In-Reply-To: Message-ID: Amit Bhatt wrote: >I am not been able to login to my admin interface of mailing list: >The error I am getting is: Authantication faile. >"You must have cookies enabled in your browser" > >But I am wonderred how I am receiving this message for last couple of days while cookies are already enabled. The notation about cookies is always on the login page and only means that if your login is accepted but you don't have cookies enabled, you will need to reauthenticate with every page request or post. Your problem appears to be that you are not entering the correct password. 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 Mon Mar 26 17:59:05 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 26 Mar 2012 08:59:05 -0700 Subject: [Mailman-Users] Subscribing by Email Command AND Including Name In-Reply-To: <81B4E0F747C34803B344834168241822@BobPC> References: <81B4E0F747C34803B344834168241822@BobPC> Message-ID: <4F709249.6060603@msapiro.net> On 3/26/2012 12:52 AM, Bob Bowers wrote: > Am I missing something? Is it possible to send a subscription request > to a mail list WITH the name of the subscriber? This is possible in > ?Mass Subscription? but I do not see a place to include a name in a > command string by email. I would like to have my list open for > subscription, however I want the names of subscribers in the list. It depends. If the user sends email to the list-join or list-subscribe address or to list-request with a plain subscribe command, the user's name will be taken from the From: header of the email. I.e., an email From: My Name To: list.join at example.net is a request to subscribe me at example.com with name 'My Name'. On the other hand, if you send a subscribe command with the address= option to the list-request address in order to subscribe an address other than the From: header address, there is no way to specify a user name with that command. You can send, e.g., the command subscribe mypasswd digest without the address= option to specify a password and/or (no)digest, and as long as it doesn't have address=, both name (if any) and address will be taken form the From: header. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From barry at python.org Mon Mar 26 19:39:51 2012 From: barry at python.org (Barry Warsaw) Date: Mon, 26 Mar 2012 13:39:51 -0400 Subject: [Mailman-Users] [Mailman-Developers] RELEASED: GNU Mailman 3.0 beta 1 and Postorius 1.0 alpha 1 In-Reply-To: <4F708733.2040600@gmail.com> References: <20120323220013.0b1c88a8@resist.wooz.org> <4F708733.2040600@gmail.com> Message-ID: <20120326133951.34c0dc9d@rivendell> On Mar 26, 2012, at 04:11 PM, Andrea Crotti wrote: >Great news Barry, but just one thing, I checked now on list.org and the GNU >Mailman website and there is no mention of this release.. is that on purpose? Not really. The server moved recently and my keys hadn't been installed. Looks like they still aren't, so let me ping the admins. -Barry -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: not available URL: From misterbhatt at gmail.com Tue Mar 27 06:25:23 2012 From: misterbhatt at gmail.com (Amit Bhatt) Date: Tue, 27 Mar 2012 09:55:23 +0530 Subject: [Mailman-Users] Regarding New mailman 3.0 & Postorius... Message-ID: <4975094256A241898619A49EC4F6D3FC@farhorizonindia.net> Hello, I have a few questions: What is the differentce between Postorius and Mailman, which one is better? How can we upgrade the Mailman version 2.14 to new 3.0? Regards, Amit Bhatt From mark at msapiro.net Tue Mar 27 07:12:41 2012 From: mark at msapiro.net (Mark Sapiro) Date: Mon, 26 Mar 2012 22:12:41 -0700 Subject: [Mailman-Users] Regarding New mailman 3.0 & Postorius... In-Reply-To: <4975094256A241898619A49EC4F6D3FC@farhorizonindia.net> Message-ID: Amit Bhatt wrote: > >What is the differentce between Postorius and Mailman, which one is better? They are different things. Mailman 3 is the core mail list manager. Postorius is the web UI component. >How can we upgrade the Mailman version 2.14 to new 3.0? We haven't yet got a clear migration path. At this point, Mailman 3 can be used in a test environment (or production if you're brave) with new lists. Migrating existing 2.1 lists will definitely need to be handled, but it isn't there yet. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From stephen at xemacs.org Tue Mar 27 07:21:46 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Tue, 27 Mar 2012 14:21:46 +0900 Subject: [Mailman-Users] Regarding New mailman 3.0 & Postorius... In-Reply-To: <4975094256A241898619A49EC4F6D3FC@farhorizonindia.net> References: <4975094256A241898619A49EC4F6D3FC@farhorizonindia.net> Message-ID: On Tue, Mar 27, 2012 at 1:25 PM, Amit Bhatt wrote: > What is the differentce between Postorius and Mailman, They're different but related applications. Mailman handles mail and provides an API for administration, including user management. Postorius provides a web UI for administration. > which one is better? "Both together." > How can we upgrade the Mailman version 2.14 to new 3.0? If you have to ask, Mailman 3 is not ready for you. For one thing, there is no Mailman 3.0 yet; it's still in pre-release testing. From leo at oneko.de Tue Mar 27 14:55:02 2012 From: leo at oneko.de (Leo Hackstein) Date: Tue, 27 Mar 2012 14:55:02 +0200 Subject: [Mailman-Users] Batch Add/Remove Users via Mail Message-ID: <4F71B8A6.4040109@oneko.de> Hello Mailman-Users! I am tasked to write a script that adds multiple users to a mailing list. The List of users is generated from a different database. Unfortunately, the script will not be running on the same machine as the mailing list is hosted, so as I understand it, I cant use the scripts in "/usr/lib/mailman/bin" (or wherever mailman resides on that machine). Now I thoght I will just send mailman a mail with lines "subscribe $password address=$address" but it seems like $password is in this case the password for the user of $address. So in theory I could write "subscribe address=$address", but I have no idea what exactly will happen then. I myself am not administrator on the mailing list, so I can't experiment. Are the users automatically subscribed to the mailing list, if the mail with the subscribe-statements is sent from a list administrator? How does the administrator authenticate, then? Are all users that get subscribed in that way getting a confirmation mail where they have to approve their subscription? That would be OK, I think. Does the list administrator have to manually approve the subscriptions again, if they are sent with a mail? Are there better ideas? Using the Web Interface is not an option (the web interface is used at the moment, but as we need the script anyway to generate the user list, it would be very convenient if the script could also add the new users automatically). If you know of a script (ideally written in perl) that uses some kind of http agent to access the web interface to add/remove users, that would be cool, too. - Leo Hackstein From mark at msapiro.net Tue Mar 27 21:19:16 2012 From: mark at msapiro.net (Mark Sapiro) Date: Tue, 27 Mar 2012 12:19:16 -0700 Subject: [Mailman-Users] Batch Add/Remove Users via Mail In-Reply-To: <4F71B8A6.4040109@oneko.de> Message-ID: Leo Hackstein wrote: > >I am tasked to write a script that adds multiple users to a mailing >list. The List of users is generated from a different database. > >Unfortunately, the script will not be running on the same machine as the >mailing list is hosted, so as I understand it, I cant use the scripts in >"/usr/lib/mailman/bin" (or wherever mailman resides on that machine). Correct. >Now I thoght I will just send mailman a mail with lines >"subscribe $password address=$address" >but it seems like $password is in this case the password for the user of >$address. It is the password to be generated for the newly subscribed user. >So in theory I could write >"subscribe address=$address", >but I have no idea what exactly will happen then. I myself am not >administrator on the mailing list, so I can't experiment. That is a request to subscribe $address with whatever the digest default is for the list and an autogenerated password. What happens after that is a function of the list's subscribe_policy, but in the most usual cases, it results in a confirmation request email being sent to $address. >Are the users automatically subscribed to the mailing list, if the mail >with the subscribe-statements is sent from a list administrator? How >does the administrator authenticate, then? No they are not. There is no list admin authentication available for this process. The subscribe command with address= option is treated the same regardless of who sends it. >Are all users that get subscribed in that way getting a confirmation >mail where they have to approve their subscription? That would be OK, I >think. As I indicated above, that's the normal case, but it depends on the list's subscribe_policy. >Does the list administrator have to manually approve the subscriptions >again, if they are sent with a mail? Again, that depends on subscribe_policy. Here are the possiblities for subscribe_policy: None (only available if ALLOW_OPEN_SUBSCRIBE is set to Yes in mm_cfg.py) - User is subscribed. Confirm - User is send confirmation request and is subscribed upon confirmation Require approval - No mail to user. Owner or Moderator must approve. Confirm and approve - Confirmation email. After confirmation Owner or Moderator must approve. >Are there better ideas? > >Using the Web Interface is not an option (the web interface is used at >the moment, but as we need the script anyway to generate the user list, >it would be very convenient if the script could also add the new users >automatically). >If you know of a script (ideally written in perl) that uses some kind of >http agent to access the web interface to add/remove users, that would >be cool, too. See the latter portion of the FAQ at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From smtgv at noisynotes.com Wed Mar 28 14:34:18 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 08:34:18 -0400 Subject: [Mailman-Users] Problem creating mailing lists via web interface in 2.1.11 Message-ID: It works just fine if I log in as root and use newlist, but if I try to create a new list via the web admin interface, two things happen. First, I get an error, whose text I do not have in front of me (I know, I know, first rule of error reporting, report the exact error, but you probably won't need it when I finish my explanation), and second, the aliases file is not updated, so if a subscriber tries to send a message to the list, they receive an auto-reply telling them "user unknown in virtual mailbox table". My question is, why doesn't the web interface create new list feature update the aliases file? Is this a bug or a feature, or is there something I should put into mm_cfg.py to enable this, similar to owners-may-delete-their-own-lists? Thanks in advance. From stephen at xemacs.org Wed Mar 28 18:52:45 2012 From: stephen at xemacs.org (Stephen J. Turnbull) Date: Thu, 29 Mar 2012 01:52:45 +0900 Subject: [Mailman-Users] Problem creating mailing lists via web interface in 2.1.11 In-Reply-To: References: Message-ID: On Wed, Mar 28, 2012 at 9:34 PM, Steve Matzura wrote: > "user unknown in virtual mailbox table". My question is, why doesn't > the web interface create new list feature update the aliases file? What aliases file? Exim, for example, doesn't need one at all. There are many MTAs, there are many different ways to configure them to deliver to lists. > Is this a bug or a feature, It's a missing feature in your MTA. :-) As I wrote, there are MTAs that can be configured to automatically deliver to mailing lists (eg, Exim is told to look for a $LIST.cfg file, and if that is found, it delivers to "| mailman post $LIST" or something like that). > or is there something I should put into > mm_cfg.py to enable this, similar to > owners-may-delete-their-own-lists? We likely can help you, but you'll need to tell us exactly what MTA you use, and how it's currently configured. If you are using a OS-distro-provided Mailman, tell us what distro and the full version number of the Mailman package. If you built from source, tell us that. From mark at msapiro.net Wed Mar 28 18:52:54 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 09:52:54 -0700 Subject: [Mailman-Users] Problem creating mailing lists via web interface in2.1.11 In-Reply-To: Message-ID: Steve Matzura wrote: >It works just fine if I log in as root and use newlist, but if I try >to create a new list via the web admin interface, two things happen. >First, I get an error, whose text I do not have in front of me (I >know, I know, first rule of error reporting, report the exact error, >but you probably won't need it when I finish my explanation), Wrong. >and >second, the aliases file is not updated, so if a subscriber tries to >send a message to the list, they receive an auto-reply telling them >"user unknown in virtual mailbox table". My question is, why doesn't >the web interface create new list feature update the aliases file? Is >this a bug or a feature, or is there something I should put into >mm_cfg.py to enable this, similar to >owners-may-delete-their-own-lists? If bin/newlist updates the aliases, web create should too, so clearly this has something to do with the error. If the list is created and the only problem is that aliases aren't updated, it could be a permissions issue. Is Mailman's cgi-bin/create wrapper group 'mailman' and SETGID and does group 'mailman' have write permission on the aliases? What is the error? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Wed Mar 28 21:28:27 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 12:28:27 -0700 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: Message-ID: Mark Sapiro wrote: >Steve Matzura wrote: > >>and >>second, the aliases file is not updated, so if a subscriber tries to >>send a message to the list, they receive an auto-reply telling them >>"user unknown in virtual mailbox table". My question is, why doesn't >>the web interface create new list feature update the aliases file? Is >>this a bug or a feature, or is there something I should put into >>mm_cfg.py to enable this, similar to >>owners-may-delete-their-own-lists? > > >If bin/newlist updates the aliases, web create should too, so clearly >this has something to do with the error. > >If the list is created and the only problem is that aliases aren't >updated, it could be a permissions issue. Is Mailman's cgi-bin/create >wrapper group 'mailman' and SETGID and does group 'mailman' have write >permission on the aliases? Also, the "user unknown in virtual mailbox table" error indicates the list domain is a virtual domain. If the issue is that Mailman's data/aliases is updated, but data/virtual-mailman is not, the problem is that the email host_name for the list is not in POSTFIX_STYLE_VIRTUAL_DOMAINS. For a web create, the host_name is determined by taking the web host from the URL used to go to the create page and looking it up in the VIRTUAL_HOSTS dictionary (basically your add_virtualhost entries) and getting the host name from there. But, as Stephen suggests, don't make us guess. Give us all the information. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From smtgv at noisynotes.com Wed Mar 28 21:22:20 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 15:22:20 -0400 Subject: [Mailman-Users] Problem creating mailing lists via web interface in 2.1.11 In-Reply-To: References: Message-ID: The MTA is postfix. The file in question is /var/lib/mailman/data/aliases which, according to what I've read, is created from aliases.db. The interesting thing is, virtual-mailman *is* updated correctly from virtual-mailman.db while aliases is not. Mailman was installed long before I got here, but I'm assuming it was installed via the standard package installer when Ubuntu was originally built a few years ago. I also recognize I'm not running the latest Ubuntu or Mailman. Here's the perms on those four files: -rw-rw---- 1 root list 6725 2012-03-28 19:07 aliases -rw-rw---- 1 list list 12288 2012-03-28 19:07 aliases.db -rw-rw---- 1 root list 5830 2012-03-28 19:07 virtual-mailman -rw-r----- 1 root list 12288 2012-03-28 19:07 virtual-mailman.db On Thu, 29 Mar 2012 01:52:45 +0900, you wrote: >On Wed, Mar 28, 2012 at 9:34 PM, Steve Matzura wrote: > >> "user unknown in virtual mailbox table". My question is, why doesn't >> the web interface create new list feature update the aliases file? > >What aliases file? Exim, for example, doesn't need one at all. There >are many MTAs, there are many different ways to configure them to >deliver to lists. > >> Is this a bug or a feature, > >It's a missing feature in your MTA. :-) As I wrote, there are MTAs >that can be configured to automatically deliver to mailing lists (eg, >Exim is told to look for a $LIST.cfg file, and if that is found, it >delivers to "| mailman post $LIST" or something like that). > >> or is there something I should put into >> mm_cfg.py to enable this, similar to >> owners-may-delete-their-own-lists? > >We likely can help you, but you'll need to tell us exactly what MTA >you use, and how it's currently configured. If you are using a >OS-distro-provided Mailman, tell us what distro and the full version >number of the Mailman package. If you built from source, tell us >that. From mark at msapiro.net Wed Mar 28 21:46:48 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 12:46:48 -0700 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in 2.1.11 In-Reply-To: Message-ID: Steve Matzura wrote: >The MTA is postfix. The file in question is >/var/lib/mailman/data/aliases which, according to what I've read, is >created from aliases.db. The other way around. >The interesting thing is, virtual-mailman >*is* updated correctly from virtual-mailman.db while aliases is not. You have it backwards. Mailman writes aliases and virtual-mailman and then calls postalias and postmap to update the .db files from the text files. Postfix uses the .db files even though the extensions are not mentioned in main.cf. You need to 'chmod 660 /var/lib/mailman/data/virtual-mailman.db' It must be writable by the 'list group or it can't be updated by the web server running the create CGI. >Mailman was installed long before I got here, but I'm assuming it was >installed via the standard package installer when Ubuntu was >originally built a few years ago. I also recognize I'm not running the >latest Ubuntu or Mailman. Also, see the FAQ at . >Here's the perms on those four files: > >-rw-rw---- 1 root list 6725 2012-03-28 19:07 aliases >-rw-rw---- 1 list list 12288 2012-03-28 19:07 aliases.db >-rw-rw---- 1 root list 5830 2012-03-28 19:07 virtual-mailman >-rw-r----- 1 root list 12288 2012-03-28 19:07 virtual-mailman.db -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From smtgv at noisynotes.com Wed Mar 28 22:43:05 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 16:43:05 -0400 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: References: Message-ID: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> It would *never* be in my best interest not to give you all the info. The problem is, I don't know exactly what info you need or want, and what would be superfluous. Let's see if I can provide more below. Anything I've omitted, just ask and it shall be yours for the knowing. On Wed, 28 Mar 2012 12:28:27 -0700, you wrote: >Mark Sapiro wrote: > >>Steve Matzura wrote: >> >>>and >>>second, the aliases file is not updated, so if a subscriber tries to >>>send a message to the list, they receive an auto-reply telling them >>>"user unknown in virtual mailbox table". My question is, why doesn't >>>the web interface create new list feature update the aliases file? Is >>>this a bug or a feature, or is there something I should put into >>>mm_cfg.py to enable this, similar to >>>owners-may-delete-their-own-lists? >> >> >>If bin/newlist updates the aliases, web create should too, so clearly >>this has something to do with the error. >> >>If the list is created and the only problem is that aliases aren't >>updated, it could be a permissions issue. Is Mailman's cgi-bin/create >>wrapper group 'mailman' and SETGID and does group 'mailman' have write >>permission on the aliases? In case it went by and you didn't see it, here are the perms on those four files in /var/lib/mailman/data: -rw-rw---- 1 root list 6725 2012-03-28 19:07 aliases -rw-rw---- 1 list list 12288 2012-03-28 19:07 aliases.db -rw-rw---- 1 root list 5830 2012-03-28 19:07 virtual-mailman -rw-r----- 1 root list 12288 2012-03-28 19:07 virtual-mailman.db > >Also, the "user unknown in virtual mailbox table" error indicates the >list domain is a virtual domain. If the issue is that Mailman's >data/aliases is updated, but data/virtual-mailman is not, the problem >is that the email host_name for the list is not in >POSTFIX_STYLE_VIRTUAL_DOMAINS. For a web create, the host_name is >determined by taking the web host from the URL used to go to the >create page and looking it up in the VIRTUAL_HOSTS dictionary That would be www.theglobalvoice.info with the additional mailman suffix string, of course. I tried putting add_virtualhost in mm_cfg.py, but all that did was generate an error saying I'd found a bug! Obviously that was the wrong thing to do, so I removed it, and now we're back to the "unknown virtual host" error on the web create form. >(basically your add_virtualhost entries) and getting the host name >from there. > >But, as Stephen suggests, don't make us guess. Give us all the >information. From smtgv at noisynotes.com Wed Mar 28 22:51:56 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 16:51:56 -0400 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in 2.1.11 In-Reply-To: References: Message-ID: <3cu6n7pgemik1tttdrtpkdmj9o41r7cqvg@4ax.com> On Wed, 28 Mar 2012 12:46:48 -0700, you wrote: >You need to 'chmod 660 /var/lib/mailman/data/virtual-mailman.db' It >must be writable by the 'list group or it can't be updated by the web >server running the create CGI. I did that and am still receiving the unknown virtual host error when creating the list from the Web interface. From lstone19 at stonejongleux.com Wed Mar 28 23:24:07 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Wed, 28 Mar 2012 16:24:07 -0500 (CDT) Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> References: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> Message-ID: On Wed, 28 Mar 2012, Steve Matzura wrote: > It would *never* be in my best interest not to give you all the info. > The problem is, I don't know exactly what info you need or want, and > what would be superfluous. Let's see if I can provide more below. > Anything I've omitted, just ask and it shall be yours for the knowing. How about the error message you get when you try to create a list via the web interface. The one that you assumed we would somehow all know without you telling us (having never had an error when creating a list or if I did, not in recent years, I haven't the slightest clue what sort of error message you might have recieved). It seems rather likely that the error you received dealt with alias creation which you seem to want to think of as a second unrelated problem. I'd strongly suggest you start over and provide all relevant information in one post so we don't have to go through several messages to find the information you've dribbled out to us in multiple messages. -- Larry Stone lstone19 at stonejongleux.com From smtgv at noisynotes.com Wed Mar 28 23:40:56 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 17:40:56 -0400 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: References: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> Message-ID: <0017n75jh92reoroeu7rir9k3l1jpbbeg2@4ax.com> On Wed, 28 Mar 2012 16:24:07 -0500 (CDT), you wrote: >On Wed, 28 Mar 2012, Steve Matzura wrote: > >> It would *never* be in my best interest not to give you all the info. >> The problem is, I don't know exactly what info you need or want, and >> what would be superfluous. Let's see if I can provide more below. >> Anything I've omitted, just ask and it shall be yours for the knowing. > >How about the error message you get when you try to create a list via the >web interface. The one that you assumed we would somehow all know without >you telling us (having never had an error when creating a list or if I >did, not in recent years, I haven't the slightest clue what sort of error >message you might have recieved). It seems rather likely that the error >you received dealt with alias creation which you seem to want to think of >as a second unrelated problem. Error already reported in a previous message, but here's the Reader's Digest version. After going through the process of creating a new list via the Web interface, the error message "unknown virtual host" is given, and no mailing list is created. >I'd strongly suggest you start over and provide all relevant information >in one post so we don't have to go through several messages to find the >information you've dribbled out to us in multiple messages. What's relevant? As previously stated, if I knew all the info to provide, I would have done so in the first place. I've since provided everything I know about what's going on when I try to create a list. The real problem here is, I know just enough about Mailman to be dangerous, so before I get dangerous and break something even further than it's already broken, I ask questions. If I provide insufficient information for you to help solve my problem, it's totally and completely unintentional. The expression "I don't know what I don't know" comes to mind. From mark at msapiro.net Wed Mar 28 23:55:54 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 14:55:54 -0700 Subject: [Mailman-Users] Problem creating mailing lists via webinterfacein2.1.11 In-Reply-To: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> Message-ID: Steve Matzura wrote: > >That would be www.theglobalvoice.info with the additional mailman >suffix string, of course. I tried putting add_virtualhost in >mm_cfg.py, but all that did was generate an error saying I'd found a >bug! Obviously that was the wrong thing to do, so I removed it, and >now we're back to the "unknown virtual host" error on the web create >form. OK. If I understand, you attempt to create a list from the web UI and you get an error "Unknown virtual host: www.theglobalvoice.info". This means two things: 1) the list was not created so, of course, no aliases were created for it, and 2) the host www.theglobalvoice.info is not a key in the VIRTUAL_HOSTS dictionary which means there is no add_virtualhost('www.theglobalvoice.info', 'whatever.the.email.host.is') entry in mm_cfg.py. So what add_virtualhost() did you put in mm_cfg.py? What is in Mailman's error log corresponding to the "we hit a bug"? -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From lstone19 at stonejongleux.com Thu Mar 29 01:19:29 2012 From: lstone19 at stonejongleux.com (Larry Stone) Date: Wed, 28 Mar 2012 18:19:29 -0500 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: <0017n75jh92reoroeu7rir9k3l1jpbbeg2@4ax.com> References: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> <0017n75jh92reoroeu7rir9k3l1jpbbeg2@4ax.com> Message-ID: <20C774FA-26B5-425D-AF04-8DC76BD7ECDF@stonejongleux.com> On Mar 28, 2012, at 4:40 PM, Steve Matzura wrote: > On Wed, 28 Mar 2012 16:24:07 -0500 (CDT), you wrote: > >>> >>> >> >> How about the error message you get when you try to create a list via the >> web interface. The one that you assumed we would somehow all know without >> you telling us (having never had an error when creating a list or if I >> did, not in recent years, I haven't the slightest clue what sort of error >> message you might have recieved). It seems rather likely that the error >> you received dealt with alias creation which you seem to want to think of >> as a second unrelated problem. > > Error already reported in a previous message, but here's the Reader's > Digest version. After going through the process of creating a new list > via the Web interface, the error message "unknown virtual host" is > given, and no mailing list is created. > Just to show you how confused this became, I thought "unknown virtual host" was the error being returned to someone trying to post. I do not recall you ever saying that was the error the web interface was returning. -- Larry Stone lstone19 at stonejongleux.com http://www.stonejongleux.com/ From smtgv at noisynotes.com Thu Mar 29 01:54:17 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 19:54:17 -0400 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: <20C774FA-26B5-425D-AF04-8DC76BD7ECDF@stonejongleux.com> References: <99s6n796mfjfu4ipl0cv7vlejmms85bo6j@4ax.com> <0017n75jh92reoroeu7rir9k3l1jpbbeg2@4ax.com> <20C774FA-26B5-425D-AF04-8DC76BD7ECDF@stonejongleux.com> Message-ID: I've obviously bunged this up badly. Now here it is, all correct and properly assigned to each half of the problem: When creating the list admin at theglobalvoice.info, "unknown virtual host" is the error, but some way, somehow, the list gets partially created. If I send a message to that partially created list, Mailman sends back a message of undeliverability with this error text: Remote host said: 550 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table I looked in postfix.cf and discovered the virtual host name is really patronus.theglobalvoice.info, which may have something to do with why the Web create doesn't work, but 'newlist' does. On Wed, 28 Mar 2012 18:19:29 -0500, you wrote: > >On Mar 28, 2012, at 4:40 PM, Steve Matzura wrote: > >> On Wed, 28 Mar 2012 16:24:07 -0500 (CDT), you wrote: >> >>>> >>>> >>> >>> How about the error message you get when you try to create a list via the >>> web interface. The one that you assumed we would somehow all know without >>> you telling us (having never had an error when creating a list or if I >>> did, not in recent years, I haven't the slightest clue what sort of error >>> message you might have recieved). It seems rather likely that the error >>> you received dealt with alias creation which you seem to want to think of >>> as a second unrelated problem. >> >> Error already reported in a previous message, but here's the Reader's >> Digest version. After going through the process of creating a new list >> via the Web interface, the error message "unknown virtual host" is >> given, and no mailing list is created. >> > >Just to show you how confused this became, I thought "unknown virtual host" was the error being returned to someone trying to post. I do not recall you ever saying that was the error the web interface was returning. From mark at msapiro.net Thu Mar 29 02:28:25 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 17:28:25 -0700 Subject: [Mailman-Users] Problem creating mailing lists via webinterfacein2.1.11 In-Reply-To: Message-ID: Steve Matzura wrote: > >When creating the list admin at theglobalvoice.info, "unknown virtual >host" is the error, but some way, somehow, the list gets partially >created. How do you know this? Is the list visible in the web UI? In bin/list_lists? >If I send a message to that partially created list, Mailman sends back >a message of undeliverability with this error text: > >Remote host said: 550 5.1.1 : Recipient >address rejected: User unknown in virtual mailbox table > >I looked in postfix.cf and discovered the virtual host name is really >patronus.theglobalvoice.info, which may have something to do with why >the Web create doesn't work, but 'newlist' does. It may, but I can't say with the information I have. I'd need to see 'postconf -n' but I don't think that's necessary. I think the issue is the aliases were never created because of the error in the create CGI. Do you have add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') or perhaps the equivalent DEFAULT_URL_HOST = 'www.theglobalvoice.info' DEFAULT_EMAIL_HOST = 'theglobalvoice.info' followed by add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) in mm_cfg.py. Please answer this specific question and also the other specific questions I asked in my reply at . -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From smtgv at noisynotes.com Thu Mar 29 03:48:35 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Wed, 28 Mar 2012 21:48:35 -0400 Subject: [Mailman-Users] Problem creating mailing lists via web interface in2.1.11 In-Reply-To: References: Message-ID: On Wed, 28 Mar 2012 17:28:25 -0700, you wrote: >How do you know this? Is the list visible in the web UI? In >bin/list_lists? Neither. >It may, but I can't say with the information I have. I'd need to see >'postconf -n' but I don't think that's necessary. I think the issue is >the aliases were never created because of the error in the create CGI. > >Do you have > >add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') > >or perhaps the equivalent > >DEFAULT_URL_HOST = 'www.theglobalvoice.info' >DEFAULT_EMAIL_HOST = 'theglobalvoice.info' > >followed by >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) > >in mm_cfg.py. The line: add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') did not exist in mm_cfg.py until now. I added it directly in front of: add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) I then saved mm_cfg.py and restarted mailman with `mailmanctl restart' and attempted to create the mailing list. IT WORKED! It showed up in all four placess-output from list_lists, as the last stanza in virtual-mailman, as the last stanza in aliases, and in the Web UI! I thank you for bearing with me, I apologize for insufficient detailed error reporting, but with your collective assistance, it's now running correctly. What is the purpose of the line I added? Does it "point" www.theglobalvoice.info to the real domain of theglobalvoice.info since that's where all the email list addresses go? If that's the case, why did the Web UI create not work? Does it carry the "www" subdomain with it in the underlying commands that actually do the list creation? If so, then that explains everything to me. If I'm totally off the mark, then I need to go back to school! To recap: I changed permissions on the aliases and virtual-mailman db files to +660 (-rw-rw----). I added the line: add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') to /etc/mailman/mm_cfg.py directly in front of the line: add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) and saved mm_cfg.py. I restarted Mailman wit `/var/lib/mailman/bin/mailmanctl restart'. To test, I created a mailing list with the Web UI and checked for its existence in list_lists and in the aliases and virtual-mailman files in /var/lib/mailman/data. Everything checks out and the new mailing list is operating correctly. Did I forget to check or report on anything? From mark at msapiro.net Thu Mar 29 04:37:42 2012 From: mark at msapiro.net (Mark Sapiro) Date: Wed, 28 Mar 2012 19:37:42 -0700 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: Message-ID: Steve Matzura wrote: I wrote: > >>How do you know this? Is the list visible in the web UI? In >>bin/list_lists? > >Neither. Then the list didn't exist. It was not created, partially or otherwise. >>Do you have >> >>add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') >> >>or perhaps the equivalent >> >>DEFAULT_URL_HOST = 'www.theglobalvoice.info' >>DEFAULT_EMAIL_HOST = 'theglobalvoice.info' >> >>followed by >>add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) >> >>in mm_cfg.py. > >The line: > >add_virtualhost('www.theglobalvoice.info', 'theglobalvoice.info') > >did not exist in mm_cfg.py until now. I added it directly in front of: > >add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) OK. >I then saved mm_cfg.py and restarted mailman with `mailmanctl restart' >and attempted to create the mailing list. IT WORKED! It showed up in >all four placess-output from list_lists, as the last stanza in >virtual-mailman, as the last stanza in aliases, and in the Web UI! I >thank you for bearing with me, I apologize for insufficient detailed >error reporting, but with your collective assistance, it's now running >correctly. > >What is the purpose of the line I added? Does it "point" >www.theglobalvoice.info to the real domain of theglobalvoice.info >since that's where all the email list addresses go? It maps the web host www.theglobalvoice.info to the email domain theglobalvoice.info. >If that's the >case, why did the Web UI create not work? Does it carry the "www" >subdomain with it in the underlying commands that actually do the list >creation? If so, then that explains everything to me. If I'm totally >off the mark, then I need to go back to school! In order to create a list, we must know two fully qualified domains. The web domain which is the host name that will be used in URLs that access the list and the email domain which is the domain that list mail is sent to. bin/newlist has command line options for specifying these and will fall back to DEFAULT_*_HOST settings as necessary. The web create CGI determines these domains by taking the host portion of the URL that invoked it as the web domain and looking up the corresponding email domain in the dictionary created by the add_virtualhost() lines. If it can't find an entry for the web domain in that dictionary, it can't determine the email domain for the list so it tells you that the web domain is an "unknown virtual host" and doesn't create the list. It won't use DEFAULT_EMAIL_HOST because that's the email host associated with DEFAULT_URL_HOST, and you must not be DEFAULT_URL_HOST because there is *always* a add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) line. Thus, you are coming from some other (virtual) host which is unknown because it doesn't have an add_virtualhost() line. [...] >Everything checks out and the new mailing list is operating correctly. Good. >Did I forget to check or report on anything? Well, you never answered the questions I asked at so we don't know what was wrong there, but presumably, you don't care as you reversed whatever you did and it's working now. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From smtgv at noisynotes.com Thu Mar 29 06:47:22 2012 From: smtgv at noisynotes.com (Steve Matzura) Date: Thu, 29 Mar 2012 00:47:22 -0400 Subject: [Mailman-Users] Problem creating mailing lists via webinterface in2.1.11 In-Reply-To: References: Message-ID: On Wed, 28 Mar 2012 19:37:42 -0700, you wrote: >>Did I forget to check or report on anything? > > >Well, you never answered the questions I asked at > >so we don't know what was wrong there, but presumably, you don't care >as you reversed whatever you did and it's working now. Actually, I didn't "reverse" anything. You asked: >So what add_virtualhost() did you put in mm_cfg.py? I actually tried, and backed out, two things before coming for help to this list, both of which made things worse! I tried add_virtualhost('www.theglobalvoice.info', 'www.theglobalvoice.info'), and the same line without the "www.". Adding this line gave me the "You hit a bug" message in the Web create UI, which is why I backed it out and set things back the way they'd been. Regarding: >What is in Mailman's error log corresponding to the "we hit a bug"? I don't know because I don't know enough about Mailman to have even had a chance to look. There's one thing about all of this you don't know because I haven't mentioned it, and it goes back to when I said I don't even know what I don't know. While I've been tasked to keeping theglobalvoice.info running, my only credentials for doing so are that I'm reasonably good at learning quickly--I am not a *ux system or site administrator of any stripe. Ask me lots of questions about VAX/Alpha VMS and I can talk your ear off, as that's what I've spent the last 30 years doing professionally. Show me a *ux system prompt and the first thing I know to do is "man {something}", and if that doesn't solve whatever is wrong, I start Googling until I find something to at least try. I'd gotten to that point and figured out it probably had something to do with add_virtualhost, but not understanding (until now) exactly what that directive does, I was floundering. Apparently my predecessor, someone actually far more qualified to do this job than I, either didn't know about the proper use of add_virtualhost, or was happy enough with using the command-line `newlist' to create new mailing lists, because there are eight of them already on the system running successfully. The site owner told me that she always knew there was a problem with the Web UI, but the previous techie guy had a workaround for it--namely, using `newlist' as root. I, being the type who doesn't like loose ends or unsolved mysteries, stuck my neck out and said I'd fix it ... and you know the rest. From leo at oneko.de Thu Mar 29 12:51:54 2012 From: leo at oneko.de (Leo Hackstein) Date: Thu, 29 Mar 2012 12:51:54 +0200 Subject: [Mailman-Users] Batch Add/Remove Users via Mail In-Reply-To: References: Message-ID: <4F743ECA.80600@oneko.de> On 27/03/2012 21:19, Mark Sapiro wrote: > See the latter portion of the FAQ at . Thank you very much, haven't seen that before. Using wget sounds a bit counterintuitive, but it seems to work. From thomas at ifi.uio.no Fri Mar 30 19:31:23 2012 From: thomas at ifi.uio.no (Thomas Gramstad) Date: Fri, 30 Mar 2012 19:31:23 +0200 (CEST) Subject: [Mailman-Users] An ordinary message for the list Message-ID: Sorry for the meaningless subject, but when I try to post this message with a meaningful subject, such as Subject: How to stop automatic sp?m deletion confirmations? , python.org's sp?m fillter(*) is triggered. Apparently it is not easy to discuss sp?m filltering... (*) Yes, I know the correct spelling of that word. Anyway, my question is: My sp?m fillters trigger "sp?m deletion confirmations" like the one below. I don't want them, I want silent sp?m deletion. How do I turn the confirmations off?? I've looked just about everywhere and I can't find it. Surely it must be possible to stop this? Thomas Gramstad ---------- Forwarded message ---------- Date: Wed, 28 Mar 2012 21:57:41 +0200 From: cc-no-referansegruppe-bounces at mailman.kunnskapsallmenning.no To: cc-no-referansegruppe-owner at mailman.kunnskapsallmenning.no Subject: Automatisk melding: din epost ble avvist Den vedlagte meldingen er automatisk forkastet. From mailman at veggiechinese.net Fri Mar 30 19:46:07 2012 From: mailman at veggiechinese.net (William Yardley) Date: Fri, 30 Mar 2012 10:46:07 -0700 Subject: [Mailman-Users] Batch Add/Remove Users via Mail In-Reply-To: <4F743ECA.80600@oneko.de> References: <4F743ECA.80600@oneko.de> Message-ID: <20120330174607.GG14807@mitch.veggiechinese.net> On Thu, Mar 29, 2012 at 12:51:54PM +0200, Leo Hackstein wrote: > On 27/03/2012 21:19, Mark Sapiro wrote: > > See the latter portion of the FAQ at . > Thank you very much, haven't seen that before. Using wget sounds a bit > counterintuitive, but it seems to work. You can do it directly in Perl or Python (or whatever) using modules designed for this (LWP or WWW::Mechanize in Perl, for example). I don't know if there existing tools to do this, but there should be plenty of example code to do similar things. I know you said that the tool won't run on the same system as Mailman, but if you can open up the database that the list addresses come from and run the script there, this probably would make your life easier. I wrote something in Python recently to sync between LDAP and Mailman, but I do run it on one of the machines that's hooked into our Mailman infrastructure. w From mark at msapiro.net Fri Mar 30 20:19:03 2012 From: mark at msapiro.net (Mark Sapiro) Date: Fri, 30 Mar 2012 11:19:03 -0700 Subject: [Mailman-Users] An ordinary message for the list In-Reply-To: Message-ID: Thomas Gramstad wrote: > >My sp?m fillters trigger "sp?m deletion confirmations" like the >one below. I don't want them, I want silent sp?m deletion. How >do I turn the confirmations off?? I've looked just about >everywhere and I can't find it. Surely it must be possible to >stop this? The message below did not come from any spam filtering. It is a message sent to the list owner when a non-member post is discarded (either because the poster is in Privacy options... -> Sender filters -> discard_these_nonmembers or Privacy options... -> Sender filters -> generic_nonmember_action is Discard) and Privacy options... -> Sender filters -> forward_auto_discards is Yes >---------- Forwarded message ---------- >Date: Wed, 28 Mar 2012 21:57:41 +0200 >From: cc-no-referansegruppe-bounces at mailman.kunnskapsallmenning.no >To: cc-no-referansegruppe-owner at mailman.kunnskapsallmenning.no >Subject: Automatisk melding: din epost ble avvist > >Den vedlagte meldingen er automatisk forkastet. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From sascha at rissel.it Sat Mar 31 10:17:21 2012 From: sascha at rissel.it (Sascha Rissel) Date: Sat, 31 Mar 2012 10:17:21 +0200 Subject: [Mailman-Users] Regular expression for Spam Filter wanted Message-ID: Hello all, I am running mailman on Debian/Plesk with a Spam-Filter which prefixes headers of spam mails with "***SPAM***". I tried to filter these mails in mailman using spam filter rule "^Subject:\*\*\*SPAM\*\*\*", but that doesn't work. Could you please help me? Thanks, Sascha. From malcolm.austen at weald.org.uk Sat Mar 31 12:47:58 2012 From: malcolm.austen at weald.org.uk (Malcolm Austen) Date: Sat, 31 Mar 2012 11:47:58 +0100 Subject: [Mailman-Users] Regular expression for Spam Filter wanted In-Reply-To: References: Message-ID: On Sat, 31 Mar 2012 09:17:21 +0100, Sascha Rissel wrote: > Hello all, > > I am running mailman on Debian/Plesk with a Spam-Filter which prefixes > headers of spam mails with "***SPAM***". > I tried to filter these mails in mailman using spam filter rule > "^Subject:\*\*\*SPAM\*\*\*", > but that doesn't work. > > Could you please help me? There will (usually) be a space after the colon in the subject line. I always put \s* or even .* after the colon in the regexp. = Malcolm = -- Using Opera's revolutionary email client: http://www.opera.com/mail/ From jdanield at free.fr Sat Mar 31 14:58:37 2012 From: jdanield at free.fr (jdd) Date: Sat, 31 Mar 2012 14:58:37 +0200 Subject: [Mailman-Users] inn gateway Message-ID: <4F76FF7D.3060301@free.fr> Hello :-) I'm a happy mailman user :-). I have only a small problem I don't know how to fix. I use a mailman<->inn gateway. The two software are on the same server. when somebody write on the newsgroup, the post is sent to the list as well. If somebody try to answer _from the list_, the "to" field of the answer have _two_ values, one for the mailing list, the other for the newsgroup. This second one is unusefull and thunderbird do not like it and one have to remoive it by hand to send the answer. below the headers of a mail read on the mailing list and send from the newsgroup. is there something I can do to remove the "Newsgroups: linux-31" in excess? thanks jdd original post (answer headers below): Return-Path: linux-31-bounces at culte.org Received: from zimbra65-e11.priv.proxad.net (LHLO zimbra65-e11.priv.proxad.net) (172.20.243.215) by zimbra65-e11.priv.proxad.net with LMTP; Sat, 31 Mar 2012 12:55:09 +0200 (CEST) Received: from savage-reborn.culte.org (mx21-g26.priv.proxad.net [172.20.243.91]) by zimbra65-e11.priv.proxad.net (Postfix) with ESMTP id 10CE460D473 for ; Sat, 31 Mar 2012 12:55:08 +0200 (CEST) Received: from savage-reborn.culte.org ([82.234.76.241]) by mx1-g20.free.fr (MXproxy) for jdanield at free.fr; Sat, 31 Mar 2012 12:55:09 +0200 (CEST) X-ProXaD-SC: state=HAM score=15 Received: from savage-reborn.culte.org (localhost [127.0.0.1]) by savage-reborn.culte.org (Postfix) with ESMTP id B1F3140029; Sat, 31 Mar 2012 12:55:04 +0200 (CEST) Path: savage-reborn.culte.org!.POSTED!not-for-mail From: Pascal Hambourg Newsgroups: linux-31 Date: Sat, 31 Mar 2012 12:53:35 +0200 Organization: Plouf ! Lines: 16 Message-ID: References: NNTP-Posting-Host: plouf.fr.eu.org Mime-Version: 1.0 X-Trace: savage-reborn.culte.org 1333191216 19907 213.41.173.35 (31 Mar 2012 10:53:36 GMT) X-Complaints-To: news at culte.org NNTP-Posting-Date: Sat, 31 Mar 2012 10:53:36 +0000 (UTC) User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) In-Reply-To: Xref: savage-reborn.culte.org linux-31:53 To: linux-31 at culte.org Subject: Re: [Linux-31] champs from??? X-BeenThere: linux-31 at culte.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: La liste de discussion du CULTe List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Errors-To: linux-31-bounces at culte.org Sender: linux-31-bounces at culte.org answer headers: FCC: imap://jdanield at imap.free.fr/Sent X-Identity-Key: id17 Message-ID: <4F76FF1F.9020909 at free.fr> Date: Sat, 31 Mar 2012 14:57:03 +0200 From: jdd X-Mozilla-Draft-Info: internal/draft; vcard=0; receipt=0; DSN=0; uuencode=0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120312 Thunderbird/11.0 MIME-Version: 1.0 Newsgroups: linux-31 X-Mozilla-News-Host: To: linux-31 at culte.org Subject: Re: [Linux-31] champs from??? References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit -- Jean-Daniel Dodin From parakrama1282 at gmail.com Sat Mar 31 14:05:15 2012 From: parakrama1282 at gmail.com (dhanushka ranasinghe) Date: Sat, 31 Mar 2012 17:35:15 +0530 Subject: [Mailman-Users] Content filtering mail body Message-ID: Hi guys is it possible to filter and reject any mails that have certain words in them Thank You Dhanushka From mark at msapiro.net Sat Mar 31 19:53:20 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 31 Mar 2012 10:53:20 -0700 Subject: [Mailman-Users] Content filtering mail body In-Reply-To: Message-ID: dhanushka ranasinghe wrote: > >is it possible to filter and reject any mails that have certain words in them Yes, it is but it requires a custom handler to examine the message body and take appropriate action. See the FAQ at The handler you want is fairly simple. A basic outline is import re from Mailman import Errors from Mailman import Utils # Compile re to match words with flags like IGNORECASE, etc as desired. CRE = re.compile('re_that_matches_your_words', re.IGNORCASE) # Rejection message if we're rejecting. MESSAGE = Utils.wrap("""Some nice message as to why the message is being rejected.""") def process(mlist, msg, msgdata): for part in msg.walk(): if part.get_content_maintype() == 'text': if CRE.search(part.get_payload(decode=True)): raise Errors.RejectMessage , MESSAGE # or raise Errors.DiscardMessage if you want to # just discard it. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From mark at msapiro.net Sat Mar 31 21:15:47 2012 From: mark at msapiro.net (Mark Sapiro) Date: Sat, 31 Mar 2012 12:15:47 -0700 Subject: [Mailman-Users] inn gateway In-Reply-To: <4F76FF7D.3060301@free.fr> Message-ID: jdd wrote: > >If somebody try to answer _from the list_, the "to" field of the >answer have _two_ values, one for the mailing list, the other for the >newsgroup. This second one is unusefull and thunderbird do not like it >and one have to remoive it by hand to send the answer. > >below the headers of a mail read on the mailing list and send from the >newsgroup. > >is there something I can do to remove the "Newsgroups: linux-31" in >excess? You can do this a couple of ways in Mailman. The recommended way is a custom handler (because it survives Mailman upgrades). See the FAQ at . The handler itself would be extremely simple, e.g. just the following two lines. def process(mlist, msg, msgdata): del msg['newsgroups'] This removes the header in the pipeline before the message is delivered to the list. Another possibility is to delete the header in Mailman's cron/gate_news before the message is queued in Mailman. This would require adding the line del msg['newsgroups'] just before the lines # Post the message to the locked list inq = get_switchboard(mm_cfg.INQUEUE_DIR) in cron/gate_news. This change is simpler than implementing the custom handler, but it requires re-applying the change following any Mailman update. -- Mark Sapiro The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan From jdanield at free.fr Sat Mar 31 23:31:01 2012 From: jdanield at free.fr (jdd) Date: Sat, 31 Mar 2012 23:31:01 +0200 Subject: [Mailman-Users] inn gateway In-Reply-To: References: Message-ID: <4F777795.7090703@free.fr> Le 31/03/2012 21:15, Mark Sapiro a ?crit : > You can do this a couple of ways in Mailman. The recommended way is a > I see, thanks. But in fact I didn't expect to have something this raw to change. I guessed I missed some setup. is it normal to have this behavior (double to in the answer)? Previously the system was managed by ezmlm and we didn'"t have this problem (but I didn't manage it, so may be the other admin fixed something) could this also be a thunderbird bug? thanks jdd -- Jean-Daniel Dodin