[Mailman-Users] virtual host

2005-01-06 Thread Dave Stern - Former Rocket Scientist
We have a mailman 2.1.5 server that's on a host we cname to listserver. 
When mail goes to mailman, it comes back exposing the actual hostname
in the URL in the mail message rather than the cname. As per faq 4.29, 
I've added to mm_cfg.py something like

DEFAULT_EMAIL_HOST = 'listserver.mydomain.ru'
DEFAULT_URL_HOST = 'listserver.mydomain.ru'
VIRTUAL_HOSTS.clear()
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)
and  restarted the qrunners
Yet the name still bleeds thru in the advertised URL. Is there something
else that needs to be done?
TIA
 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
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/


[Mailman-Users] list bounced addresses

2004-12-17 Thread Dave Stern - Former Rocket Scientist
Is there an easy way to list which addresses on a list in mm215 have
bounces pending? On the membership page, I'd have to go to each letter 
of the alphabet that has subscribers to see if nomail has a ? next 
to it.  Doable, but a pain. Likewise, I could grep the bounce logfile 
but that would include addresses that may have already been unsubscribed 
and are thus now irrelevant

TIA

 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] converted 2.0 moderated to 2.1.5

2004-12-02 Thread Dave Stern - Former Rocket Scientist
I'm converting a few dozen lists from an older install (2.1.12) to
2.1.5 and came across an interesting bug. We have some lists that
were moderated in the old style of 2.0   ie restrict-post-to-members
was set to NO and special people were added to the 
Addresses-of-members-accepted-for-posting-to-this-list-without-implicit-
approval window.

After copying everything across as detailed in the archives and running
withlist and genaliases on the new server, I noted that the lists was
not set up as moderated and I had to do it manually.
* Is this a bug? feature? Is there a way around it?
* Alternatively, is there a relatively painless way to at least identify
such lists on the 2.0.12 side for manual conversion? (I'm guessing probably
dumpdb and some snazzy grepping. Since this will cross lines and thus be
a bit of a pain to script)
* BTW, the instructions for web redirections are flawed as the pattern-
match is not specific enough: If you move over a list called, mine
but leave a list called mine-friends, guess what happens to the web
page redirection for the latter...
The way I've converted lists was:
---On old listserver--
/fs/mailman/bin/list_lists | awk '{print $1}' |tail +2 \
   | tr '[A-Z]' '[a-z]' | while read LISTNAME 
do
scp -r /fs/mailman/lists/$LISTNAME [EMAIL PROTECTED]:/fs/mailman2/lists
scp -r  /fs/mailman/archives/private/$LISTNAME \
 [EMAIL PROTECTED]:/fs/mailman2/archives/private
scp -r  /fs/mailman/archives/private/$LISTNAME.mbox \
 [EMAIL PROTECTED]:/fs/mailman2/archives/private
scp -r  /fs/mailman/archives/public/$LISTNAME \
 [EMAIL PROTECTED]:/fs/mailman2/archives/public
scp -r  /fs/mailman/archives/public/$LISTNAME.mbox \
[EMAIL PROTECTED]:/fs/mailman2/archives/public
done

scp /fs/mailman/tools/all-lists [EMAIL PROTECTED]:/fs/mailman2/tools
ssh root$newlistserver /fs/mailman2/tools/move-all
--On new listserver, move-all-
#ya, ya, no comments about useless cat awards, I know better, I'm lazy
cat /fs/mailman2/tools/all-lists| while read LISTNAME
do
/fs/mailman2/bin/withlist -l -r fix_url $LISTNAME
cp /fs/mailman2/tools/request.pck /fs/mailman2/lists/$LISTNAME
chown -R mailman:mailman /fs/mailman2/archives/private/$LISTNAME
chown -R mailman:mailman /fs/mailman2/archives/public/$LISTNAME
chown mailman /fs/mailman2/lists/$LISTNAME
done
/fs/mailman2/bin/genaliases /tmp/newalias.txt
echo Append appropriate pieces of /tmp/newalias.txt to /fs/lists2/aliases

Suggestions?
Thanks
 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] wrapper busted

2004-11-22 Thread Dave Stern - Former Rocket Scientist
I've got an old install (2.10.12) where, while mail to the lists goes
thru, the daily reminders do not ie the cron
   /usr/local/bin/python -S /fs/mailman/cron/checkdbs
produces
...to=|/fs/mailman/mail/wrapper mailowner mylist, ctladdr=[EMAIL PROTECTED] 
(1/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=139995, dsn=5.3.0, stat=unknown mailer 
error 2
From searching the archive, I believe this is often caused by bad gid but 
the logfiles aren't indicating this.  More importantly, this install has 
been up and working correctly for a while but I believe an operator whacked 
a few files (including wrapper) an restored it from the install. Perms and 
ownership on the file look ok (2755, root:mailman) . I may be screwed,
I may need to try to reinstall the build or find an older backup. Anyone have
any ideas on further diagnosing this.

This'll probably just force the users to finally go to the newer (2.1.5) 
install

TIA
 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] list administrivia

2004-10-27 Thread Dave Stern - Former Rocket Scientist
How does one add the header
^X-List-Administrivia: yes
to mailman stuff that's clearly administrative?
Does this mean anything NOT to the list (eg a non-member trying to
post to a members-only list, stuff to listname-admin, etc) gets
this header?  Will this work in mm2.0.X also or is this just a 2.1 feature?
Forgive me if this is in the faq/searchable archives. Either I couldn't
find it or my eyesight is showing its age.
TIA, Maria ;)
 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


Re: [Mailman-Users] 30,000 Member List - Python Pickle Performance

