Re: [Mailman-Users] thousands of lists

2005-07-28 Thread Brad Knowles
At 12:55 AM -0400 2005-07-28, [EMAIL PROTECTED] wrote:

  While I can't address your question directly, I can say that this
  isn't an issue.  Just use ReiserFS or set your ext2/3 filesystems to
  use dir_index.  Either one will give you hashed directory lookups and
  resolve this performance issue.

Not everyone in the world uses Linux.

  In general, I know that sourceforge.net uses Mailman for their lists.
  The product gloss on the Realtime stats page claims 75,000+ projects.
  Not sure how they manage them though.

I've spoken to the SourceForge maintainers.  They haven't given 
me a lot of detail, but I understand that they're planning on 
switching to something else.  There's a lot of stuff about the way 
they work that don't mesh well with the way Mailman does things.  We 
might be able to correct some of those problems with Mailman3, but 
that may or may not arrive in time for them.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] thousands of lists

2005-07-28 Thread Brad Knowles
At 3:07 PM +1000 2005-07-28, Iain Pople wrote:

  We are using Solaris UFS.

If switching filesystems is an option, you might want to take a 
look at Veritas VxFS.  It's a commercial replacement that should be 
more than enough for your needs.  I've had experience with SGI XFS 
(on real SGI hardware), and other journaling filesystems, as well as 
other extent-based directory-hashing filesystems, and VxFS beats 
everything else I've seen -- hands-down.

If VxFS isn't an option, keep an eye on ZFS for Solaris 10.  I've 
heard some really good things about it.


Otherwise, you may be forced to have multiple Mailman 
installations, each covering a subset of your 15,000 lists.  Or, you 
may need to come up with a hack to implement a hashed directory 
scheme.

There is an old patch at 
http://sourceforge.net/tracker/index.php?func=detailaid=403064group_id=103atid=300103
 
which sounds related according to the description, but the comment 
from Barry indicates that something similar has already been applied 
to the code, which is why this patch was closed.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Digest Sending Questions

2005-07-28 Thread David Scribner
I am currently running a test list on Mailman (2.1.5) on OSX Tiger 
(10.4.2) and seem to have some problems with the sending of Digests.

I have the list set that it will bunch traffic in Digests.  And I 
have the option Should a digest be dispatched daily when the size 
threshold isn't reached? set to YES.  But it is not sending out a 
Daily Digest although there are posts in the queue.  It only seems to 
be sending out a digest when the Threshold is reached.  What can I do 
to make Mailman send out the Digest Daily even if there are only a 
couple of posts for that Digest?  I have even tried to toggle the 
Daily Sending option to NO and then back to YES but that doesn't seem 
to work to force a Daily Digest.

Also, I don't see anything where I can set the time that a Daily 
Digest is sent out.  On my current LetterRipPro list server I have 
the Digests for the lists that have a digest option to send for each 
list at a different time, actually about a half an hour apart just to 
lessen the amount of out-going traffic when the Digests get sent.  Is 
it possible to do that same with Mailman?

Thank you for your help

David Scribner
BI Consulting
Little Rock, AR
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions

2005-07-28 Thread John Dennis
On Thu, 2005-07-28 at 07:03 -0500, David Scribner wrote:
 I am currently running a test list on Mailman (2.1.5) on OSX Tiger 
 (10.4.2) and seem to have some problems with the sending of Digests.
 
 I have the list set that it will bunch traffic in Digests.  And I 
 have the option Should a digest be dispatched daily when the size 
 threshold isn't reached? set to YES.  But it is not sending out a 
 Daily Digest although there are posts in the queue.  It only seems to 
 be sending out a digest when the Threshold is reached.  What can I do 
 to make Mailman send out the Digest Daily even if there are only a 
 couple of posts for that Digest?  I have even tried to toggle the 
 Daily Sending option to NO and then back to YES but that doesn't seem 
 to work to force a Daily Digest.
 
 Also, I don't see anything where I can set the time that a Daily 
 Digest is sent out.  On my current LetterRipPro list server I have 
 the Digests for the lists that have a digest option to send for each 
 list at a different time, actually about a half an hour apart just to 
 lessen the amount of out-going traffic when the Digests get sent.  Is 
 it possible to do that same with Mailman?

The timed delivery of digests is implemented via a cron job that runs
the mailman/cron/senddigests script. If your digests are not being sent
the first thing to check is if the cron jobs are enabled. You can set
the time this cron job runs so you can control when they are sent out.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions

2005-07-28 Thread Larry Stone
On 7/28/05 7:03 AM, David Scribner at [EMAIL PROTECTED] wrote:

 I am currently running a test list on Mailman (2.1.5) on OSX Tiger
 (10.4.2) and seem to have some problems with the sending of Digests.
 
 I have the list set that it will bunch traffic in Digests.  And I
 have the option Should a digest be dispatched daily when the size
 threshold isn't reached? set to YES.  But it is not sending out a
 Daily Digest although there are posts in the queue.

Digest sending is done by cron. Do you have the cron piece of Mailman set
up?

-- Larry Stone
   [EMAIL PROTECTED]
   http://www.stonejongleux.com/


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions

2005-07-28 Thread Brad Knowles
At 7:03 AM -0500 2005-07-28, David Scribner wrote:

  Also, I don't see anything where I can set the time that a Daily
  Digest is sent out.

It's a cron job.  Did you enable all the cron jobs like you were 
supposed to?

   On my current LetterRipPro list server I have
  the Digests for the lists that have a digest option to send for each
  list at a different time, actually about a half an hour apart just to
  lessen the amount of out-going traffic when the Digests get sent.  Is
  it possible to do that same with Mailman?

Nope.  Except for digests that are sent when the size threshold 
is reached, all digests are sent at the same time -- when the 
senddigests cron job is run for that day.

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions

2005-07-28 Thread Jim Tittsler
On Jul 28, 2005, at 21:03, David Scribner wrote:

 Also, I don't see anything where I can set the time that a Daily
 Digest is sent out.  On my current LetterRipPro list server I have
 the Digests for the lists that have a digest option to send for each
 list at a different time, actually about a half an hour apart just to
 lessen the amount of out-going traffic when the Digests get sent.  Is
 it possible to do that same with Mailman?

