[Mailman-Users] Filtering by text

2011-06-10 Thread Geoff Shang

Hi,

I help moderate a few lists where certain topics are not permitted.

I thought it would be possible to flag a message for moderation based on 
text found in the body of the message, but I can't immediately see how one 
might do this.


Presumably the administrivia scan uses a technique like this.

Is it possible to do this in Mailman?

Geoff.

--
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] Generic rules for list members. (Mark Sapiro)

2011-06-10 Thread Joseph Chamberlain, D.D.S.
Domenic,


Thank you for the information and link. This is definitely very helpful and
I will use it as a reference.

Best regards.


Joseph


On 6/8/11 5:59 AM, Domenic Ciccone domenic.cicc...@gmail.com wrote:

 Joseph Chamberlain, D.D.S. wrote:
 
 Does anyone have a list with rules of behavior and/or Internet etiquette
 for
 members of your mailing list(s) that you could share ?
 
 
 The originator of the mailing list I moderate created this web page years
 ago:
 http://www.studio-nibble.com/lists/guidelines.html
 
 * List Courtesy
 *Advertising Policy
 *Verboten!
 *Robomoderation
 
 
 Domenic moderating:
 http://mailman.xmission.com/cgi-bin/mailman/listinfo/exotica
 --
 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/joemailgroups%40gmail.com


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


[Mailman-Users] Group mismatch ( YES I KNOW THIS IS A FAQ BUT..)

2011-06-10 Thread Peter Sørensen
Hi,

I know this is a FAQ and yes I've tried to read all items and still I can't 
find my way out so hope someone
Can shed some light to this.

Just summarizing what I am about to do. I have an old mailman installation I 
need to port to a new server.
The old one is based on EXIM as MTA but I would like to use postfix, because 
this is the one I use on a lot of servers.
I need to make mailman virtual. I have around 20 mail domains to handle.

So I install a Ubuntu 10.04LTS 64 bit and get the packages for postfix apache2 
and mailman and install
No problem.

When trying to make the virtual postfix/mailman integration, I ran across a 
post recommending to use mailman 2.1.14
Ok - I removed the mailman package from Ubuntu , actually 2.1.13 - downloaded 
the 2.1.14 source
Ran configure, make and make install all seems OK.

I have added following to mm_cfg.py

##
MTA = Postfix
# Put YOUR site-specific settings below this line.
POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'test.sdu.dk',
'some.other.domain',
   ..