2004-09-09 Thread Dave Stern - Former Rocket Scientist
On Thu, 9 Sep 2004, Hunter Hillegas wrote:
I am seeing very high CPU usage when sending a message to my list and also
when viewing members in the Web interface.
The list has 30,000 members.
Is this due to the pickle based persistence mechanism used? Can I do
anything to help?
Regarding sending, you'll probably wanna tune your MTA. I had an 11,000
list that affective hung a Sun U10. With some sendmail magic, I was actually
able to get it to handle the load. This included setting up multiple queues
with specifically sized queue runners.
 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] setgroups in mailmanctl

2004-08-02 Thread Dave Stern - Former Rocket Scientist
I have two versions of mailman (2.0.13 and 2.1.5) with a technique to
move and repoint some lists from the older to the newer. The newer has
httpd running as user/group nobody and mm built --with-mail-gid=other.
The webpage is accessible and sending mail to the lists works
fine as well. check_perms checks out, partition with MM has SUID enabled.

When running $MAILMAN/bin/mailmanctl start, I see in the MM logfile
  Warning: unable to setgroups([14999, 14999])

(14999:14999 is user/group mailman)
Can I safely ignore this message seeing how all functionality
indeed works? (Is this a known bug? I see talk of the same type
of prob within the archives but most appear to be where mail will
not be sent out)

TIA



 =-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
   Institute for Advanced Computer Studies

--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] SUID woes

2004-07-22 Thread Dave Stern - Former Rocket Scientist
This is getting annoying. I know this is in the FAQ; perhaps someone can
explain it better (or at least differently than in the FAQ.)
I ultimately want apache to run with user and group nobody (60001:60001)
I have a mailman user (14999:14999). I've tried compiling mm2.1.5 with
most possible combinations of
 --with-mail-gid=YYY --with-cgi-gid=XXX
(where XXX and YYY are mailman and nobody and then tweaking user/group of
httpd.conf)
We are running smrsh so there's a link from /var/adm/sm.bin/mailman
Mailman user has sgid on his home and check_perms passes.
Connecting to the webpage, it takes a while but ultimately succeeds but logfile
shows:
 [ID 809163 kern.info] NOTICE: admin, uid 14999: setuid execution not allowed,
dev=1170080
So what params *should* it be built with?
TIA
 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


Re: [Mailman-Users] SUID woes

2004-07-22 Thread Dave Stern - Former Rocket Scientist
On Thu, 22 Jul 2004, Mike Horwath wrote:
On Thu, Jul 22, 2004 at 12:25:43PM -0400, Dave Stern - Former Rocket Scientist wrote:
 [ID 809163 kern.info] NOTICE: admin, uid 14999: setuid execution not
 allowed,
dev=1170080
Is the filesystem mounted to allow suid execution of binaries?
That was one of the first things I checked. Made a script to write a 
file, made it sgid mail and ran it.

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] covert/modify config dump to pickle

2004-07-21 Thread Dave Stern - Former Rocket Scientist
In moving lists from one host to another (older MM2.0 to 2.1) I noticed that
while update will convert lists, it leaves bad remnants of the old host
within the config.pck ie the hostname. This includes the web_page_url
and hostnames of umbrella lists if you have sublists. The result being 
once I reach the admin page of a list on the new host, passing the cursor 
over various options (eg membership) shows the links point to the old host.

I found a brute force way to modify this using the vim editor to do
global substitutions but there must be a cleaner way to completely
convert things. If not, consider this a wishlist for something to take
dumpdb output and push it into a config.db/pck

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] convert config.db to pck?

2004-07-20 Thread Dave Stern - Former Rocket Scientist
I want to move lists from one machine (mailman 2.0.x) to a newer 2.1.x 
installation. Assuming I

- tailor new host http.conf as needed
- set mmsitepass on new
- modify mm_cfg.py, 
- use web redirects from the old to the new
- redirect aliases on old to new
- scp $MAILMAN/archive/private/LISTNAME{.mbox to new host
- genalias on new host
- run $MAILMAN//bin/update -f   on new host

I still need to copy over and convert $MAILMAN/lists/LISTNAME*
right? I presume the big deal is {config|request}.db. I can use dumpdb to
get that to ascii, how do I load it into the new as config.pck?
TIA

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies
--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] converting list from one architecture to another

2004-04-14 Thread Dave Stern - Former Rocket Scientist
We're considering moving an existing mailman structure from solaris to
linux. Once the new linux platform is built and configured, can I get
away with just moving the list data to the new machine ie assuming nothing
is queued up or awaiting admin approval,

copy $MAILMAN/archives to the new machine,
copy $MAILMAN/lists to the new machine,
copy $MAILMAN/Mailman/{Default|mm_cfg}.py* over also.

Thanks


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/


[Mailman-Users] list too big?

2004-02-11 Thread Dave Stern - Former Rocket Scientist
We have a tiny sun ultra 10 handling 100-200 lists with general success.
It's running an older version of MM (2.0.13) as I haven't gotten around
to upgrading and don't see many new features we'd want.  Most of our lists
have 3-400 users and work fine. I just recently added one with over 11,000
addresses. Coincidentally, or not, the machine periodically hangs when this
list tries to send out. This is despite having added some failsafes in
sendmail eg load average refuse/delay queuing, connect and bad rcpt
throttling etc.

One thing I've see in the qrunner log is:
  Could not acquire qrunner lock

Suggestions? Has anyone had any experience with really large lists on
really small machines?



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] list too big?