Yes, by configuring the cron job that sends out the digests.  The  
typical mailman installation uses a single cron task that invokes  
senddigests with no arguments, which causes it to generate periodic  
digests for *all* of the lists that have them enabled.  To stagger  
the digest generation, cause senddigests to be invoked with the -l (-- 
listname) switch to specify individual lists:

0 7 * * *  /usr/local/bin/python -S /usr/local/mailman/cron/ 
senddigests -l list1
30 7 * * * /usr/local/bin/python -S /usr/local/mailman/cron/ 
senddigests -l list2
0 8 * * *  /usr/local/bin/python -S /usr/local/mailman/cron/ 
senddigests -l list3

... for each list with periodic digests.


-- 
Jim Tittsler http://www.OnJapan.net/  GPG: 0x01159DB6
Python Starship  http://Starship.Python.net/crew/jwt/
Mailman IRC  irc://irc.freenode.net/#mailman



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions/ OS X

2005-07-28 Thread Dan Phillips

On Jul 28, 2005, at 7:19 AM, Brad Knowles wrote:

 Nope.  Except for digests that are sent when the size threshold
 is reached, all digests are sent at the same time -- when the
 senddigests cron job is run for that day.

Although wouldn't it be easy enough to do with a little massaging of  
the mailman crontab, creating a different job for each list?

 Usage: /usr/share/mailman/cron/senddigests [options]

 Options:

 -l listname
 --listname=listname
 Send the digest for the given list only, otherwise the  
 digests for all
 lists are sent out.

Dan
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] arch and html files

2005-07-28 Thread Jean-Philippe GIOLA
Dan Phillips wrote:


 On Jul 28, 2005, at 7:53 AM, Jean-Philippe GIOLA wrote:

 Hi all

 I know it is possible to re-create archives' html files for a list  
 using
 /bin/arch listname path_to_listname.mbox
 But my problem is that i want to re-create those html files only  for 
 the
 last mail of listname.mbox

 Is it possible ??



 Look at the options for bin/arch:

 -s N
 --start=N
 Start indexing at article N, where article 0 is the first in  
 the mbox.
 Defaults to 0.


yes but using this option, you must know how many mails there are in the 
mbox file.
and I don't know that number...
Is it possible to know it ?


 -e M
 --end=M
 End indexing at article M.  This script is not very  efficient 
 with
 respect to memory management, and for large archives, it may  
 not be
 possible to index the mbox entirely.  For that reason, you  
 can specify
 the start and end article number

 Dan



-- 
Cordialement,
Jean-Philippe Giola - 6577


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions/ OS X

2005-07-28 Thread Brad Knowles
At 8:30 AM -0500 2005-07-28, Dan Phillips wrote:

  Although wouldn't it be easy enough to do with a little massaging of
  the mailman crontab, creating a different job for each list?

Yup, as Jim Tittsler just pointed out.

Thanks for the correction!

-- 
Brad Knowles, [EMAIL PROTECTED]

Those who would give up essential Liberty, to purchase a little
temporary Safety, deserve neither Liberty nor Safety.

 -- Benjamin Franklin (1706-1790), reply of the Pennsylvania
 Assembly to the Governor, November 11, 1755

   SAGE member since 1995.  See http://www.sage.org/ for more info.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Digest Sending Questions

2005-07-28 Thread Mark Sapiro
Brad Knowles  wrote:

At 7:03 AM -0500 2005-07-28, David Scribner wrote:

   On my current LetterRipPro list server I have
  the Digests for the lists that have a digest option to send for each
  list at a different time, actually about a half an hour apart just to
  lessen the amount of out-going traffic when the Digests get sent.  Is
  it possible to do that same with Mailman?

   Nope.  Except for digests that are sent when the size threshold 
is reached, all digests are sent at the same time -- when the 
senddigests cron job is run for that day.

The default crontab runs 'senddigests' daily at noon. 'sendigests'
sends a digest for all lists that have accumulated any posts. There is
a '-l listname' option to send the digest if any for only the listname
list. Thus, you could set up multiple crontab entries to run
'senddigests -l list1', 'senddigests -l list2', etc. at different
times, but this would be quite a maintenance headache.

Alternatively, instead of having cron run senddigests, you could have
cron run a script of some kind every half hour or whatever and the
script could read a file of listnames and times and run 'senddigests
-l listname' for those lists that had times within that half hour.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] arch and html files

2005-07-28 Thread Mark Sapiro
Jean-Philippe GIOLA wrote:

Dan Phillips wrote:


 On Jul 28, 2005, at 7:53 AM, Jean-Philippe GIOLA wrote:

 Hi all

 I know it is possible to re-create archives' html files for a list  
 using
 /bin/arch listname path_to_listname.mbox
 But my problem is that i want to re-create those html files only  for 
 the
 last mail of listname.mbox

 Is it possible ??



 Look at the options for bin/arch:

 -s N
 --start=N
 Start indexing at article N, where article 0 is the first in  
 the mbox.
 Defaults to 0.


yes but using this option, you must know how many mails there are in the 
mbox file.
and I don't know that number...
Is it possible to know it ?

grep ^From\ path_to_listname.mbox | wc | awk '{print $3-1}' -

I'm assuming you want to use bin/arch to add a message to the archive
and that's why you're not using --wipe in your examples.

bin/arch can read any mbox format file. Thus you could use 'sed' for
example to extract the last message from the mbox and write it to 'x'
and then do 'bin/arch listname x'

From your previous posts about archiving, I assume you are trying to do
this to maintain pipermail archives in addition to using an external
archiver. In that case, it's even easier. Have your external archiver
write the current post to 'x' (you may have to add the initial From_
line) and then do 'bin/arch listname x'.

Alternatively, you could just use Mailman's pipermail archiving only
and build your external achiver to receive its input via an e-mail
address which you subscribe to the list.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Low level bug: (solved)

2005-07-28 Thread Mark Sapiro
Forrest Aldrich wrote:

The problem was an obscure typo in mm_cfg.py.   Missing single quotes, 
basically.  It's obscure because it wasn't very obvious... and I 
looked over everything with a fine-toothed comb, including our proxy and 
httpd setup!

It seems to me that Mailman could probably provide better debugging 
output in this scenario.   I don't know Python, but at the point where 
the mm_cfg.py file is parsed, any syntactical errors could be reported 
then.   ?

