Re: [Mailman-Users] mailman problem with exim

2011-07-30 Thread Lorenzo Coronati

On 29/07/2011 23:42, Mark Sapiro wrote:


Check your exim logs. If your list mail is not using the
mailman_router router, you need to move that router closer to the
front of the routers section, at least ahead of the router it is
using. The mailman_router router uses the mailman_transport
transport, not the address_pipe transport in the messages in your OP.


Hi Mark,
the router is the first of the list; I paste it here:

mailman_router:
  driver = accept
  domains = +mm_domains
  require_files = MAILMAN_LISTCHK
  local_part_suffix_optional
  local_part_suffix = -bounces : -bounces+* : \
  -confirm+* : -join : -leave : \
  -owner : -request : -admin
  headers_remove = X-Spam-Score:X-Spam-Report
  transport = mailman_transport


and the transport follows:

mailman_transport:
  driver = pipe
  command = MAILMAN_WRAP \
'${if def:local_part_suffix \
  {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
  {post}}' \
$local_part
  current_directory = MAILMAN_HOME
  home_directory = MAILMAN_HOME
  user = MAILMAN_USER
  group = MAILMAN_GROUP


I copied both from one of the many tutorials on the web, and adjusted 
only the variables in capitals...


Thanks again for your support
Lorenzo

--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


Re: [Mailman-Users] Any quantity restrictions in who email command?

2011-07-30 Thread Ulf Dunkel

Am 29.07.2011 16:27, schrieb Mark Sapiro:

Ulf Dunkel wrote:


I try to grab the members from various of my mailing lists via the email
interface, but two of them with more than 1,000 users each won't let
Mailman reply on my whopassword email to the relevant
mailinglist-request@mydomain account.

Are there any quantity restrictions I have overseen (or forgotten)?



There are no built-in limits. Is there anything in Mailman's logs,
particularly error and qrunner?


My fault - the replies were simply dropped into my Junk folder where I 
found them this morning. Don't know why Thunderbird did this. :-)


---Ulf Dunkel
--
Mailman-Users mailing list Mailman-Users@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/archive%40jab.org


Re: [Mailman-Users] mailman problem with exim

2011-07-30 Thread Mark Sapiro
Lorenzo Coronati wrote:

mailman_router:
   driver = accept
   domains = +mm_domains

What is your definition of mm_domains?


   require_files = MAILMAN_LISTCHK


What are your defininitions of MAILMAN_LISTCHK, MAILMAN_HOME,
MAILMAN_USER and MAILMAN_GROUP


   local_part_suffix_optional
   local_part_suffix = -bounces : -bounces+* : \
   -confirm+* : -join : -leave : \
   -owner : -request : -admin


The list above should probably also include -confirm, -subscribe and
-unsubscribe.


   headers_remove = X-Spam-Score:X-Spam-Report
   transport = mailman_transport


and the transport follows:

mailman_transport:
   driver = pipe
   command = MAILMAN_WRAP \
 '${if def:local_part_suffix \
   {${sg{$local_part_suffix}{-(\\w+)(\\+.*)?}{\$1}}} \
   {post}}' \
 $local_part
   current_directory = MAILMAN_HOME
   home_directory = MAILMAN_HOME
   user = MAILMAN_USER
   group = MAILMAN_GROUP


I copied both from one of the many tutorials on the web, and adjusted 
only the variables in capitals...


There should be

domainlist mm_domains=aips.it

or maybe

domainlist mm_domains=aips.it:other.list.domain:...

in your configuration. Your OP showed your list mail was using the
transport 'address_pipe', not 'mailman_transport'. If your
mailman_router is first and you are still seeing the same errors with
the address_pipe transport, some condition in your mailman_router is
not being met. Either, your mm_domains domain list does not include
your list domain(s) or your MAILMAN_LISTCHK macro doesn't expand to
the correct /path/to/lists/LISTNAME/config.pck.

Note that if you installed Mailman from a RedHat/CentOS rpm, most
examples on the web won't work because the mail wrapper mail/mailman
and the lists/ directory are not in the same MM_HOME directory. I.e.
the wrapper is /usr/lib/mailman/mail/mailman and the list directory is
/var/lib/mailman/lists/.

-- 
Mark Sapiro m...@msapiro.netThe highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan

--
Mailman-Users mailing list Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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/archive%40jab.org