2004-02-11 Thread Dave Stern - Former Rocket Scientist
On 11 Feb 2004, Jon Carnes wrote:

 On Wed, 2004-02-11 at 07:26, Dave Stern - Former Rocket Scientist wrote:
  We have a tiny sun ultra 10 handling 100-200 lists with general success.
  It's running an older version of MM (2.0.13) as I haven't gotten around
  to upgrading and don't see many new features we'd want.  Most of our lists
  have 3-400 users and work fine. I just recently added one with over 11,000
  addresses. Coincidentally, or not, the machine periodically hangs when this
  list tries to send out. This is despite having added some failsafes in
  sendmail eg load average refuse/delay queuing, connect and bad rcpt
  throttling etc.
 
  One thing I've see in the qrunner log is:
Could not acquire qrunner lock
 
  Suggestions? Has anyone had any experience with really large lists on
  really small machines?
 
 My guess - RAM.  Add more Ram - lots more RAM.

 Mailman loads the entire list into memory when processing it. Your
 larger list requires a larger hunk of memory. Look at the servers
 utilization when trying to send to that list.  You should be able to
 pinpoint the limiting factor.

 What sort of disk subsystem do you have?  SCSI or IDE?  If your moving a
 lot of traffic or have really large lists, SCSI is a must.

 We've discussed large lists a lot in the archives.  If you can not add
 more RAM then I suggest you break the larger list down into several
 smaller list.

 Good Luck -
 Jon Carnes


Thanks for your help. The memory on this beast is maxed out at a screaming
512Meg. It's an IDE structure but we just put in an emergency PR for a 15Krpm
scsi disk for /var/spool/mqueue and found a source for cheap scsi cards.
I've also made it a cache-only nameserver.

If these things don't resolve it, I'm gonna have to break it up into perhaps
26 sublists (A-Z) and make the main list an umbrella list.

Ultimately, we're gonna need a faster machine but layer 8 of the OSI model
(political) works slowly here ;)



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] member_posting_only

2003-10-24 Thread Dave Stern - Former Rocket Scientist
On Fri, 24 Oct 2003, Richard Barrett wrote:


 On Wednesday, October 22, 2003, at 09:34  pm, Andrew Watson wrote:

  My ISP is running mailman 2.0.7
  Due to spam, I recently changed my list options to:
 
  Restrict posting privilege to list members? ( member_posting_only ) -
  yes
 
  Since the change, i have noticed no difference. I must still manually
  discard every spam posting.
  Is this option non-functional in 2.0.7?
 

 Upgrading to MM 2.1.3 will give you the ability to have non-members
 postings automatically discarded (or held or rejected or accepted).


Alternatively, wipe out pending for select lists. Something like:

# useless cat award spews out only lists we wish to wipe
cat $PREFIX/clean-pending.dat | while read LISTNAME
do
  cp $PREFIX/request-template.db $PREFIX/lists/$LISTNAME/request.db
  rm $PREFIX/data/heldmsg-$LISTNAME-[+0-9]*.txt
done


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] umbrella lists

2003-10-23 Thread Dave Stern - Former Rocket Scientist
We've had probs with nested lists in the past. I think the issue had to do
with private lists (ie only members can post) for both the sublist(s) and
the umbrella list. If set, how could a member of a sublist post to the
umbrella list unless either the umbrella list was unrestricted or the
user was also on the umbrella list? As I understand it, an umbrella list
should *ONLY* be a list of lists and have no users. But that still wont
allow a sublist member from posting to the umbrella, right?   So one
option we've entertained is to wipe and rebuild superlists each night
(ie dump sublist member addresses, wipe and reload them into superlist
instead of having nested list). This also makes employee-exit procedures
harder (how to find all lists a person is a member. I wrote a script that
lists_lists and recursivesly list_members and greps, kinda slow for many
lists.   OTOH, superlists guarantee someone isn't on two sublists and thus
gets two iterations of lists.

What have others done on this issue?

Another concern is; what happens if someone sends to a superlist during a
list rebuild? Is sync_members robust enough to at least always keep one
list of addresses around?

TIA


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] auto-deleting held messages

2003-10-22 Thread Dave Stern - Former Rocket Scientist
This is unsolicited but I'm sure someone has or will be bitten by this. So
consider this an amendment to the FAQ.

There's an answer in the FAQ on automatically deleting held messages along
with a script. In the following situation, Given list somelist as *well*
as list somelist-blah,

when the script runs, for list  somelist due to the wildcard, it'll wipe
any pending msgs in the other list. The patch is to just tighten up the
regexp to search for 1 or more numbers after the dash ie
   rm ~mailman/data/heldmsg-$LISTNAME-[+0-9]*.txt
(And even that might not be tight enough if you happen to have another list
somelist-1)


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] spamassassin with mm2.1.3

2003-10-17 Thread Dave Stern - Former Rocket Scientist
Has anyone gotten this to work?

I followed the instructions at
http://www.daa.com.au/~james/articles/mailman-spamassassin/

but now nothing goes thru and the error log says

Oct 17 14:01:07 2003 (29854) Uncaught runner exception: global name 'False' is not 
defined
Oct 17 14:01:07 2003 (29854) Traceback (most recent call last):
  File /fs/mailman2/Mailman/Queue/Runner.py, line 110, in _oneloop
self._onefile(msg, msgdata)
  File /fs/mailman2/Mailman/Queue/Runner.py, line 160, in _onefile
keepqueued = self._dispose(mlist, msg, msgdata)
  File /fs/mailman2/Mailman/Queue/IncomingRunner.py, line 130, in _dispose
more = self._dopipeline(mlist, msg, msgdata, pipeline)
  File /fs/mailman2/Mailman/Queue/IncomingRunner.py, line 153, in _dopipeline
sys.modules[modname].process(mlist, msg, msgdata)
  File /fs/mailman2/Mailman/Handlers/SpamAssassin.py, line 76, in process