add_virtualhost('test.sdu.dk','test.sdu.dk'
add_virtualhost('some.other.domain','some.other.domain')

called check_perms -f
called genaliases
and checked that i have the files :
my@mls2:/usr/local/mailman$ ll data/alia*
-rw-rw 1 mailman mailman 114222 2011-06-10 09:04 data/aliases
-rw-rw 1 mailman mailman 172032 2011-06-10 09:04 data/aliases.db
my@mls2:/usr/local/mailman$ ll data/virt*
-rw-rw 1 mailman mailman  86149 2011-06-10 09:04 data/virtual-mailman
-rw-rw 1 mailman mailman 176128 2011-06-10 09:04 data/virtual-mailman.db

Added to postfix main.cf:
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman
mailman_destination_recipient_limit = 1

AND in transport i have entries like:
test.sdu.dk  mailman:
some.other.domain   mailman:


Then when trying to send a mail to a new list I get the following in mail.log

Jun 10 08:44:22 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman 
expected the mail#012wrapper script to be executed as group mailman, 
but#012the system's mail server executed the mail script as#012group nogroup. 
 Try tweaking the mail server to run the#012script as group mailman, or 
re-run configure, #012providing the command line option 
`--with-mail-gid=nogroup'.
Jun 10 08:44:22 mls2 postfix/local[28200]: 3E460FFDF2: 
to=mailman-boun...@mls2.sdu.dk, relay=local, delay=0.03, 
delays=0.01/0/0/0.02, dsn=5.3.0, status=bounced (Command died with status 2: 
/usr/local/mailman/mail/mailman bounces mailman. Command output: Group 
mismatch error.  Mailman expected the mail wrapper script to be executed as 
group mailman, but the system's mail server executed the mail script as group 
nogroup.  Try tweaking the mail server to run the script as group mailman, 
or re-run configure,  providing the command line option 
`--with-mail-gid=nogroup'. )

OK I go to the mailman source and recompile as suggested and get

Jun 10 07:28:29 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman 
expected the mail#012wrapper script to be executed as group nogroup, 
but#012the system's mail server executed the mail script as#012group mailman. 
 Try tweaking the mail server to run the#012script as group nogroup, or 
re-run configure, #012providing the command line option 
`--with-mail-gid=mailman'.
Jun 10 07:28:29 mls2 postfix/local[22760]: 711C8FFD9D: to=i...@mls2.sdu.dk, 
orig_to=i...@test.sdu.dk, relay=local, delay=14, delays=14/0.02/0/0.03, 
dsn=5.3.0, status=bounced (Command died with status 2: 
/usr/local/mailman/mail/mailman post its. Command output: Group mismatch 
error.  Mailman expected the mail wrapper script to be executed as group 
nogroup, but the system's mail server executed the mail script as group 
mailman.  Try tweaking the mail server to run the script as group nogroup, 
or re-run configure,  providing the command line option 
`--with-mail-gid=mailman'. )

Permissions on mailman wrapper are:
ll /usr/local/mailman/mail/mailman
-rwxr-sr-x 1 root mailman 23741 2011-06-10 07:30 
/usr/local/mailman/mail/mailman*

Postfix alias file has permissions:
ll /etc/alias*
-rw-r--r-- 1 root mailman   775 2011-06-09 15:45 /etc/aliases
-rw-r--r-- 1 root mailman 12288 2011-06-10 07:43 /etc/aliases.db

From what I can see,  the postfix should use the owner of the mail wrapper 
script and get the corresponding group and
execute with that.

Can anyone help?

Regards

Peter Sorensen/Univ. Of Southern Denmark/email: mas...@sdu.dk
--
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

[Mailman-Users] editing archives html page

2011-06-10 Thread myron
To recover disk space I remove the archives on quite a few of my  
announcement lists.
When I went to the Go to archives page I was surprised to see the  
Archive, View By, etc. listing of
messages that were no longer there. Is there a command to clean that  
page so that it reflects the

messages that are still to be seen.

In my case, since I deleted all the messages it would say No messages  
have been ... so archives are empty.
That's usually what I see when I create a new list. I can copy the  
index.html file from an empty archive list and edit

that, but is there a way easier way.

--myron
=
Myron Kowalski
MoCoSIN Network/Systems Administrator
Moravian College
my...@cs.moravian.edu



--
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] Filtering by text

2011-06-10 Thread Mark Sapiro
Geoff Shang wrote:

I help moderate a few lists where certain topics are not permitted.

I thought it would be possible to flag a message for moderation based on 
text found in the body of the message, but I can't immediately see how one 
might do this.

Presumably the administrivia scan uses a technique like this.

Is it possible to do this in Mailman?


Administrivia looks at the message subject and the first 5 body lines
for certain patterns. The test is a special function
(is_administrivia) defined in Mailman/Utils.py and called from
Mailman/Handlers/Hold.py.

The best way to do this in general is via a custom handler. See
http://wiki.list.org/x/l4A9. There is no configuration setting in
standard Mailman to do this.

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


Re: [Mailman-Users] editing archives html page

2011-06-10 Thread Mark Sapiro
myron wrote:

To recover disk space I remove the archives on quite a few of my  
announcement lists.
When I went to the Go to archives page I was surprised to see the  
Archive, View By, etc. listing of
messages that were no longer there. Is there a command to clean that  
page so that it reflects the
messages that are still to be seen.

In my case, since I deleted all the messages it would say No messages  
have been ... so archives are empty.
That's usually what I see when I create a new list. I can copy the  
index.html file from an empty archive list and edit
that, but is there a way easier way.

If you want a totally empty archive, run

bin/arch --wipe LISTNAME /dev/null

If you want to prune the archive, remove the unwanted messages from
archives/private/LISTNAME.mbox/LISTNAME.mbox and then run

bin/arch --wipe LISTNAME

See the FAQ at http://wiki.list.org/x/2YA9.

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


Re: [Mailman-Users] Group mismatch ( YES I KNOW THIS IS A FAQ BUT..)

2011-06-10 Thread Mark Sapiro
On 6/10/2011 2:28 AM, Peter Sørensen wrote:
 
 When trying to make the virtual postfix/mailman integration, I ran across a 
 post recommending to use mailman 2.1.14
 Ok - I removed the mailman package from Ubuntu , actually 2.1.13 - downloaded 
 the 2.1.14 source
 Ran configure, make and make install all seems OK.


