Re: [Mailman-Users] Another passwordless unsubscribe script

2001-04-11 Thread Jamey

I can't seem to get this one to work. I have the script installed and I am
getting NO error messages and a confirmation email address telling me I have
been removed, but when I look at the member list my address is still there.

It is as if the "status=`/home/mailman/bin/remove_members newtest $addr`"
part is not working.

I noticed a few typos in the script and fixed those like "rm -f /tmp/addr"
should be "rm -f /tmp/$addr" unfortunately it still does not work.

Any suggestions?

jamey
-- 


> From: "Sintz, James" <[EMAIL PROTECTED]>
> Date: Tue, 10 Apr 2001 09:10:40 -0400
> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]>
> Subject: FW: [Mailman-Users] Another passwordless unsubscribe script
> 
> 
> 
> -Original Message-
> From: Neil Cooler [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 09, 2001 1:27 PM
> To: [EMAIL PROTECTED]
> Subject: [Mailman-Users] Another passwordless unsubscribe script
> 
> 
> 
> I tested out bob's Auto-Unsubscribe script
> (http://nleaudio.com/bnotes/mailman.htm).
> I wasnt really too happy with the fact that it asked for the entire site
> password because when a user unsubscribes, an email gets sent to the
> site admin confirming that the action was completed.  This email
> contains the site password.  I could have set up a separate script for
> each list but that is too much work.  The script I wrote calls the
> remove_member's program.
> 
> Bob's script did not get the email address in the proper way in my
> opinion.  I believe I got around this by getting the return-to address.
> 
> The script below also contains simple logic to make sure that the email
> address was actually removed, and not simply attempted to be removed.
> 
> I included the script below so feel free to use it however you like.
> 
> I am using a beta of the evolution PIM so please be aware that this may
> not word-wrap correctly.
> 
> --neil
> 
> 
> 
> #!/bin/bash
> ###
> # Script for passwordless Mailman list unsubscription via email   #
> ###
> #Neil Cooler <[EMAIL PROTECTED]> #
> ###
> #Last revised: 04/09/01   #
> ###
> # Call from your /etc/aliases file like:  #
> # -unsubscribe: /home/mailman/unsub  #
> ###
> 
> #gets $1 and $2 from the commandline input and adds those values to the
> listname and domain vars.
> listname=$1
> domain=$2
> 
> #reads the second line of the email
> read a2 ;
> 
> #Strips the email address from the second line and puts it in the
> variable 'addr'
> addr="`echo $a2 | awk '{print $2}'`" ;
> 
> #Attempts to remove the user.  IF it does not succeed, it sends a
> message to the user
> status=`/home/mailman/bin/remove_members newtest $addr`
> if [ -n "$status" ]
> then 
> echo "From: $listname-admin@$domain" > /tmp/$addr
> echo "To: $addr" >> /tmp/$addr
> echo "Subject: $listname Unsubscription Confirmation" >> /tmp/$addr
> echo "" >> /tmp/$addr
> echo "There was an error in your attempt to unsusbscribe from the
> $listname mailinglist." >> /tmp/$addr
> echo "It appears that the address you tried to unsubscribe from, $addr
> is not subscribed." >> /tmp/$addr
> echo "Please contact $listname@$domain if you have any questions." >>
> /tmp/$addr
> /usr/lib/sendmail -f $listname-admin@$domain $addr < /tmp/$addr
> rm -f /tmp/addr
> 
> #If the request works, it lets the user know he is unsubscribed.
> else
> echo "From: $listname-admin@$domain" > /tmp/$addr
> echo "To: $addr" >> /tmp/$addr
> echo "Subject: $listname Unsubscription Confirmation" >> /tmp/$addr
> echo "" >> /tmp/$addr
> echo "This message was generated to confirm your unsubscription from" >>
> /tmp/$addr
> echo "$listname@$domain.  You should no longer recieve any messages
> from" >> /tmp/$addr
> echo "this list.  If you change your mind, simply visit the list's" >>
> /tmp/$addr
> echo "Webpage at http://$domain/mailman/listinfo/$listname and subscribe
> again.  If you have" >> /tmp/$addr
> echo "any further questions, please email the admin at
> $listname-admin@$domain.  " >> /tmp/$addr
> echo "Thank You," >> /tmp/$addr
> echo "List Admin" >> /tmp/$addr
> 
> /usr/lib/sendmail -f $listname-admin@$domain $addr < /tmp/$addr
> rm -f /tmp/$addr
> fi
> 
> 
> --
> Mailman-Users maillist  -  [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/mailman-users


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



[Mailman-Users] Urgent: Duplicates with 2.0 final

2001-04-11 Thread Todd Joseph


Sorry for sending this to developers and users.  I'm not sure which
group is more appropriate.  

I've been using 2.0 final for a couple of months now without a
problem.  I've got roughly 60,000 people on my mailing list and I'm
using sendmail as the MTA on RH6.2.  The list is moderated and there
is only 1-2 messages a month.  The last message sent to the list was
sent to some subscribers twice.  I had seen the problem before with
2.0rc1.  From the release notes for 2.0rc2, that is documented as
fixed (bug #117015) (see below).  Anyone know why I would see it
happen again in 2.0 Final?  

Here's what I've done:

(1) Scanned the Archives.  Found a post to mailman-users with no reply
that seems related.  
http://mail.python.org/pipermail/mailman-users/2001-April/010625.html

(2) Looked through Syslog logs for System and Sendmail errors.
Nothing unusual reported.

(3) Looked through the Mailman logs dir (/home/mailman/logs).  Nothing
out of the orinary except in the errors file (see below).  What's
strange about this is the duplicate message had already been sent by
this time (the few duplicates checked showed 1st delivery at ~8PM
April 6 and subsequent delivery at ~2:30AM April 7 -- all times synced
with NTP on systems tested).

Excerpt from /home/mailman/logs/errors:

Apr 07 04:09:18 2001 qrunner(16818): Traceback (innermost last):
Apr 07 04:09:18 2001 qrunner(16818):   File "/home/mailman/cron/qrunner", line 278, in 
?
Apr 07 04:09:18 2001 qrunner(16818):  kids = main(lock)
Apr 07 04:09:18 2001 qrunner(16818):   File "/home/mailman/cron/qrunner", line 256, in 
main
Apr 07 04:09:18 2001 qrunner(16818):  dequeue(root)
Apr 07 04:09:18 2001 qrunner(16818):   File "/home/mailman/cron/qrunner", line 184, in 
dequeue
Apr 07 04:09:18 2001 qrunner(16818):  os.unlink(root + '.db')
Apr 07 04:09:18 2001 qrunner(16818): OSError :  [Errno 2] No such file or directory: 
'/home/mailman/qfiles/c879896f57e6392365c42f995f13c09de378bbcd.db' 

(cut-n-paste for 2.0rc2 release notes)...

>SourceForge bugs fixed: 116615 (README.BSD update), 117015 (duplicate
>messages on moderated posts), 117548 (exception in HyperArch.py),
>117682 (typos), 121185 (vsnprintf signature), 121591 and 122017 (bogus
>link after web unsubscribe), 121811 (`subscribe' in Subject: doesn't
>get archived)

Help...

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



[Mailman-Users] User Unknown error

2001-04-11 Thread Dennis

Just set up mailman (current version) and all went well, until I created 
the first user account.
 From that user account, the confirmation email won't go through, says 
error 550, User [EMAIL PROTECTED] unknown.
I'm running on RH Linux version 6.0, with kernel 2.2.5-15
Thanks for any help.
Dennis 


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



Re: [Mailman-Users] Multiple OUTGOING servers

2001-04-11 Thread J C Lawrence

On Wed, 11 Apr 2001 19:23:28 -0600 
Ashley M Kirchner <[EMAIL PROTECTED]> wrote:

> Can mailman (somehow) make use of multiple OUTGOING mail servers?
> Mailman is currently installed on one server, and I'd like to
> distribute the mail load across two, or more mail servers.  Ideas
> anyone?

Its easier to just configure one of the mail servers to hand off to
the second server.  A typical way to do this would be to delegate
certain TLDs (eg .net, org, etc) to one of the boxes and then have
the other handle everything else.

-- 
J C Lawrence   [EMAIL PROTECTED]
-(*)  http://www.kanga.nu/~claw/
--=| A man is as sane as he is dangerous to his environment |=--

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



Re: [Mailman-Users] Multiple OUTGOING servers

2001-04-11 Thread chuq von rospach


On Wednesday, April 11, 2001, at 06:23  PM, Ashley M. Kirchner wrote:

>
> Can mailman (somehow) make use of multiple OUTGOING mail servers?
> Mailman is currently installed on one server, and I'd like to distribute
> the mail load across two, or more mail servers.  Ideas anyone?
>

Easiest way is to use DNS to create a round-robin of the outgoing 
servers, and then have Mailman server to that dns name.


--
Chuq Von Rospach, Internet Gnome 
[<[EMAIL PROTECTED]> = <[EMAIL PROTECTED]> = <[EMAIL PROTECTED]>]
Yes, yes, I've finally finished my home page. Lucky you.

I tried to get a life once, but they were out of stock.



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



[Mailman-Users] mailman install problems

2001-04-11 Thread Mario Diaz


Hi ,
I'm trying to install mailman in an SGI running IRIX6.5 with sendmail
and python 2.0.
Configuring and installing seems to go without problems.
I check permissions in /home/mailman and no errors are reported.
Start cron and then create a list and keep getting error reports from
cron sent to my email address.
I change the configuration to include several reasonable gids (i.e.
the first time I installed I had SYSLOG reports regarding gid
and use them to change it with a new installation. But I keep getting
similar cron errors (the only difference is that now there no error
reports in SYSLOG).
Checking the logs/error file in mailman this is what I have:
Apr 11 18:55:08 2001 gate_news(76900): Traceback (most recent call last):
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/cron/gate_news",
line 222, in ?
Apr 11 18:55:08 2001 gate_news(76900): 
main()
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/cron/gate_news",
line 203, in main
Apr 11 18:55:08 2001 gate_news(76900): 
process_lists(lock)
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/cron/gate_news",
line 140, in process_lists
Apr 11 18:55:08 2001 gate_news(76900): 
mlist = MailList.MailList(listname, lock=0)
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/Mailman/MailList.py",
line 79, in __init__
Apr 11 18:55:08 2001 gate_news(76900): 
self.Load()
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/Mailman/MailList.py",
line 891, in Load
Apr 11 18:55:08 2001 gate_news(76900): 
dict, e = self.__load(dbfile)
Apr 11 18:55:08 2001 gate_news(76900):   File "/home/mailman/Mailman/MailList.py",
line 868, in __load
Apr 11 18:55:08 2001 gate_news(76900): 
fp = open(dbfile)
Apr 11 18:55:08 2001 gate_news(76900): IOError :  [Errno 13] Permission
denied: '/home/mailman/lists/test/config.db'
ANy clues?
What am I doing wrong?
Thanks,
mario
-- 


Mario Diaz  
The University of Texas at Brownsville
[EMAIL PROTECTED]    Voice:956-5746641    FAX: (956) 5746642
http://utopia.utb.edu/mario

 


[Mailman-Users] Multiple OUTGOING servers

2001-04-11 Thread Ashley M. Kirchner


Can mailman (somehow) make use of multiple OUTGOING mail servers?
Mailman is currently installed on one server, and I'd like to distribute
the mail load across two, or more mail servers.  Ideas anyone?

AMK4

--
W |
  |  I haven't lost my mind; it's backed up on tape somewhere.
  |
  ~
  Ashley M. Kirchner    .   303.442.6410 x130
  SysAdmin / Websmith   . 800.441.3873 x130
  Photo Craft Laboratories, Inc. .eFax 248.671.0909
  http://www.pcraft.com  . 3550 Arapahoe Ave #6
  .. .  .  . .   Boulder, CO 80303, USA



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



[Mailman-Users] URGENT - receiving list message once per minute!

2001-04-11 Thread glennette

Have you ever known Mailman to send the same message over and over and
over??? I sent a message to one of my lists at 1:45 this afternoon and it
has sent the SAME message out ONCE EVERY MINUTE since then!!!

It's doing this with two messages that I sent within a minute or two of each
other.
The technicians are supposedly looking at this but there are about 300
people on the list that are getting the message over and over so I
desperately need to stop this. It may be mailman or the mail server, we're
still trying to determine which.

I'm on digest, please email me at [EMAIL PROTECTED]

HUGS
Glennette /\O/\

P.S. Entrust your website where you can benefit from quality, professional,
reliable, and expedient website services and hosting, all under one roof!!!
PREMIUM WEB DESIGN & HOSTING http://www.premiumwebdesign.com/
Visit C W O W! http://www.cwowfoundation.org/


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



[Mailman-Users] List with Virtual hosts

2001-04-11 Thread darrylc



I would like my email notifications to reflect the virtual host that the
lists are set up for. Currently, when I create a list the list admin gets
an email telling him/her to go to real host to login in to the
configuration pages. This won't work since the I have the ScriptAliases
pointing to the virtual host names. Is there a way around this?

-D


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



[Mailman-Users] Morhall

2001-04-11 Thread Walter Morhall



Hi
 what is the connection to 
Morhall
 
Walter


[Mailman-Users] URGENT HELP NEEDED

2001-04-11 Thread glennette



Have you ever 
known Mailman to send the same message over and over and over???  I sent a 
message to one of my lists at 1:45 this afternoon and it has sent the SAME 
message out ONCE EVERY MINUTE since then!!!  It's doing this with two 
messages that I sent within a minute or two of each other.
 
The technicians 
are supposedly looking at this but there are about 300 people on the list that 
are getting the message over and over so I desperately need to stop this.  
It may be mailman or the mail server, we're still trying to determine 
which.
 
I'm on 
digest, please email me at [EMAIL PROTECTED]


HUGSGlennette  /\O/\P.S.  Entrust your 
website where you can benefit from quality, professional, reliable, and 
expedient website services and hosting, all under one roof!!!
PREMIUM WEB DESIGN & HOSTING http://www.premiumwebdesign.com/
Visit C W O W!  http://www.cwowfoundation.org/
 


[Mailman-Users] (no subject)

2001-04-11 Thread skdjfh






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



Re: [Mailman-Users] Domain only lists

2001-04-11 Thread Fil

@ Michael Ghens ([EMAIL PROTECTED]) :
> I need to make certain lists accept only certain domains. Any suggestions
> are apprecitated.

Just have your MTA accept these addresses only for the specified domain
(with postfix you would use 'virtual' : www.postfix.org/virtual.5.html )

-- Fil


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



[Mailman-Users] Domain only lists

2001-04-11 Thread Michael Ghens

I need to make certain lists accept only certain domains. Any suggestions
are apprecitated.


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



Re: [Mailman-Users] How do I make a list 'moderator post only'

2001-04-11 Thread Anna Fong

I also am interested in setting up my list as a 'moderator post only' list.
The option mentioned by Jesse doesn't seem to exist in Mailman 1.1

Am I missing something or is there a way to do this in Mailman 1.1?  (I can
restrict to members only but not to key email addresses under Privacy
Options).

Anna



Message-Id: <[EMAIL PROTECTED]>
Date: Tue, 10 Apr 2001 09:10:01 -0700
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
From: JC Dill <[EMAIL PROTECTED]>
Subject: Re: [Mailman-Users] How do I make a list 'moderator post only'
In-Reply-To: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
Sender: [EMAIL PROTECTED]
Precedence: bulk
List-Help: 
List-Post: 
List-Subscribe: ,

List-Id: Mailman mailing list management users 
List-Unsubscribe: ,

List-Archive: 

On 08:35 PM 4/9/01, Jesse Kornblum wrote:
 >
 >I'm trying to set up an announcements list, similar to mailman-announce in
 >that I should be the only person posting to the list. Is there a way to do
 >without having to manually reject every post by every other person? (e.g.
 >An option to 'restrict posts to list owner'?)

Someone else previously posted this answer (when this same question was 
asked a few days ago):

Just limit the postings to key e-mails, and not subscribers
in the options pages. The restricted posting access will
make it "announce only."

This seems to be a Frequently Asked Question.  Is there a FAQ for this 
list?  The Mailman FAQs at lists.org do not cover the questions that seem 
to be frequently asked on this list.  This also is a frequent reason people 
setup mailing lists.  Why isn't this better covered in the software 
documentation?  (Why isn't the software's documentation available anywhere 
online  I can't find it at lists.org, I'm told that it's in the readme 
files, so you can't read the documentation until AFTER you download and 
unpack the source code!)  Can the next software release include a blurb 
that is specifically about setting up "announcement only" lists?  I'd be 
happy to do the writing if I could be assured it gets added to the 
documentation.

jc




Anna Q. Fong, Webmaster 
California Data Exchange Center 


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



[Mailman-Users] Sender: header considered harmful (sort of)

2001-04-11 Thread Florian Weimer

Is it possible to remove the sender header from answers to
administrative requests sent out by Mailman?

There's some broken software out there which uses a Sender: header for
replies if it's present, and this software is widely used by some
audiences. :-/

-- 
Florian Weimer[EMAIL PROTECTED]
University of Stuttgart   http://cert.uni-stuttgart.de/
RUS-CERT  +49-711-685-5973/fax +49-711-685-5898

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



Re: [Mailman-Users] can one trace an email note?

2001-04-11 Thread Jerry Adlersfluegel

On Wed, 11 Apr 2001, Philippe Rodriguez wrote:

> Other idea : is there a way to force this per-user reminder message ?
>  (to avoid waiting the end of the month)

Check in the crontab, there is an entry like this:

# 5 AM on the first of each month, mail out password reminders.
0 5 1 * * /usr/bin/python /home/mailman/cron/mailpasswds


There's your command.

-- 
Jerry Adlersfluegel


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



[Mailman-Users] Mailman and exim

2001-04-11 Thread Michelle Murrain

Hi folks,

I'm installing mailman (from tarball) on a debian woody system running exim. 
I'm running into the "mail-gid" problem - exim complains that "Neither the 
system_aliases director nor the address_pipe transport set a uid for local 
delivery of..." 

I'm not a total exim newbie - I've mostly used sendmail. What gid 
should I use for this setup? Besides knowing that exim won't let you use 
root, there's no guidance I can find for the group to use. 

TIA,

Michelle
-- 

Michelle Murrain, Ph.D.
President
Norwottuck Technology Resources
[EMAIL PROTECTED]
http://www.norwottuck.com

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



Re: [Mailman-Users] Mailman and exim

2001-04-11 Thread Nigel Metheringham


[EMAIL PROTECTED] said:
> I'm installing mailman (from tarball) on a debian woody system running
> exim.  I'm running into the "mail-gid" problem - exim complains that
> "Neither the  system_aliases director nor the address_pipe transport
> set a uid for local  delivery of..." 

> I'm not a total exim newbie - I've mostly used sendmail. What gid
> should I use for this setup? Besides knowing that exim won't let you
> use  root, there's no guidance I can find for the group to use.  

Its the gid you specified on the ./configure line - ie if you did
 ./configure  --with-mail-gid=exim --with-cgi-gid=www

then the gid you want is "exim"

That then needs attaching to the aliases director, or alternative skip 
that stuff and go to
http://www.exim.org/howto/mailman.html

Nigel.

-- 
[ Nigel Metheringham   [EMAIL PROTECTED] ]
[ Phone: +44 1423 85 Fax +44 1423 858866 ]
[ - Comments in this message are my own and not ITO opinion/policy - ]



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



Re: [Mailman-Users] can one trace an email note?

2001-04-11 Thread Philippe Rodriguez


On Tue, 10 Apr 2001, alex wetmore wrote:

> On Tue, 10 Apr 2001, Len Hatfield wrote:
> > But because the user is NOT subscribed to my list via the
> > secondary address, and I have no way of knowing which of the 100
> > subscribers has set up the bogus forwarding, which of these is
> > the primary address in this little routing dilmma.
>
> Wait until the 1st of the month when the per-user reminder messages
> are sent out.  The body of this message will contain the email
> address, and it should be included in the NDR.
>
With a similar idea : you can get the list of subscribers and write a
 short script to send each of them an email with subject
 "test of address $subscriber" ... and a short message explaining to your
 subscribers the problem (and asking them to check their forwardings).

Those which have bad forwarding(s) will come back to you with the address
 in the subject ...

Other idea : is there a way to force this per-user reminder message ?
 (to avoid waiting the end of the month)

Phil.



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



[Mailman-Users] Migrating user flags from v1.1 to 2.x?

2001-04-11 Thread Dan Lowe

I have a system running Mailman 1.1, and another system running 2.0.3.
The latter system will be replacing the former.

In any case, I have a need to move the existing lists from one system to
the other, which is easy enough given that there are only two lists to be
moved.  However, I need to cut over the subscriber lists as well, and
preserve all of the flags each subscriber has set.  Since these lists are
each over 5000 users, doing it by hand is daunting, and list_members /
add_members won't set the flags, just add the addresses.

I had a thought that config_list might accomplish this when combined with
list_members / add_members, however 1.1 doesn't seem to have a config_list.

I have a recollection of people using withlist to do strange things like
this, but my copy of withlist apparently has an error in it (i.e. even
"withlist -h" errors out).

root@mail# ./withlist -h
./withlist: 121: Syntax error: EOF in backquote substitution

Is what I'm looking to do possible or will we have to do this by hand?

TIA,
 -dan

-- 
Copying extensively from one source is plagiarism; copying extensively from
several is research.

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