score, symbols = check_message(mlist, str(msg))
  File /fs/mailman2/Mailman/Handlers/SpamAssassin.py, line 58, in check_message
connection = spamd.SpamdConnection(SPAMD_HOST)
  File /fs/mailman2/Mailman/Handlers/spamd.py, line 79, in __init__
self.request_headers = mimetools.Message(StringIO.StringIO(), seekable=False)
NameError: global name 'False' is not defined

Oct 17 14:01:07 2003 (29854) SHUNTING: 
1066413667.322263+e093d2f8ddc007ba43f897f8caa718ced2d9fb58


I also tried modifying Defaults.py and adding into the GLOBAL_PIPELINE sections
a line saying   `SpamAssassin',   just like the other modules but that didn't
work either.

TIA

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] auto generate aliases for mm2.1.3?

2003-10-16 Thread Dave Stern - Former Rocket Scientist
I'm testing mailman 2.1.3 and was hoping that the -o option for newlist
would actually work (ie auto append to my sendmail aliases file the
appropriate stuff). It doesn't appear to and the only other thing I
found in the archives is using  genaliases but I'd have to munge a
script to get just the piece I want.

Any ideas?
TIA

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] trimming archives

2003-04-03 Thread Dave Stern - Former Rocket Scientist
On Thu, 3 Apr 2003, Dave  Stern - Former Rocket Scientist wrote:

 How do you trim back archives? I presume

 find {$MAILMAN}/archives/private -name *.gz -exec rm {} \;

 would be a bad idea as the indices still think they exist (or would
 the cronjobs fix this)



Before I get a flurry of RTF-faq messages, perhaps I should explain in better
detail. Let's say I wanna remove ALL archived data prior to 2003. I could

find {$MAILMAN}/archives/private -name 2002-* -exec rm -rf {} \;

which will take care of the txt an gzipped files and running
{$MAILMAN}/bin/arch `{$MAILMAN}/bin/list_lists`
would theoretically rearchive them but the problem is the index.html files
for each list still has a stanza for each month.

What I'm looking for is an automated way of cleaning things up. I don't
wanna have to manually edit the idex.html altho it sounds like I may have to
ie something like doing another find for index.html, exec sed where it
searches for 2002, go back a line to the beginning of the tr stanza,
delete to EOF, and re-add /table /BODY /HTML Yech


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] mailman + spamassassin

2003-03-13 Thread Dave Stern - Former Rocket Scientist
On Thu, 13 Mar 2003, Jonas Meurer wrote:

 On 11/03/2003 Detlef Neubauer wrote:
   also. Now I would like to configure mailman to filter every incoming
   mail through spamassassin.
 
  I think it would better you let your MTA or procmail to do this job.

 Ok, let procmail do the job is fine, but is there a procmailrc that can
 be used for every list, I mean one procmailrc for all the lists, without
 adding an entry for every list?


It's theoretically possible but really messy. You'll still need an entry in
aliases for each list eg:

listname: |/usr/local/bin/procmail -m /etc/procmailrc
   and /etc/procmailrc will be rather universal, first running spamassassin
followed by something like

:0
|/etc/mailman/mail/wrapper post $LISTNAME

the tricky part is figuring out how to pass it the $LISTNAME param.
The only way I know to get the listname is from some massive processing of
the message itself, probably parsing it from the List-Post: header (but only
if it exists ie what if you have other mbx'es on the list machine receiving
mail...)  so if you do figure out how to do this, I'd love to see it.
Otherwise, my feeling is it's not worth it to do it this way

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman and home pages

2003-03-05 Thread Dave Stern - Former Rocket Scientist
On Tue, 4 Mar 2003, Brian W. Kinne wrote:

 Greetings;

 This may be more apache related, but am hoping someone else has already succeeded at 
 this. I'm trying to set up mailman so that the listinfo page is the default homepage 
 for the virtual server. The closest I've come is displaying listinfo as a binary. 
 I'm running redhat 8, apache 2.0.40, and mailman 2.1.1.


One way is a redirect.
goto your ServerRoot as defined in httpd.conf
create an index.html containing  something like


html
META HTTP-EQUIV=refresh CONTENT=1;URL=http://lists.domain/mailman/admin/;
/html


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] compiling mm2.1.1 with sendmail

2003-03-03 Thread Dave Stern - Former Rocket Scientist
I'm having the devil of a time getting mailman to work with sendmail. It
compiles and installs ok but contstantly bickers about

Mailman expected the mail
wrapper script to be executed as group other, but
the system's mail server executed the mail script as
group mailman.  Try tweaking the mail server to run the
script as group other, or re-run configure,
providing the command line option `--with-mail-gid=mailman'.

Details; have mailman account,group, homedir sgid,
./configure --prefix=/etc/mailman --with-mail-gid=mailman --with-cgi-gid=mailman
make
make install
cd $PREFIX/bin
./check_perms -f
./check_perms -f
   first time finds and corrects all the template errors, second runs clean
   web page is accessible, can create list eg listname mailman
   but no notification  is sent to the list owner


ln -s /etc/mailman/mail/mailman /var/adm/sm.bin
Mar  3 11:57:25 myhost.domain sm-mta[29735]: [ID 801593 mail.info] h23GvO5302973
5: from=[EMAIL PROTECTED], size=660, class=0, nrcpts=1, msgid=200303031656.h23
[EMAIL PROTECTED], proto=ESMTP, daemon=MTA, relay=anotherhost [128.8.120.
201]
Mar  3 11:57:25 myhost.domain Mailman mail-wrapper: [ID 702911 mail.error] Group
 mismatch error.  Mailman expected the mail