The real issue here seems to be that the import from mm_cfg done in the
driver script is inadequately protected. The driver script
print_traceback definition contains

try:
from Mailman.mm_cfg import VERSION
except ImportError:
VERSION = 'lt;undeterminedgt;'

This is fine if there is an ImportError exception, but since mm_cfg.py
is edited by users, it is possible (likely) that there will be a
SyntaxError error exception here, and something more meaningful than
the Mailman experienced a very low level failure and could not even
generate a useful traceback for you. message could be reported.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Help with web-based confirmation

2005-07-28 Thread Russ Romano
Hello...
 
I'm new to the mailman users list.  I was a remote admin for a
listproc-based mailing list for many years and upgrading to mailman a
couple of years ago.  A recent upgrade by our ISP pushed me to mailman
v2.0.13, and certain features appear to have been lost/hidden in this
migration.  I was hoping this group could provide some insight.
 
The biggest issue is that subscription confirmation via email doesn't
appear to work at all.  I'm not sure if mailman is having trouble with
HTML or MIME in the replies, or the appended 's in the reply cause
problems... but it isn't working for the majority of my users.  In the
past there was a very reliable web-based confirmation.  I know this
still exists because I used it to confirm my subscription to THIS list,
but on my confirmation emails it is missing, and I can't find an option
to turn it on via the admin interface.
 
I am a remote admin, and the mailman installation is outside of my
control.  I can work with my ISP to make changes... but they are not
mailman savvy so it is a painful process.  I'm hoping I'm just missing
an easy fix via the admin web interface.
 
Any insight would be appreciated.
 
Thanks,
-Russ
 
 
 
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Single List not Working

2005-07-28 Thread Shane Harsch
I have a single list among 10 others running on Mailman 2.1.5 under SuSE
9.2 with Postfix MTA. All the lists are working but one list.

Monitoring /var/log/mail I see the message come in and get handed off to
mailman for every list, including problemlist.