And you have conflated your Debian/Ubuntu package configuration and the
standard GNU Mailman configuration.


 I have added following to mm_cfg.py
 
 ##
 MTA = Postfix
 # Put YOUR site-specific settings below this line.
 POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'test.sdu.dk',
 'some.other.domain',
..
 
 add_virtualhost('test.sdu.dk','test.sdu.dk'
 add_virtualhost('some.other.domain','some.other.domain')


OK


 called check_perms -f
 called genaliases
 and checked that i have the files :
 my@mls2:/usr/local/mailman$ ll data/alia*
 -rw-rw 1 mailman mailman 114222 2011-06-10 09:04 data/aliases
 -rw-rw 1 mailman mailman 172032 2011-06-10 09:04 data/aliases.db
 my@mls2:/usr/local/mailman$ ll data/virt*
 -rw-rw 1 mailman mailman  86149 2011-06-10 09:04 data/virtual-mailman
 -rw-rw 1 mailman mailman 176128 2011-06-10 09:04 data/virtual-mailman.db


OK


 Added to postfix main.cf:
 transport_maps = hash:/etc/postfix/transport

See below:


 alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
 alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases


You don't need hash:/usr/local/mailman/data/aliases in alias_database.
This only makes Postfix's newaliases command do extra work. See
http://www.list.org/mailman-install/postfix-integration.html.


 virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman
 mailman_destination_recipient_limit = 1


The above, the transport maps entries below, and the mailman transport
in master.cf are for postfix-to-mailman.py delivery which is an
incompatible alternative to delivery vfia aliases and virtual maps.


 AND in transport i have entries like:
 test.sdu.dk  mailman:
 some.other.domain   mailman:
 
 
 Then when trying to send a mail to a new list I get the following in mail.log
 
 Jun 10 08:44:22 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman 
 expected the mail#012wrapper script to be executed as group mailman, 
 but#012the system's mail server executed the mail script as#012group 
 nogroup.  Try tweaking the mail server to run the#012script as group 
 mailman, or re-run configure, #012providing the command line option 
 `--with-mail-gid=nogroup'.
 Jun 10 08:44:22 mls2 postfix/local[28200]: 3E460FFDF2: 
 to=mailman-boun...@mls2.sdu.dk, relay=local, delay=0.03, 
 delays=0.01/0/0/0.02, dsn=5.3.0, status=bounced (Command died with status 2: 
 /usr/local/mailman/mail/mailman bounces mailman. Command output: Group 
 mismatch error.  Mailman expected the mail wrapper script to be executed as 
 group mailman, but the system's mail server executed the mail script as 
 group nogroup.  Try tweaking the mail server to run the script as group 
 mailman, or re-run configure,  providing the command line option 
 `--with-mail-gid=nogroup'. )


This looks like a delivery via aliases which should work if the
ownership of data/aliases.db is as above.


 OK I go to the mailman source and recompile as suggested and get
 
 Jun 10 07:28:29 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman 
 expected the mail#012wrapper script to be executed as group nogroup, 
 but#012the system's mail server executed the mail script as#012group 
 mailman.  Try tweaking the mail server to run the#012script as group 
 nogroup, or re-run configure, #012providing the command line option 
 `--with-mail-gid=mailman'.
 Jun 10 07:28:29 mls2 postfix/local[22760]: 711C8FFD9D: to=i...@mls2.sdu.dk, 
 orig_to=i...@test.sdu.dk, relay=local, delay=14, delays=14/0.02/0/0.03, 
 dsn=5.3.0, status=bounced (Command died with status 2: 
 /usr/local/mailman/mail/mailman post its. Command output: Group mismatch 
 error.  Mailman expected the mail wrapper script to be executed as group 
 nogroup, but the system's mail server executed the mail script as group 
 mailman.  Try tweaking the mail server to run the script as group 
 nogroup, or re-run configure,  providing the command line option 
 `--with-mail-gid=mailman'. )


And Postfix invoking the wrapper as group 'mailman' is what should have
happened above.

Now you should reconfigure with --with-mail-gid=mailman and try again.
I'm guessing that for the first try above when Postfix invoked the
wrapper as 'nogroup', the owner of data/aliases.db was root, and somehow
in the re-configure/install process, it got changed to 'mailman' which
is what it should be.


 Permissions on mailman wrapper are:
 ll /usr/local/mailman/mail/mailman
 -rwxr-sr-x 1 root mailman 23741 2011-06-10 07:30 
 /usr/local/mailman/mail/mailman*
 
 Postfix alias file has permissions:
 ll /etc/alias*
 

Re: [Mailman-Users] Group mismatch ( YES I KNOW THIS IS A FAQ BUT..)

2011-06-10 Thread Geoff Shang

On Fri, 10 Jun 2011, Peter Sørensen wrote:


Hi,

I know this is a FAQ and yes I've tried to read all items and still I can't 
find my way out so hope someone
Can shed some light to this.


Actualy, it's probably several.


Just summarizing what I am about to do. I have an old mailman installation I 
need to port to a new server.
The old one is based on EXIM as MTA but I would like to use postfix, because 
this is the one I use on a lot of servers.
I need to make mailman virtual. I have around 20 mail domains to handle.

So I install a Ubuntu 10.04LTS 64 bit and get the packages for postfix apache2 
and mailman and install
No problem.

When trying to make the virtual postfix/mailman integration, I ran across a 
post recommending to use mailman 2.1.14
Ok - I removed the mailman package from Ubuntu , actually 2.1.13 - downloaded 
the 2.1.14 source
Ran configure, make and make install all seems OK.


It's because of the very sort of permission problems you hit that I don't 
generally do this. Unless you really need to run Mailman 2.1.14, 2.1.13 
should be plenty fine enough.  One server I help administer still runs 
Debian Lenny with Mailman 2.1.11 and again works fine for me.


However, I did have to hand-compile Mailman on a Ubuntu system for work (I 
no longer have access to this box) because I needed to have multiple 
installs for separate domains.  I made some notes.  See below.



I have added following to mm_cfg.py

##
MTA = Postfix
# Put YOUR site-specific settings below this line.
POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'test.sdu.dk',
   'some.other.domain',
  ..

add_virtualhost('test.sdu.dk','test.sdu.dk'
add_virtualhost('some.other.domain','some.other.domain')

called check_perms -f
called genaliases
and checked that i have the files :
my@mls2:/usr/local/mailman$ ll data/alia*
-rw-rw 1 mailman mailman 114222 2011-06-10 09:04 data/aliases
-rw-rw 1 mailman mailman 172032 2011-06-10 09:04 data/aliases.db
my@mls2:/usr/local/mailman$ ll data/virt*
-rw-rw 1 mailman mailman  86149 2011-06-10 09:04 data/virtual-mailman
-rw-rw 1 mailman mailman 176128 2011-06-10 09:04 data/virtual-mailman.db

Added to postfix main.cf:
transport_maps = hash:/etc/postfix/transport
alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases


You don't need this, and in fact if I recall correctly, it's bad to have 
this.



virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman


You don't have any other virtual alias domains?


mailman_destination_recipient_limit = 1


I've never seen this one before.


AND in transport i have entries like:
test.sdu.dk  mailman:
some.other.domain   mailman:


You're mixing up methods here.

You can set up Mailman+Postfix in one of two ways, using virtual alias 
domains or using a Mailman-specific domain (e.g. lists.example.com) and 
using a transport.  You seem to have employed both here which is not 
necessary, and by definition only one will ever work.


I've never used the transport option and consider it unnecessary, but it 
may be simpler for someone who is using a subdomain specifically for lists 
and no other Email.


Not sure which documentation you're using, but I recommend the official 
installation guide, specifically the section on Postfix.  It's a little 
confusing but Email administration is a confusing business. 
http://list.org/./mailman-install/node12.html



Then when trying to send a mail to a new list I get the following in mail.log

Jun 10 08:44:22 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman expected the mail#012wrapper script 
to be executed as group mailman, but#012the system's mail server executed the mail script 
as#012group nogroup.  Try tweaking the mail server to run the#012script as group 
mailman, or re-run configure, #012providing the command line option `--with-mail-gid=nogroup'.
Jun 10 08:44:22 mls2 postfix/local[28200]: 3E460FFDF2: to=mailman-boun...@mls2.sdu.dk, relay=local, delay=0.03, 
delays=0.01/0/0/0.02, dsn=5.3.0, status=bounced (Command died with status 2: /usr/local/mailman/mail/mailman bounces 
mailman. Command output: Group mismatch error.  Mailman expected the mail wrapper script to be executed as group 
mailman, but the system's mail server executed the mail script as group nogroup.  Try tweaking the 
mail server to run the script as group mailman, or re-run configure,  providing the command line option 
`--with-mail-gid=nogroup'. )

OK I go to the mailman source and recompile as suggested and get

Jun 10 07:28:29 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman expected the mail#012wrapper script 
to be executed as group nogroup, but#012the system's mail server executed the mail script 
as#012group mailman.  Try tweaking the mail server to run the#012script as group 
nogroup, or re-run configure, 

Re: [Mailman-Users] Continued problems with Mailman on RHEL6.1

2011-06-10 Thread D G Teed
On Wed, Jun 8, 2011 at 10:54 PM, Steven Jones steven.jo...@vuw.ac.nz wrote:
 Hi,

 I am trying to create a new list via the mailman web  interface, it appears 
 to create a list but inbound emails to the list(s) are failing saying, user 
 unknown in local recipient table.

 I am assuming that the web interface should add the list controls to the 
 /etc/aliases file? it looks like it isnt... Either that or I suspect its 
 meant to add to a file in /etc/mailman/aliases? and re-generate a 
 /etc/mailman/aliases.db? and the above path should be in main.cf? so its 
 found?

 However mailman is meant to work, it obviously isntor do I have it wrong?

 regards

Have you looked at:

/usr/share/doc/mailman-2.1.9/INSTALL.REDHAT

or whatever the path would be for your install under Redhat 6?

This contains Redhat specific instructions for the setup.
--
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] Group mismatch ( YES I KNOW THIS IS A FAQ BUT..)

2011-06-10 Thread Peter Sørensen
Thanks Geoff

You really got me on the track and pointed out what is was mixing.
Really confusing with all this information :-)


I did as you suggested:

recompiled with:
./configure --with-username=list --with-groupname=list
--with-mail-gid=list --with-cgi-gid=www-data

and removed the transport.

Thats it - thanks.

regards

Peter

Fra: Geoff Shang [ge...@quitelikely.com]
Sendt: 10. juni 2011 20:59
Til: Peter Sørensen
Cc: mailman-users@python.org
Emne: Re: [Mailman-Users] Group mismatch ( YES I KNOW THIS IS A FAQ BUT..)

On Fri, 10 Jun 2011, Peter Sørensen wrote:

 Hi,

 I know this is a FAQ and yes I've tried to read all items and still I can't 
 find my way out so hope someone
 Can shed some light to this.

Actualy, it's probably several.

 Just summarizing what I am about to do. I have an old mailman installation I 
 need to port to a new server.
 The old one is based on EXIM as MTA but I would like to use postfix, because 
 this is the one I use on a lot of servers.
 I need to make mailman virtual. I have around 20 mail domains to handle.

 So I install a Ubuntu 10.04LTS 64 bit and get the packages for postfix 
 apache2 and mailman and install
 No problem.

 When trying to make the virtual postfix/mailman integration, I ran across a 
 post recommending to use mailman 2.1.14
 Ok - I removed the mailman package from Ubuntu , actually 2.1.13 - downloaded 
 the 2.1.14 source
 Ran configure, make and make install all seems OK.

It's because of the very sort of permission problems you hit that I don't
generally do this. Unless you really need to run Mailman 2.1.14, 2.1.13
should be plenty fine enough.  One server I help administer still runs
Debian Lenny with Mailman 2.1.11 and again works fine for me.

However, I did have to hand-compile Mailman on a Ubuntu system for work (I
no longer have access to this box) because I needed to have multiple
installs for separate domains.  I made some notes.  See below.

 I have added following to mm_cfg.py

 ##
 MTA = Postfix
 # Put YOUR site-specific settings below this line.
 POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'test.sdu.dk',
'some.other.domain',
   ..

 add_virtualhost('test.sdu.dk','test.sdu.dk'
 add_virtualhost('some.other.domain','some.other.domain')

 called check_perms -f
 called genaliases
 and checked that i have the files :
 my@mls2:/usr/local/mailman$ ll data/alia*
 -rw-rw 1 mailman mailman 114222 2011-06-10 09:04 data/aliases
 -rw-rw 1 mailman mailman 172032 2011-06-10 09:04 data/aliases.db
 my@mls2:/usr/local/mailman$ ll data/virt*
 -rw-rw 1 mailman mailman  86149 2011-06-10 09:04 data/virtual-mailman
 -rw-rw 1 mailman mailman 176128 2011-06-10 09:04 data/virtual-mailman.db

 Added to postfix main.cf:
 transport_maps = hash:/etc/postfix/transport
 alias_maps = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases
 alias_database = hash:/etc/aliases, hash:/usr/local/mailman/data/aliases

You don't need this, and in fact if I recall correctly, it's bad to have
this.

 virtual_alias_maps = hash:/usr/local/mailman/data/virtual-mailman

You don't have any other virtual alias domains?

 mailman_destination_recipient_limit = 1

I've never seen this one before.

 AND in transport i have entries like:
 test.sdu.dk  mailman:
 some.other.domain   mailman:

You're mixing up methods here.

You can set up Mailman+Postfix in one of two ways, using virtual alias
domains or using a Mailman-specific domain (e.g. lists.example.com) and
using a transport.  You seem to have employed both here which is not
necessary, and by definition only one will ever work.

I've never used the transport option and consider it unnecessary, but it
may be simpler for someone who is using a subdomain specifically for lists
and no other Email.

Not sure which documentation you're using, but I recommend the official
installation guide, specifically the section on Postfix.  It's a little
confusing but Email administration is a confusing business.
http://list.org/./mailman-install/node12.html

 Then when trying to send a mail to a new list I get the following in mail.log

 Jun 10 08:44:22 mls2 Mailman mail-wrapper: Group mismatch error.  Mailman 
 expected the mail#012wrapper script to be executed as group mailman, 
 but#012the system's mail server executed the mail script as#012group 
 nogroup.  Try tweaking the mail server to run the#012script as group 
 mailman, or re-run configure, #012providing the command line option 
 `--with-mail-gid=nogroup'.
 Jun 10 08:44:22 mls2 postfix/local[28200]: 3E460FFDF2: 
 to=mailman-boun...@mls2.sdu.dk, relay=local, delay=0.03, 
 delays=0.01/0/0/0.02, dsn=5.3.0, status=bounced (Command died with status 2: 
 /usr/local/mailman/mail/mailman bounces mailman. Command output: Group 
 mismatch error.  Mailman expected the mail wrapper script to be executed as 
 group mailman, but the 

[Mailman-Users] mail based moderation

2011-06-10 Thread David elhijo Leroux

Hi,
we are using mailman to manage several mailing lists.
I'm looking for a way to moderate emails through email interface when 
I'm offsite.
So I manage to use the -request address with the confirmxx topic 
from a notebook, but using my iPhone, I can't see attached email 
received in moderation notification  from -owner, so I don't have any  
confirm id...

Is there a workaround or do I missed something ?
Thanks,
David

--
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] editing archives html page

2011-06-10 Thread myron
The first one command you listed was the one I ran. I looked at  
another list that I ran it on and, it looked as I expected
with the tables removed. In fact, all the other lists looked that way.  
I must have done something wrong on the one

list. Thanks for your help.

--myron
=
Myron Kowalski
MoCoSIN Network/Systems Administrator
Moravian College
my...@cs.moravian.edu



On Jun 10, 2011, at 11:34 AM, Mark Sapiro wrote:


myron wrote:


To recover disk space I remove the archives on quite a few of my
announcement lists.
When I went to the Go to archives page I was surprised to see the
Archive, View By, etc. listing of
messages that were no longer there. Is there a command to clean that
page so that it reflects the
messages that are still to be seen.

In my case, since I deleted all the messages it would say No  
messages

have been ... so archives are empty.
That's usually what I see when I create a new list. I can copy the
index.html file from an empty archive list and edit
that, but is there a way easier way.


If you want a totally empty archive, run

bin/arch --wipe LISTNAME /dev/null

If you want to prune the archive, remove the unwanted messages from
archives/private/LISTNAME.mbox/LISTNAME.mbox and then run

bin/arch --wipe LISTNAME

See the FAQ at http://wiki.list.org/x/2YA9.

--
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/myron%40cs.moravian.edu


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


[Mailman-Users] The requested URL /pipermail/aa/ was not found on this server

2011-06-10 Thread Li, Jilong (MU-Student)
Hi,

I installed mailman on my server, but some problems appeared. Could you please 
help me solve these problems?

mailman version: 2.1.13
operating system: Red hat 4.1.2-50
python version: 2.4.3
gcc version: 4.1.2

problem 1: The requested URL /pipermail/aa/ was not found on this server.

When I click the aa Archiveshttp://sysbio.rnet.missouri.edu/pipermail/aa/, 
a message The requested URL /pipermail/aa/ was not found on this server 
appears. (aa is a list I created)

I added a few lines in the file etc/httpd/conf/httpd.conf:

Alias /pipermail/ “/var/www/cgi-bin/multicom_toolbox/mailman/archives/public/”
Directory “/var/www/cgi-bin/multicom_toolbox/mailman/archives/public”
Options FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
/Directory

I also set the directory $prefix/archives/private:


cd $prefix/archives

chown apache private

chmod o-x private

problem 2: when I create a list, no email is sent to my mailbox, and no false 
message appears.

problem 3: my url is http://$a.$b.edu/mailman; and my email address is 
$name@mail.$b.edu.

I set DEFAULT_EMAIL_HOST = '$b.edu' and DEFAULT_URL_HOST = '$a.$b.edu'

and POSTFIX_STYLE_VIRTUAL_DOMAINS = ['$b.edu', '$b.edu'].

Are these right?

Thank you very much!

Victor
--
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] mail based moderation

2011-06-10 Thread Mark Sapiro
David elhijo Leroux wrote:

Hi,
we are using mailman to manage several mailing lists.
I'm looking for a way to moderate emails through email interface when 
I'm offsite.
So I manage to use the -request address with the confirmxx topic 
from a notebook, but using my iPhone, I can't see attached email 
received in moderation notification  from -owner, so I don't have any  
confirm id...
Is there a workaround or do I missed something ?


This is a problem with the iPhone mail client you are using. You could
try taking this up with Apple or maybe find another iPhone mail app
that does a better job of rendering MIME multipart messages.

I don't think there is any workaround in Mailman other than using your
phone's web browser to access the list's admindb interface.

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


Re: [Mailman-Users] editing archives html page

2011-06-10 Thread Mark Sapiro
myron wrote:

The first one command you listed was the one I ran. I looked at  
another list that I ran it on and, it looked as I expected
with the tables removed. In fact, all the other lists looked that way.  
I must have done something wrong on the one
list. Thanks for your help.


Or you were seeing a cached old page in your browser.

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


Re: [Mailman-Users] The requested URL /pipermail/aa/ was not found on this server

2011-06-10 Thread Mark Sapiro
On 6/10/2011 10:04 AM, Li, Jilong (MU-Student) wrote:
 Hi,
 
 I installed mailman on my server, but some problems appeared. Could you 
 please help me solve these problems?
 
 mailman version: 2.1.13
 operating system: Red hat 4.1.2-50
 python version: 2.4.3
 gcc version: 4.1.2
 
 problem 1: The requested URL /pipermail/aa/ was not found on this server.
 
 When I click the aa 
 Archiveshttp://sysbio.rnet.missouri.edu/pipermail/aa/, a message The 
 requested URL /pipermail/aa/ was not found on this server appears. (aa is a 
 list I created)
 
 I added a few lines in the file etc/httpd/conf/httpd.conf:
 
 Alias /pipermail/ “/var/www/cgi-bin/multicom_toolbox/mailman/archives/public/”
 Directory “/var/www/cgi-bin/multicom_toolbox/mailman/archives/public”
 Options FollowSymLinks
 AllowOverride None
 Order allow,deny
 Allow from all
 /Directory
 
 I also set the directory $prefix/archives/private:
 
 
 cd $prefix/archives
 
 chown apache private
 
 chmod o-x private


All the above seems correct. What does your apache error log say? Is
this a SELinux issue?


 problem 2: when I create a list, no email is sent to my mailbox, and no false 
 message appears.


See the FAQ at http://wiki.list.org/x/A4E9.


 problem 3: my url is http://$a.$b.edu/mailman; and my email address is 
 $name@mail.$b.edu.
 
 I set DEFAULT_EMAIL_HOST = '$b.edu' and DEFAULT_URL_HOST = '$a.$b.edu'


And following that do you have

add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)


 and POSTFIX_STYLE_VIRTUAL_DOMAINS = ['$b.edu', '$b.edu'].


It is redundant to list the same domain twice in
POSTFIX_STYLE_VIRTUAL_DOMAINS.

POSTFIX_STYLE_VIRTUAL_DOMAINS = ['$b.edu']

is enough.


Also see the FAQ at http://wiki.list.org/x/mIA9.

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