Mar  3 11:57:25 myhost.domain wrapper script to be executed as group mailman,
but
Mar  3 11:57:25 myhost.domain the system's mail server executed the mail script
as
Mar  3 11:57:25 myhost.domain group other.  Try tweaking the mail server to ru
n the
Mar  3 11:57:25 myhost.domain script as group mailman, or re-run configure,
Mar  3 11:57:25 myhost.domain providing the command line option `--with-mail-gid
=other'.
Mar  3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvO5302973
5: to=|/etc/mailman/mail/mailman post mailman, ctladdr=[EMAIL PROTECTED]
 (1/0), delay=00:00:01, xdelay=00:00:00, mailer=prog, pri=30902, dsn=5.3.0, stat
=unknown mailer error 2
Mar  3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvO5302973
5: h23GvP53029736: DSN: unknown mailer error 2
Mar  3 11:57:25 myhost.domain sm-mta[29736]: [ID 801593 mail.info] h23GvP5302973
6: to=[EMAIL PROTECTED], delay=00:00:00, xdelay=00:00:00, mailer=esmtp, pri=31926, 
relay=anotherhost. [128.8.120.201], dsn=2.0.0, stat=Sent (h23Gucm8027833 Mes
sage accepted for delivery)


% ls -l /etc/mailman/mail/mailman
-rwxr-sr-x   1 mailman  mailman25736 Mar  3 11:45 /etc/mailman/mail/mailman

Even tried modifying sendmail.cf to use
  O DefaultUser=mailman  but I REALLY don't wanna do that.

Tried rebuilding with --with-mail-gid=other.  Anyone else come across this?



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Mailman/Held Messages for Admin

2003-03-02 Thread Dave Stern - Former Rocket Scientist
On Thu, 27 Feb 2003, Ingrid Kast Fuller wrote:

 Is there anyway to SELECT ALL and REJECT ALL in the Held messages for the
 admin.  Our list is getting so many spams, I have to click one by one thru
 136 messages to get rid of all of them.  Is there another way to delete
 them. Maybe I just need to know where the HELD messages are and delete them
 in Unix.  Please let me know if you know the solution by direct email to
 this address. Thanks.



I set up a script that drains the que. It first shows the subject of each:

Define your mailman prefix  and then


cd $PREFIX/data
for listname in `ls heldmsg-*|sed 's/heldmsg-//' | \
   sed 's/\-[0-9]*\.txt*//'| sort -u `

do
  echo Messages queued to list $listname
  egrep ^From:|^Subject:  *$listname*
  echo drain que? (y/n) 
  read  ans
case $ans in
   Y|YES|y|yes)
   cp $PREFIX/request-template.db \
  $PREFIX/lists/$listname/request.db
   rm $PREFIX/data/heldmsg-$listname*
;;
   *)
  continue
   ;;
 esac
done

Note the request-template.db which is just an empty request.db from one
of the un-queued-up lists.


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Another error - Services unavailable

2003-02-28 Thread Dave Stern - Former Rocket Scientist
 On Fri, 2003-02-28 at 03:36, Heather J. Lubinsky wrote:
  Any idea why this would be happening?
  I wonder if something is wrong with my server
  Mailman 2.0.8 and Linux  apache
  Heather
 
  Return-Path: [EMAIL PROTECTED]
  Received: from localhost (localhost)
   by pcosupport.org (8.11.6/8.11.6) id h1S8PlL06733;
   Fri, 28 Feb 2003 00:25:47 -0800
  Date: Fri, 28 Feb 2003 00:25:47 -0800
  From: Mail Delivery Subsystem [EMAIL PROTECTED]
  Message-Id: [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  MIME-Version: 1.0
  Content-Type: multipart/report; report-type=delivery-status;
   boundary=h1S8PlL06733.1046420747/pcosupport.org
  Subject: Postmaster notify: see transcript for details
  Auto-Submitted: auto-generated (postmaster-notification)
  Status:
 
  This is a MIME-encapsulated message
 
  --h1S8PlL06733.1046420747/pcosupport.org
 
  The original message was received at Fri, 28 Feb 2003 00:25:47 -0800
  from localhost
  with id h1S8PlK06733
 
 - The following addresses had permanent fatal errors -
  [EMAIL PROTECTED]
  (reason: 550 5.0.0 Access denied)
 
 - Transcript of session follows -
  ... while talking to mail.pcolist.org.:
   MAIL From:
   550 5.0.0 Access denied
  554 5.0.0 Service unavailable
 

Another possibility is that sendmail was built with tcpwrap support and
thus sendmail is being restricted by tcpwrappers (/etc/hosts.{allow,deny}

Can the sender mconnect (telnet yourhost 25)?

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] Site list is missing: mailman

2003-02-27 Thread Dave Stern - Former Rocket Scientist
On Wed, 26 Feb 2003, Tomas wrote:

 I am trying to start qrunner on my system - I can run it manually.  When I try
 to start it with the script that I copied to my /etc/rc.d/init.d/ directory, it
 gives me this message, and does not start:

 Site list is missing: mailman

 What does this mean??


When you first set up mailman, the instructions tell you to create a
list called mailman. I too thought this was just a suggestion or
mechanism to test that the install was done correctly...


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mailman and spamassassin

2003-02-26 Thread Dave Stern - Former Rocket Scientist
Seeing how others have asked about this, I've gotten an older version of
mailman (2.0.12) and spamassassin (2.1) working together.  Let's say
the list in question is called mylist

- add to you aliases file
  mylist: /usr/local/bin/procmail -m /etc/procmailrc

- /etc/procmail include things like

:0fw
| /etc/SpamAssassin/spamassassin -P  -c /etc/SpamAssassin/rules


:0:
* ^X-Spam-Status: Yes
/tmp/Likelyspam

:0:
|/etc/mailman/mail/wrapper post mylist


Now it would be nice if the /etc/procmailrc file could be universal for all
lists. Anyone know how to set a variable to fighure out from which list
the message was coming?  (worst case scenario, I'll have to write up a
procmail rule to parse the ^To: address but I was wondering if there's
an easier way?

Thanks




 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: Fw: [Mailman-Users] Re: Example of bad line break in subjectheader

2003-02-25 Thread Dave Stern - Former Rocket Scientist
On Mon, 24 Feb 2003, Sumeet Pannu wrote:

 2. Does anyone have any idea how to force sendmail to pipe ALL mailman
 messages to procmail and set up a rule to remove the tabs before sending the
 message to the users, but after it has already mangled the subject line?
 thanks, sumeet.

set procmail as your LDA (local delivery agent). This can be done by
modifying the .mc file to include:
FEATURE(`local_procmail')