Monitoring ~mailman/logs/* I see the message post for all lists except
problemlist.

I have verified I can even send a message to the owner of problemlist.

In reviewing the FAQ
(http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.014.htp) I
have verified that everything there is accurate. Obviously, if it works
for every other list, things should be okay.

Since I can send a message to the owner of the list, it seems to only be
a problem with the post script for that particular list. Has something
become frozen?

There are no lock files, no qfiles. When I send a message to
problemlist, not a single entry is made in any of the log files. But
when I send to any other list, one immediately shows up in post.

Now, postfix config got mucked up a few days ago and there were many
rejections by the local mail host for problemlist. My guess is some
setting somewhere got flagged telling the list to stop trying, but I
can't tell what or where, especially since bounce processing was turned
off for this list.

Thank you.

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Help with Virtual Mailman

2005-07-28 Thread Tiago Cruz
Hi @all!
I have progress!!! :) After hours of test, follow:

Vince Van De Coevering escreveu:

 The following is from the gentoo guide
 Code Listing 12.3: Setting defaults: Mailman/Defaults.py
 
 (Change the values below to reflect your primary domain, virtuals will be
 set next.)
 DEFAULT_EMAIL_HOST = 'domain.com'
 DEFAULT_URL_HOST = 'www.domain.com'

Here, I put my virtual domain sagarana.com


 Code Listing 12.4: mailman config: mm_cfg.py
 
 MTA = Postfix
 POSTFIX_STYLE_VIRTUAL_DOMAINS = ['virt-domain.com', 'virt.domain2.com']   
 add_virtualhost('www.virt.domain.com', 'virt.domain.com')
 add_virtualhost('www.virt.domain2.com', 'virt.domain2.com')
 (This is required for your virtual domains for mailman to function.)
 **end paste**

Here, I put my only domain virtual _too_ (sagarana.com)


 My guess is that you need to define your virtual domains in the mm_cfg.py
 file, create your mailing lists, and then restart mailman and reload postfix
 (which forces it to read the hash file mailman creates).  Remember, you'll
 need to reload postfix every time you finish creating/changing mail lists.

In virtual-mailman I put virtual-alias.sagarana.com anything and when 
I run malman/ postfix he put information correctly in this file

Now, postfix can see my [EMAIL PROTECTED] and another, without 
say User unknow!!

Now, I have the problem listed in FAQ called Group mismatch error but 
I don't try fix-it today, but tomorrow I'll try fix this permissions.

(but if somebody will be able to give to a tip I to me would go to like 
sufficiently :)

Thanks a lot!
Brazilian Regards

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Follow-up - Duplicate Messages Sent - Follow-up

2005-07-28 Thread Dan Collins
Hi Y'all --

First, thanks so much to Mark Sapiro for answering a number of questions.

Why the duplicate messages?  I'm still not really sure.  But I had debug on 
in a couple of sendmail config files - etc/resolv.conf and etc/qpopper.conf. 
Python didn't like that I guess and as Mark suggested, Mailman's 
qfiles/retry queued the messages for retry. I removed debug references and 
restarted sendmail. Then deinstalled and reinstalled Mailman.  It appears 
to work fine now;  I'll sleep a lot better if it still looks fine by happy 
hour tomorrow.

Another unrelated thing that drove me crazy was that every time I added a 
list from the command line, or made any change at all from the command line, 
I had to re-run bin/check_perms and chown mailman:mailman mailman.  That's 
because on my set-up (freeeBSD), the user mailman has no log-in (as per 2.1 
in the Installation manual), and so I set the whole thing up as the root 
user.

When re-installing, remove any lists first, run make deinstall from 
ports/mail/mailman (freeBSD) (and NOT rm mailman dir) THEN run make and make 
install. No shortcuts and follow the installation manual. e-x-a-c-t-l-y.

Dan

You can lead a horse to water, but if you get it to lie on its back and 
float, THEN you got something.

- Original Message - 
From: Mark Sapiro [EMAIL PROTECTED]
To: Dan Collins [EMAIL PROTECTED]; mailman-users@python.org
Sent: Wednesday, July 27, 2005 7:32 PM
Subject: Re: [Mailman-Users] Duplicate Messages Sent


 Dan Collins wrote:

The second message I sent to the mailman list had attachments for testing 
scrub; over 50 mb no doubt. That subsequent e-mail has never arrived, but 
a Mailman message informing me that there is an administrative task 
arrived.  I went to the web admin and discarded the message, but the 
administrative warning message continues to arrive every 5 minutes, just 
like freakin clockwork. Could there be two identical cron entries causing 
this or what?


 The only cron that should run every 5 minutes is gate_news. Do you have
 anything set up in Mail-News gateways? The cron that sends the nn
 LISTNAME moderator request(s) waiting message is checkdbs which
 normally runs once daily at 8:00 a.m.

In usr/local/mailman/locks, mailmanctl starts master-qrunner AND 
master-qrunner.bigt dot com dot 17567 (or some other number) Is that 
correct? In usr/local/mailman/data, I have one master-qrunner.pid.

 This is correct. One file data/master-qrunner.pid containing the pid
 and two files locks/master-qrunner and
 locks/master-qrunner.your.host.name.pid both containing the same thing
 as the name of the second file with a full path.


Logs --

Mailman logs have 137KB of locks entries of the type

Jul 27 20:31:00 2005 (9701) mailman.lock unlocked


 This refers to a lock for the 'mailman' list

mailman/logs post read

Jul 27 18:54:14 2005 (17583) post to mailman from 
[EMAIL PROTECTED], size=1783, 
message-id=[EMAIL PROTECTED], 1 failures


 This looks like a mailman generated message. Why is it posted to the
 'mailman' list? Is the'mailman' list an owner or moderator of another
 list or itself? That could probably cause loops.


qrunner logs say

Jul 27 20:26:55 2005 (17567) Master watcher caught SIGTERM.  Exiting.
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17582, sig: None, sts: 15, class: NewsRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17581, sig: None, sts: 15, class: IncomingRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17579, sig: None, sts: 15, class: BounceRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17578, sig: None, sts: 15, class: ArchRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17580, sig: None, sts: 15, class: CommandRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17584, sig: None, sts: 15, class: VirginRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17583, sig: None, sts: 15, class: OutgoingRunner, slice: 1/1)
Jul 27 20:26:55 2005 (17585) RetryRunner qrunner exiting.
Jul 27 20:26:55 2005 (17567) Master qrunner detected subprocess exit (pid: 
17585, sig: None, sts: 15, class: RetryRunner, slice: 1/1)


 Looks like a 'mailmanctl stop' or maybe a kill of the master qrunner.


partial mailman/logs smtp say

Jul 27 20:10:10 2005 (17583) 
[EMAIL PROTECTED] smtp to mailman for 1 
recips, completed in 3.799 seconds
Jul 27 20:25:06 2005 (17583) 
[EMAIL PROTECTED] smtp to mailman for 1 
recips, completed in 1.167 seconds
Jul 27 20:25:07 2005 (17583) [EMAIL PROTECTED] smtp 
to mailman for 2 recips, completed in 0.408 seconds
Jul 27 20:25:24 2005 (17583) 
[EMAIL PROTECTED] smtp to mailman for 1 
recips, completed in 6.489 seconds

partial smtp-failure logs say

Jul 27 20:25:06 2005 (17583) SMTP session 

Re: [Mailman-Users] Help with Virtual Mailman

2005-07-28 Thread Tiago Cruz
Tiago Cruz escreveu:

 Now, I have the problem listed in FAQ called Group mismatch error but 
 I don't try fix-it today, but tomorrow I'll try fix this permissions.

Now, the mailman works beautiful!!! Wonderfoul!!!

For Postfix, follow:
cd /us/ports/mail/mailman
make deinstall
vi Makefile
Set: MAIL_GID?=  mailman
make install

Thanks a lot!!! :D

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread John Dennis
On Thu, 2005-07-28 at 16:28 -0500, roy vinner wrote:
 Greetings!
 
 I have a problem that any address which is supposed to be resolved with
 the path-to-mailman/data/aliases produces a message undeliverable error.
 
 I've also discovered that if I run an alias expansion from the command line
 
 aliases:
 ..
 # STANZA START: try
 # CREATED: Mon Jul 25 17:19:03 2005
 try: |/usr/local/mailman/mail/mailman post try
 try-admin:   |/usr/local/mailman/mail/mailman admin try
 try-bounces: |/usr/local/mailman/mail/mailman bounces try
 try-confirm: |/usr/local/mailman/mail/mailman confirm try
 try-join:|/usr/local/mailman/mail/mailman join try
 try-leave:   |/usr/local/mailman/mail/mailman leave try
 try-owner:   |/usr/local/mailman/mail/mailman owner try
 try-request: |/usr/local/mailman/mail/mailman request try
 try-subscribe:   |/usr/local/mailman/mail/mailman subscribe try
 try-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe try
 # STANZA END: try
 ..
 
 [EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
 Failure to find group name mailman.  Try adding this group
 to your system, or re-run configure, providing an
 existing group name with the command line option --with-mail-gid.
 
 I have re-run mailman's configure as requested by the above message and
 group mailman does exist on my machine. I am clueless as to what is awry
 here with postfix aliases? Is this a postfix or mailman problem?
 
 Let me know if you need any more information for logs or config files.

There are two immediate things to check:

1) I know you said it, but please verify the mailman uid and gid:

# id mailman

2) Postfix has a feature which is it will run the commands found in an
alias file under the identity of the alias file. What is the owner/group
of the alias file:

# ls -l path-to-mailman/data/aliases

if its group does not match what the mailman wrapper is configured for
you'll get group mismatch problems because postfix will attempt to run
the mailman alias commands under the group belonging to the alias file,
not to the mail_owner in postfix's main.cf file. I think I recall a
config variable to turn the postfix behavior off, but you should not do
that because mailman should be creating the alias file and hence it
should match the uid/gid, but if you hand created it, then all bets are
off.
-- 
John Dennis [EMAIL PROTECTED]

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Help with Virtual Mailman

2005-07-28 Thread Kenn Martin
Better yet, add the following to the MAKE_ARGS section of 
/usr/local/etc/pkgtools.conf :

   'mail/mailman' = 'MAIL_GID=mailman',

This will also save you each time you run portupgrade.


--On Thursday, July 28, 2005 6:28 PM -0300 Tiago Cruz 
[EMAIL PROTECTED] wrote:

 Tiago Cruz escreveu:

 Now, I have the problem listed in FAQ called Group mismatch error but
 I don't try fix-it today, but tomorrow I'll try fix this permissions.

 Now, the mailman works beautiful!!! Wonderfoul!!!

 For Postfix, follow:
 cd /us/ports/mail/mailman
 make deinstall
 vi Makefile
 Set: MAIL_GID?=  mailman
 make install

 Thanks a lot!!! :D

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Jan Kohnert
roy vinner schrieb:
 Greetings!

Hello,

 [EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
 Failure to find group name mailman.  Try adding this group
 to your system, or re-run configure, providing an
 existing group name with the command line option --with-mail-gid.

This message says it all. Why not adding group mailman to your system? Be sure 
gid is set to the gid of your mailman installation.

 Thank you for your suggestions.

HTH,

 Thankfully,
 Roy

Best regards Jan

-- 
OpenPGP Public-Key Fingerprint:
0E9B 4052 C661 5018 93C3 4E46 651A 7A28 4028 FF7A


pgpVYD5J9DX24.pgp
Description: PGP signature
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread roy vinner
Hi John,

I appreciate your quick response!

John Dennis wrote:

 On Thu, 2005-07-28 at 16:28 -0500, roy vinner wrote:
 
Greetings!

I have a problem that any address which is supposed to be resolved with
the path-to-mailman/data/aliases produces a message undeliverable error.

I've also discovered that if I run an alias expansion from the command line

aliases:
..
# STANZA START: try
# CREATED: Mon Jul 25 17:19:03 2005
try: |/usr/local/mailman/mail/mailman post try
try-admin:   |/usr/local/mailman/mail/mailman admin try
try-bounces: |/usr/local/mailman/mail/mailman bounces try
try-confirm: |/usr/local/mailman/mail/mailman confirm try
try-join:|/usr/local/mailman/mail/mailman join try
try-leave:   |/usr/local/mailman/mail/mailman leave try
try-owner:   |/usr/local/mailman/mail/mailman owner try
try-request: |/usr/local/mailman/mail/mailman request try
try-subscribe:   |/usr/local/mailman/mail/mailman subscribe try
try-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe try
# STANZA END: try
..

[EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
Failure to find group name mailman.  Try adding this group
to your system, or re-run configure, providing an
existing group name with the command line option --with-mail-gid.

I have re-run mailman's configure as requested by the above message and
group mailman does exist on my machine. I am clueless as to what is awry
here with postfix aliases? Is this a postfix or mailman problem?

Let me know if you need any more information for logs or config files.
 
 
 There are two immediate things to check:
 
 1) I know you said it, but please verify the mailman uid and gid:
 
 # id mailman

[EMAIL PROTECTED] mailman]$ id mailman
uid=505(mailman) gid=407(mailman)
groups=407(mailman),73(apache),503(nrgweb),504(roy),422(www)

 2) Postfix has a feature which is it will run the commands found in an
 alias file under the identity of the alias file. What is the owner/group
 of the alias file:
 
 # ls -l path-to-mailman/data/aliases

[EMAIL PROTECTED] mailman]$ ls -l data/aliases
-rw-rw-r--  1 mailman mailman 2682 Jul 28 11:35 data/aliases


 if its group does not match what the mailman wrapper is configured for
 you'll get group mismatch problems because postfix will attempt to run
 the mailman alias commands under the group belonging to the alias file,
 not to the mail_owner in postfix's main.cf file. I think I recall a
 config variable to turn the postfix behavior off, but you should not do
 that because mailman should be creating the alias file and hence it
 should match the uid/gid, but if you hand created it, then all bets are
 off.

I re-configured mailman with all defaults (I created a group www with
[EMAIL PROTECTED] mailman]$ id www
uid=506(www) gid=422(www) groups=422(www),503(nrgweb),504(roy),407(mailman)

Does this information help you? I am still clueless...

Roy



--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread roy vinner
Hi Jan,

Jan Kohnert wrote:

...
[EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
Failure to find group name mailman.  Try adding this group
to your system, or re-run configure, providing an
existing group name with the command line option --with-mail-gid.
 
 
 This message says it all. Why not adding group mailman to your system? Be 
 sure 
 gid is set to the gid of your mailman installation.

Well, I had added the group mailman before configuring mailman, as per 
installation instructions.
It is there, and I can see it with a gui interface (I run Mandrake 
10.1). But, for some reason, mailman cannot find it.

If you have any leads as to why, I'll provide with any necessary 
information.

Thank you for your time and help!

Roy
 
Thank you for your suggestions.
 
 
 HTH,
 
 
Thankfully,
Roy
 
 
 Best regards Jan
 
 
 
 
 
 --
 Mailman-Users mailing list
 Mailman-Users@python.org
 http://mail.python.org/mailman/listinfo/mailman-users
 Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
 Unsubscribe: 
 http://mail.python.org/mailman/options/mailman-users/roypivn%40indiana.edu
 
 Security Policy: 
 http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Mark Sapiro
roy vinner wrote:

I've also discovered that if I run an alias expansion from the command line

aliases:
..
# STANZA START: try
# CREATED: Mon Jul 25 17:19:03 2005
try: |/usr/local/mailman/mail/mailman post try
try-admin:   |/usr/local/mailman/mail/mailman admin try
try-bounces: |/usr/local/mailman/mail/mailman bounces try
try-confirm: |/usr/local/mailman/mail/mailman confirm try
try-join:|/usr/local/mailman/mail/mailman join try
try-leave:   |/usr/local/mailman/mail/mailman leave try
try-owner:   |/usr/local/mailman/mail/mailman owner try
try-request: |/usr/local/mailman/mail/mailman request try
try-subscribe:   |/usr/local/mailman/mail/mailman subscribe try
try-unsubscribe: |/usr/local/mailman/mail/mailman unsubscribe try
# STANZA END: try
..

[EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
Failure to find group name mailman.  Try adding this group
to your system, or re-run configure, providing an
existing group name with the command line option --with-mail-gid.


Running this from the command line is not necessarily a valid test. The
wrapper (/usr/local/mailman/mail/mailman) exects to be run by the MTA
with the group that was configured by ./configure. This is almost
always not the 'mailman' group. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp



--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread roy vinner
Mark Sapiro wrote:

...
[EMAIL PROTECTED] mailman-2.1.6]$ /usr/local/mailman/mail/mailman request try
Failure to find group name mailman.  Try adding this group
to your system, or re-run configure, providing an
existing group name with the command line option --with-mail-gid.
 
 
 
 Running this from the command line is not necessarily a valid test. The
 wrapper (/usr/local/mailman/mail/mailman) exects to be run by the MTA
 with the group that was configured by ./configure. This is almost
 always not the 'mailman' group. See
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp

I see. So, would setting -mail-gid=postfix instead of mailman be a 
reasonable solution to the problem? Does this setting change whether or 
not postfix runs chrooted or not?

Roy
 
 
 --
 Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Single List not Working

2005-07-28 Thread Mark Sapiro
Shane Harsch wrote:

I have a single list among 10 others running on Mailman 2.1.5 under SuSE
9.2 with Postfix MTA. All the lists are working but one list.

Monitoring /var/log/mail I see the message come in and get handed off to
mailman for every list, including problemlist.


By handed off, do you mean you've seen that the message is actually
piped to the wrapper with a command like

|/usr/local/mailman/mail/mailman post problemlist


Monitoring ~mailman/logs/* I see the message post for all lists except
problemlist.


and you see nothing relevant in 'error' or 'smtp-failure'


I have verified I can even send a message to the owner of problemlist.

In reviewing the FAQ
(http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq03.014.htp) I
have verified that everything there is accurate. Obviously, if it works
for every other list, things should be okay.


Assuming the aliases are OK for problemlist.


Since I can send a message to the owner of the list, it seems to only be
a problem with the post script for that particular list. Has something
become frozen?

There are no lock files, no qfiles.

not even in qfiles/retry/ ?


When I send a message to
problemlist, not a single entry is made in any of the log files. But
when I send to any other list, one immediately shows up in post.

Now, postfix config got mucked up a few days ago and there were many
rejections by the local mail host for problemlist. My guess is some
setting somewhere got flagged telling the list to stop trying, but I
can't tell what or where, especially since bounce processing was turned
off for this list.


No such setting exists within Mailman. Sometimes a list will stop if
there is something bad in the retry queue or the digest mbox file.
There are some posts touching on this in the mailman-users list
archives.

Are you certain postfix is correctly handing the message to the Mailman
wrapper?

Is lists/problemlist/config.pck OK? Can you dump it with
bin/config-list -o?  Can you access the list in the web interface?

If there's a digest mbox file in lists/problemlist try moving it aside.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Mark Sapiro
roy vinner 

Mark Sapiro wrote:

 Running this from the command line is not necessarily a valid test. The
 wrapper (/usr/local/mailman/mail/mailman) exects to be run by the MTA
 with the group that was configured by ./configure. This is almost
 always not the 'mailman' group. See
 http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp

I see. So, would setting -mail-gid=postfix instead of mailman be a 
reasonable solution to the problem? Does this setting change whether or 
not postfix runs chrooted or not?

It would be a solution IF postfix executes the pipe to the wrapper as
group 'postfix'. As far as I know, this group can be configured in
postfix, but I don't know the exact method. I also don't know how this
is affected by running postfix chrooted.

The thing that must be true is that whatever group postfix uses to
execute the pipe to the wrapper must be the same as the
--with-mail-gid= setting given to configure.

The same is true of the group that the web server uses to execute the
cgi-bin wrappers and the --with-cgi-gid= given to configure.

See http://www.list.org/mailman-install/node7.html

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread John W. Baxter
On 7/28/05 4:13 PM, Mark Sapiro [EMAIL PROTECTED] wrote:

 Does this setting change whether or
 not postfix runs chrooted or not?

Well, the option probably doesn't change, but the locations of lots of
things do change.  For starters, if chrooted, Postfix couldn't find the
wrapped CGI unless it were at the proper path inside the jail.  Same
may/should be true for what the CGI tries to reference, and so on.

I'll leave the rest for someone who knows what he or she is talking about.

  --John


--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread roy vinner
Mark Sapiro wrote:

 roy vinner 
 
 
Mark Sapiro wrote:


Running this from the command line is not necessarily a valid test. The
wrapper (/usr/local/mailman/mail/mailman) exects to be run by the MTA
with the group that was configured by ./configure. This is almost
always not the 'mailman' group. See
http://www.python.org/cgi-bin/faqw-mm.py?req=showfile=faq06.016.htp

I see. So, would setting -mail-gid=postfix instead of mailman be a 
reasonable solution to the problem? Does this setting change whether or 
not postfix runs chrooted or not?
 
 
 It would be a solution IF postfix executes the pipe to the wrapper as
 group 'postfix'. As far as I know, this group can be configured in
 postfix, but I don't know the exact method. I also don't know how this
 is affected by running postfix chrooted.

Okay, let's leave postfix alone :-)


 The thing that must be true is that whatever group postfix uses to
 execute the pipe to the wrapper must be the same as the
 --with-mail-gid= setting given to configure.

I originally compiled it with -mail-gid=mailmal (the first value in the 
default list).


 The same is true of the group that the web server uses to execute the
 cgi-bin wrappers and the --with-cgi-gid= given to configure.

I created a group www -- which included apache, mailman, and myself -- 
and set -cgi-gid=www.
The apache would not run the mailman/create, as it was complaining that 
it could not run as www (even though apache was included in ). So I 
set -cgi-gid=mailman and set user and group in apache to mailman. I 
don't know what was wrong there, but it looks like I am having a similar 
issue here.

 See http://www.list.org/mailman-install/node7.html

I remember that web page. I re-ran configure several times by now. Do I 
also need to run make and make install after that to make changes 
persist in /usr/local/mailman? I haven't done that, 'cause I am afraid 
that the changes that I made to various files would be overwritten.

Please, let me know what the reality on this is. I am quite happy to 
have mail-gid=mailman and cgi-gid=apache, if I could make it work that way.

Thank you for your support!

Best regards,
Roy
 --
 Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Help with web-based confirmation

2005-07-28 Thread Mark Sapiro
Russ Romano wrote:
 
I'm new to the mailman users list.  I was a remote admin for a
listproc-based mailing list for many years and upgrading to mailman a
couple of years ago.  A recent upgrade by our ISP pushed me to mailman
v2.0.13, and certain features appear to have been lost/hidden in this
migration.  I was hoping this group could provide some insight.


2.0.13 is very old. 2.1 inal was released in Dec, 2002. Current is
2.1.6. Urge your ISP to upgrade.

 
The biggest issue is that subscription confirmation via email doesn't
appear to work at all.  I'm not sure if mailman is having trouble with
HTML or MIME in the replies, or the appended 's in the reply cause
problems... but it isn't working for the majority of my users.  In the
past there was a very reliable web-based confirmation.  I know this
still exists because I used it to confirm my subscription to THIS list,
but on my confirmation emails it is missing, and I can't find an option
to turn it on via the admin interface.


I don't know about 2.0.13 at all. I don't know if it supports web
confirmation. What I do know is that in 2.1 problems arise in e-mail
confirmations if the users MUA does funny stuff with the subject. A
confirmation message to the user has Subject: confirm token. A
confirming reply needs to go to the listname-request address with the
same subject. There is a kludge so that a reply with a subject such as

Subject: Re: confirm token

will work, but the kludge only ignores at most one 'token' preceding
'confirm' so that for example

Subject: Re : confirm token

will not work (note the space between Re and :).

I don't know if any of this is relevant to your situation. Again, your
best solution is to convince your provider to upgrade if you can.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Elizabeth Lear
Hmm, thanks.

Is there any way to configure it to just pass the attachments through
rather than trying to save them on the server?

...eliz

-- 
Children are made up of genetics, blind luck, and the stories you tell them.
 - The Flying Ks

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Mark Sapiro
roy vinner wrote:

I created a group www -- which included apache, mailman, and myself -- 
and set -cgi-gid=www.
The apache would not run the mailman/create, as it was complaining that 
it could not run as www (even though apache was included in ). So I 
set -cgi-gid=mailman and set user and group in apache to mailman. I 
don't know what was wrong there, but it looks like I am having a similar 
issue here.


The 'mailman' user should be in the 'mailman' group (not in www) and
all mailman files, including particularly the mail/mailman wrapper and
the cgi-bin/* wrappers should be group mailman and setgid.

Run

bin/check_perms -f

as root until it reports no errors.


 See http://www.list.org/mailman-install/node7.html

I remember that web page. I re-ran configure several times by now. Do I 
also need to run make and make install after that to make changes 
persist in /usr/local/mailman? I haven't done that, 'cause I am afraid 
that the changes that I made to various files would be overwritten.

Please, let me know what the reality on this is. I am quite happy to 
have mail-gid=mailman and cgi-gid=apache, if I could make it work that way.


--with-mail-gid= needs to be set to the group that postfix uses to pipe
mail to the mail/mailman wrapper.

--with-cgi-gid= needs to be set to the group that apache uses to
execute the cgi-bin wrappers. This group is set in the Apache config
with the Group directive, so if the apache config contains

Group apache

then Mailman must be configured using --with-cgi-gid=apache

OTOH, if Mailman is configured using --with-cgi-gid=somethingelse this
can work too if the apache config contains

Group somethingelse

The analagous situation is true with postfix and --with-mail-gid except
I can't offhand tell you how to set group in postfix.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Mark Sapiro
Elizabeth Lear wrote:

Is there any way to configure it to just pass the attachments through
rather than trying to save them on the server?

You could remove Scrubber from the pipeline, but I don't think you want
to do that because I think the MIME structure of the message with
attachments will not be properly integrated into the overall digest,
at least for 'plain' digests. This will result in digest recipients
seeing MIME part headers, raw HTML, raw base64 encoded data and so
forth instead of attachments.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] Adding phone number and other information to the subscriber list?

2005-07-28 Thread Casper Tonka
Has anyone modified mailman to allow additional information to go on
the subscriber list, such as phone numbers? I would like to use
mailman as a combination shared phone-directory,  and mailing list
system.

If not, do you know of an alternate system which supports this?
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Roy Vinner
Mark Sapiro wrote:
 roy vinner wrote:
 
I created a group www -- which included apache, mailman, and myself -- 
and set -cgi-gid=www.
The apache would not run the mailman/create, as it was complaining that 
it could not run as www (even though apache was included in ). So I 
set -cgi-gid=mailman and set user and group in apache to mailman. I 
don't know what was wrong there, but it looks like I am having a similar 
issue here.
 
 
 
 The 'mailman' user should be in the 'mailman' group (not in www) and
 all mailman files, including particularly the mail/mailman wrapper and
 the cgi-bin/* wrappers should be group mailman and setgid.
 
 Run
 
 bin/check_perms -f
 
 as root until it reports no errors.

I does run without any errors. Thanks!


See http://www.list.org/mailman-install/node7.html

I remember that web page. I re-ran configure several times by now. Do I 
also need to run make and make install after that to make changes 
persist in /usr/local/mailman? I haven't done that, 'cause I am afraid 
that the changes that I made to various files would be overwritten.

Please, let me know what the reality on this is. I am quite happy to 
have mail-gid=mailman and cgi-gid=apache, if I could make it work that way.
 
 
 
 --with-mail-gid= needs to be set to the group that postfix uses to pipe
 mail to the mail/mailman wrapper.
 
 --with-cgi-gid= needs to be set to the group that apache uses to
 execute the cgi-bin wrappers. This group is set in the Apache config
 with the Group directive, so if the apache config contains
 
 Group apache
 
 then Mailman must be configured using --with-cgi-gid=apache
 
 OTOH, if Mailman is configured using --with-cgi-gid=somethingelse this
 can work too if the apache config contains
 
 Group somethingelse
 
 The analagous situation is true with postfix and --with-mail-gid except
 I can't offhand tell you how to set group in postfix.

So, after I've set the -with-cgi-gid=apache and 
--with-mail-gid=mailman and rerun configure, will I need also to 
re-run make and make install? That will be a job for tomorrow...

Thank you for your support!

Best regards,
Roy

 --
 Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Tokio Kikuchi
Hi Mark,

Mark Sapiro wrote:

 Elizabeth Lear wrote:
 
Is there any way to configure it to just pass the attachments through
rather than trying to save them on the server?
 
 
 You could remove Scrubber from the pipeline, 

Sorry, but use of Mailman.Handlers.Scrubber is hard coded in 
ToDigest.py.  I should have make it configurable like it was for the 
archiver.  :-(

 but I don't think you want
 to do that because I think the MIME structure of the message with
 attachments will not be properly integrated into the overall digest,
 at least for 'plain' digests. This will result in digest recipients
 seeing MIME part headers, raw HTML, raw base64 encoded data and so
 forth instead of attachments.
 
-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Adding phone number and other information to thesubscriber list?

2005-07-28 Thread Mark Sapiro
Casper Tonka wrote:

Has anyone modified mailman to allow additional information to go on
the subscriber list, such as phone numbers? I would like to use
mailman as a combination shared phone-directory,  and mailing list
system.

This may not be what you're looking fore, but there are examples of
MemberAdaptor on sf.net that enable using LDAP and MySQL to hold list
membership information.

http://sf.net/tracker/index.php?func=detailaid=871062group_id=103atid=300103

http://sf.net/tracker/index.php?func=detailaid=839386group_id=103atid=300103

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Is this a mailman or postfix error?

2005-07-28 Thread Mark Sapiro
Roy Vinner 

So, after I've set the -with-cgi-gid=apache and 
--with-mail-gid=mailman and rerun configure, will I need also to 
re-run make and make install? That will be a job for tomorrow...

Yes.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] Adding phone number and other information to thesubscriber list?

2005-07-28 Thread Casper Tonka
On 7/28/05, Mark Sapiro [EMAIL PROTECTED] wrote:

 This may not be what you're looking fore, but there are examples of
 MemberAdaptor on sf.net that enable using LDAP and MySQL to hold list
 membership information.
 
 http://sf.net/tracker/index.php?func=detailaid=871062group_id=103atid=300103
 
 http://sf.net/tracker/index.php?func=detailaid=839386group_id=103atid=300103

Hmmm... these are getting close to what I want. Looks like the LDAP
one breaks some of the critical features of mailman, e.g. bounce
tracking.

And of course, one of the important things I need is for the
subscription process to include the gathering of the phone list
information; neither of these solve that.

Thanks though.
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


[Mailman-Users] mailman and mysql

2005-07-28 Thread Sean Roe
Hi All,

I am having some trouble with integration of mailman and mysql.  We have 
a mysql server that has the mailman databases on it and I can connect to 
it from the mailman server and can send emails out from it but the 
subscribe function appears to not work.  I get the confirmation email 
and I get all the correct responses from the mailman server but the user 
does not show up in the mailman database on the mysql server.  I am a 
little confused as the logs all say that the user has subscribbed 
successfully.  Where do I start to troubleshoot this?

Thanks,
Sean Roe
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Elizabeth Lear
 Sorry, but use of Mailman.Handlers.Scrubber is hard coded in 
 ToDigest.py.  I should have make it configurable like it was for the 
 archiver.  :-(

Ah, thanks.  Before I give up completely, can you say whether scrubber
can be hacked out without breaking things, or is it too integral to
the code?

...eliz

-- 
Children are made up of genetics, blind luck, and the stories you tell them.
 - The Flying Ks

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Tokio Kikuchi
Hi,

Elizabeth Lear wrote:

Sorry, but use of Mailman.Handlers.Scrubber is hard coded in 
ToDigest.py.  I should have make it configurable like it was for the 
archiver.  :-(
 
 
 Ah, thanks.  Before I give up completely, can you say whether scrubber
 can be hacked out without breaking things, or is it too integral to
 the code?
 

I think the plain text digester expects all the messages should be 
either in plain text or can be scrubbed internally, IIRC.  You should 
choose to use MIME digest if you want to deliver those attachments. 
Note also that Scrubber.py is used in the regular delivery (if list 
admin set so), the digester, and the archiver.


-- 
Tokio Kikuchi, tkikuchi@ is.kochi-u.ac.jp
http://weather.is.kochi-u.ac.jp/

--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] attachments being stored for plain-text digests

2005-07-28 Thread Mark Sapiro
Tokio Kikuchi wrote:

Elizabeth Lear wrote:

Sorry, but use of Mailman.Handlers.Scrubber is hard coded in 
ToDigest.py.  I should have make it configurable like it was for the 
archiver.  :-(
 
 
 Ah, thanks.  Before I give up completely, can you say whether scrubber
 can be hacked out without breaking things, or is it too integral to
 the code?
 

I think the plain text digester expects all the messages should be 
either in plain text or can be scrubbed internally, IIRC.  You should 
choose to use MIME digest if you want to deliver those attachments. 
Note also that Scrubber.py is used in the regular delivery (if list 
admin set so), the digester, and the archiver.

As I recall the original post, archives aren't enabled sitewide, and I
don't think the 2.1.6 scrubbing of regular deliveries is an issue only.

The only issue was scrubbed attachments in digests.

If you want to experiment, I think you could add

return(msg)

immediately after

def process(mlist, msg, msgdata=None):

in Mailman/Handlers/Scrubber.py. This might actually work for MIME
format digests, but as Tokio indicates above and I said earlier

I don't think you want
to do that because I think the MIME structure of the message with
attachments will not be properly integrated into the overall digest,
at least for 'plain' digests. This will result in digest recipients
seeing MIME part headers, raw HTML, raw base64 encoded data and so
forth instead of attachments.

--
Mark Sapiro [EMAIL PROTECTED]   The 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://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp


Re: [Mailman-Users] [Mailman-Developers] Low level bug: (solved)

2005-07-28 Thread Barry Warsaw
On Thu, 2005-07-28 at 11:52, Mark Sapiro wrote:

 The real issue here seems to be that the import from mm_cfg done in the
 driver script is inadequately protected. The driver script
 print_traceback definition contains
 
 try:
 from Mailman.mm_cfg import VERSION
 except ImportError:
 VERSION = 'lt;undeterminedgt;'
 
 This is fine if there is an ImportError exception, but since mm_cfg.py
 is edited by users, it is possible (likely) that there will be a
 SyntaxError error exception here, and something more meaningful than
 the Mailman experienced a very low level failure and could not even
 generate a useful traceback for you. message could be reported.

Bare excepts are evil, but maybe it's warranted in this situation.  All
we really care about is the VERSION variable you're right that users can
easily put all manner of nastiness in there.

-Barry



signature.asc
Description: This is a digitally signed message part
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe: 
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org

Security Policy: 
http://www.python.org/cgi-bin/faqw-mm.py?req=showamp;file=faq01.027.htp