The resultant sendmail.cf  will have a line containg something like:
Mlocal, P=/usr/local/bin/procmail, F=lsDFMAw5:/|@qSPfhn9, S=EnvFromL/Hdr
FromL, R=EnvToL/HdrToL,
T=DNS/RFC822/X-Unix,
A=procmail -Y -a $h -d $u

Here's where it gets  tricky (or cool). Now you can create a systemwide
procmailrc eg /etc/procmailrcthat contains what you want to execute
but to have this take affect, you'll need to have a .procmailrc in all
users accounts (eg in the mailman account?) containing something like:
INCLUDERC=/etc/procmailrc

Thus users will have their own procmailrc and run the systemwide one.
This can be done automatically on solaris by putteing a template .procmailrc
into /etc/skel.

Sound complicated? You're right. Probably, a better way to handle this
might be to set up a sendmail ruleset that automatically does this
without the need for procmail. But writting sendmail rulesets (even if
they are only three lines or so) can be scary. Try poking around
comp.mail.sendmail   for help on this


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


Re: [Mailman-Users] authentication problem on upgrade

2003-02-25 Thread Dave Stern - Former Rocket Scientist
On Mon, 24 Feb 2003, Matthew Davis wrote:

 * Dave Stern - Former Rocket Scientist ([EMAIL PROTECTED]) wrote:
  I'm going from 2.0.13 to 2.1.1. The machine I want to first test it on
  has no compiler so I copy the real mailman structures onto another machine,
  (let's call it test.domain) have account, group, perms etc set up,
 [snip]
  Traceback (most recent call last):
File /etc/mailman/scripts/driver, line 87, in run_main
  main()
File /etc/mailman/Mailman/Cgi/admin.py, line 82, in main
  cgidata.getvalue('adminpw', '')):
File /etc/mailman/Mailman/SecurityManager.py, line 219, in WebAuthenticate
  print self.MakeCookie(ac, user)
File /etc/mailman/Mailman/SecurityManager.py, line 234, in MakeCookie
  c = Cookie.SimpleCookie()
  AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'
 
  Any ideas?

 Try cleaning out the cookies on the client machine.  There have been
 problems with old 2.0.13 cookies interfearing with 2.1 cookies.


Sounds like a good idea. How is this done? I presume you're not talking
about the subscribers cookies in ~/.netscape/cookie. I see
$PREFIX/Mailman/Cookie.py
$PREFIX/Mailman/Handlers/CookHeaders.py
Do these need to be modified or do they access some DBfile?



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] mm2.0.X to 2.1.1 upgrade, spamassassin

2003-02-25 Thread Dave Stern - Former Rocket Scientist
Regarding the problems I had where the tracedump was complaining of
authentication/cookies, I was able to resolve the problem by unprotecting
things some (chmod g+w  in $PREFIX/logs, $PREFIX/archives/private)
and then re-running check_perms. Interesting that check_perms ran
successfully previously

Looking at the options now, I'm not sure I'll upgrade. I do like the
privacy--sender-filter option: Action to take for postings from non-members
   for which no explicit action is defined.

(previously, I used a cron to wipe mail sent to lists held for moderator and
add mailfilters for moderators to not see notifications of held messages.

But I'm disappointed that there aren't any obvious/simple hooks to have this
play with spamassassin. Or has anyone else successfully done this?


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] authentication problem on upgrade

2003-02-24 Thread Dave Stern - Former Rocket Scientist
I'm going from 2.0.13 to 2.1.1. The machine I want to first test it on
has no compiler so I copy the real mailman structures onto another machine,
(let's call it test.domain) have account, group, perms etc set up,

configure --prefix=/etc/mailman --build=test.domain \
  --host=test.domain

make install
copy resulting structure (/etc/mailman) onto new machine

edit /etc/mailman/Mailman/mm_cfg.py and Defaults.py on test.domain to have
 the correct hostname and path

restart web server

I can get to the main page but it fails to authenticate me.
I even rerun mmsitepass on test.domain.   I presume it takes this
as I can create a new list.


Here's the error I get on the webpage when I try to authenticate and get into
the newly created list (or existing lists)
===
Bug in Mailman version 2.1.1

We're sorry, we hit a bug!

If you would like to help us identify the problem, please email a copy of this page to 
the webmaster for this site with a description of
what happened. Thanks!

Traceback:

Traceback (most recent call last):
  File /etc/mailman/scripts/driver, line 87, in run_main
main()
  File /etc/mailman/Mailman/Cgi/admin.py, line 82, in main
cgidata.getvalue('adminpw', '')):
  File /etc/mailman/Mailman/SecurityManager.py, line 219, in WebAuthenticate
print self.MakeCookie(ac, user)
  File /etc/mailman/Mailman/SecurityManager.py, line 234, in MakeCookie
c = Cookie.SimpleCookie()
AttributeError: 'Mailman.Cookie' module has no attribute 'SimpleCookie'

Any ideas?

Thanks




 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: [EMAIL PROTECTED]
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org


[Mailman-Users] domain restriction or wish list

2003-01-24 Thread Dave Stern - Former Rocket Scientist
Is it possible to have a list that's only partially restricted?
Specifically, I'd like a list that only people within our domain
could post to.

If this is not possible, then consider this for the next iteration
of the mailman v2.x wishlist



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] highly closed list

2002-12-29 Thread Dave Stern - Former Rocket Scientist
We've set up a number of private lists (only the admin can post or only the
admin plus members). Now the admins are complaining about the request
for post approval messages from spammers. Is there any way to have non-members
messages completely disappear or at worst, get an autoreply saying the list
is private?

Thanks



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



[Mailman-Users] nested/umbrella lists

2002-11-08 Thread Dave Stern - Former Rocket Scientist
Is it a correct statement that if you have nested lists, the sub-lists
MUST be open-posting to allow the umbrella list to post to it?

Say I have a list called dave-test  which includes both user addresses and
names of one or more sublists. I thought I'd simply be able to add under
privacy-options in sublist Addresses of members accepted for posting to
this list without implicit approval requirement. But that didn't seem to
work. What is the format? Is it [EMAIL PROTECTED]? dave-test\@host\.domain?

What can the Alias names (regexps) be used for?

Thanks



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland
Institute for Advanced Computer Studies


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/

This message was sent to: archive@jab.org
Unsubscribe or change your options at
http://mail.python.org/mailman/options/mailman-users/archive%40jab.org



Re: [Mailman-Users] HTdig intergration pb

2002-07-29 Thread Dave Stern - Former Rocket Scientist

On Mon, 29 Jul 2002, Odhiambo Washington wrote:

 * Richard Barrett [EMAIL PROTECTED] [20020729 13:50]: wrote:
  At 12:13 29/07/2002 +0300, Odhiambo Washington wrote:
  Maybe someone who has successfully intergrated HTDig and Mailman can help 
  me.
  
  I've been trying to get this to work but problems keep creeping in.
  I've followed the INSTALL.htdig-mm (almost to the letter) but I do feel
  I am not quite correct in the setting that I have and so I get errors
  like this:
  
  
  htdig: Unable to find configuration file 
  '/usr/local/mailman/archives/private/elections-2002/htdig/elections-2002.conf'
  htmerge: Unable to find configuration file 
  '/usr/local/mailman/archives/private/elections-2002/htdig/elections-2002.conf'
  
  

I had some difficulties with htdog (sic) as well. It assumes too much. I solved
problems by first specifying a lot of explicit paths:

./configure --prefix=/fs/mailman/search \
 --with-config-dir=/fs/mailman/wwwconfig \
 --with-common-dir=/fs/mailman/wwwconfig \
 --with-database-dir=/fs/mailman/wwwdb \
 --with-cgi-bin-dir=/fs/mailman/cgi-bin \
 --with-image-dir=/fs/lists/htdocs/htdig \
 --with-search-dir=/fs/lists/htdocs/htdig 

Then building the initial database using as much verbosity as possible:
/fs/mailman/search/bin/rundig -c /fs/mailman/wwwconfig/htdig.conf -s -v
and starting the cronjob with same
/fs/mailman/search/bin/rundig -c /fs/mailman/wwwconfig/htdig.conf -s -v

The -v in both of the above should show you what it's looking for.
(I just happen to break apart wwwdb and common purposely to reduce the
possibility of a deadlock on cron rebuild and cp from wwwdb in common
later)


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   


--
Mailman-Users mailing list
[EMAIL PROTECTED]
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/



Re: [Mailman-Users] wrapper not available for sendmail?

2002-07-16 Thread Dave Stern - Former Rocket Scientist

On Mon, 15 Jul 2002, Philip White wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I created the a etc-officers mailing list, but when I try to subscribe
 to it from a different e-mail address, here's what I get in response to
 my confirmation reply:
 
 
 ~   - The following addresses had permanent fatal errors -
 |/home/mailman/mail/wrapper mailcmd etc-officers
 ~(reason: service unavailable)
 ~(expanded from: [EMAIL PROTECTED])
 
 ~   - Transcript of session follows -
 smrsh: wrapper not available for sendmail programs
 554 5.0.0 Service unavailable
 

Looks like you're running sendmail with smrsh (secure mail shell). To get it
to work with mailman, you'll need to make a link in wherever smrsh things
should be linked on your OS. eg On Solaris, it's /var/adm/sm.bin. If this
directory doesn't exist, create it then populate it with anything that smrsh
will need to run eg procmail, vacation, wrapper. It may look something like
this:

% ls -l /var/adm/sm.bin

lrwxrwxrwx   1 root other 23 Aug  9  2001 procmail - 
/usr/local/bin/procmail*
lrwxrwxrwx   1 root other 25 Jun 28 10:38 wrapper - 
/home/mailman/mail/wrapper



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] configure fails on 2.0.12

2002-07-15 Thread Dave Stern - Former Rocket Scientist

Has anyone had problems running configure on mailman2.0.12?
2.0.11 builds fine but when I download 12 onto same box, I
consistantly get 
...checking for CGI extensions... no
./configure: test: unknown operator ==

Is there a new requirement or a bad script?

To force the issue, I can copy all the config files from 2.0.11 as
well as the Makefiles and it's happier...

Thanks

 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] mailman install

2002-07-10 Thread Dave Stern - Former Rocket Scientist

I'm re-installing mailman on an automounted partition and am having some
problems. The install goes as planned and I can even make lists and people
receive welcome messages but I can't send to the list and can't reach 
the webpage. 

Log for the webpage:


[- Mailman Version: 2.0.11 -]
[- Traceback --]
Traceback (most recent call last):
  File /fs/mailman/scripts/driver, line 71, in run_main
immediate=1)
  File /fs/mailman/Mailman/Logging/StampedLogger.py, line 49, in __init__
Logger.__init__(self, category, nofail, immediate)
  File /fs/mailman/Mailman/Logging/Logger.py, line 40, in __init__
self.__get_f()
  File /fs/mailman/Mailman/Logging/Logger.py, line 55, in __get_f
f = self.__fp = open(self.__filename, 'a+', 1)
IOError: [Errno 13] Permission denied: '/fs/mailman/logs/error'
[- Python Information -]
sys.version= 2.1.2 (#1, Feb  5 2002, 12:02:08) 
[GCC 2.95.3 20010315 (release)]
sys.executable = /usr/local/bin/python
sys.prefix = /usr/local/bin/../stow/python
sys.exec_prefix= /usr/local/bin/../stow/python
sys.path   = /usr/local/bin/../stow/python
sys.platform   = sunos5
[- Environment Variables -]
DOCUMENT_ROOT: /etc/lists/htdocs
SERVER_ADDR: 128.8.120.234
HTTP_ACCEPT_ENCODING: gzip
SERVER_PORT: 80
HTTP_CONNECTION: Keep-Alive
GATEWAY_INTERFACE: CGI/1.1
HTTP_ACCEPT_LANGUAGE: en
REMOTE_ADDR: 128.8.120.123
SERVER_NAME: spam.umiacs.umd.edu
TZ: US/Eastern
HTTP_USER_AGENT: Mozilla/4.76 [en] (X11; U; SunOS 5.7 sun4u)
HTTP_ACCEPT_CHARSET: iso-8859-1,*,utf-8
HTTP_ACCEPT: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/
png, */*
REQUEST_URI: /mailman/listinfo
QUERY_STRING: 
SCRIPT_FILENAME: /fs/mailman/cgi-bin/listinfo
HTTP_HOST: spam.umiacs.umd.edu
REQUEST_METHOD: GET
SERVER_SIGNATURE: ADDRESSApache/1.3.26 Server at spam.umiacs.umd.edu 
Port 80/ADDRESS

SCRIPT_NAME: /mailman/listinfo
SERVER_ADMIN: [EMAIL PROTECTED]
SERVER_SOFTWARE: Apache/1.3.26 (Unix)
PYTHONPATH: /fs/mailman
SERVER_PROTOCOL: HTTP/1.0
REMOTE_PORT: 40973

When I send to the list, I'm also seeing:
Jul 10 11:32:04 spam.umiacs.umd.edu genunix: [ID 809163 kern.info] NOTICE: wrapper, 
uid 1: setuid execution not allowed, dev=1170007
Jul 10 11:32:05 spam.umiacs.umd.edu sendmail[4329]: [ID 801593 mail.info] 
g6AFW41t004328: to=|/fs/mailman/mail/wrapper post mytest, 
ctladdr=[EMAIL PROTECTED] (1/0), delay=00:00:01, xdelay=00:00:01, 
mailer=prog, pri=30996, dsn=5.3.0, stat=unknown mailer error 1
Jul 10 11:32:05 spam.umiacs.umd.edu sendmail[4329]: [ID 801593 mail.info] 
g6AFW41t004328: g6AFW51t004329: DSN: unknown mailer error 1

We have a later version of sendmail with smrsh and links in /var/adm/sm.bin
to the wrapper.

So does mailman not allow automounts? what about suid?

Also, I thought that this (2.0.11) is the latest non-beta version of mailman.
Is that true?



 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   



--
Mailman-Users mailing list
[EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://www.python.org/cgi-bin/faqw-mm.py



[Mailman-Users] filtering with procmail

2002-02-15 Thread Dave Stern - Former Rocket Scientist

Anyone have any experience filtering with procmail with mailman2.0.8? The FAQ 
gives hints but seems to be incomplete.

Given a list called test, with entries in aliases as
test:|/home/mailman/mail/wrapper post test
test-admin:  |/home/mailman/mail/wrapper mailowner test
test-request:|/home/mailman/mail/wrapper mailcmd test
test-owner:  test-admin

the FAQ says to just modify test to be 
test:|/usr/local/bin/procmail -m MAILMAN=test /etc/procmailrc-mailman

What about the other entries?

does /etc/procmailrc-mailman need any special permissions?

TIA





 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users



[Mailman-Users] getting mailman to work at all

2002-02-11 Thread Dave Stern - Former Rocket Scientist

I've installed mailman-1.1 on a solaris 5.7 box with the latest apache and
python. I can create a list and access, modify the config web pages but mail
never goes through.

While it passed check_perm, all files were installed root:mailman. I changed
them to mailman:mailman but that didn't make a difference. What should 
ownership be?

The ~mailman/logs/smtp-failures say:

TrySMTPDelivery: To ['[EMAIL PROTECTED]']:
TrySMTPDelivery:exceptions.TypeError  / connect() takes exactly 1 argument (2 
given)  (dequeued)

Any idea what might be wrong?

TIA


 =-=-=-=-=-=-=-=-=-=-=-=-  generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-=-=-=
 David SternUniversity of Maryland 
Institute for Advanced Computer Studies   


--
Mailman-Users maillist  -  [EMAIL PROTECTED]
http://mail.python.org/mailman/listinfo/mailman-users