[Mailman-Users] monthly password reminders

2009-08-03 Thread Con Wieland
I run a server with a few hundred lists. When the monthly password  
reminders are sent they are sent from mailman-owner and so the  
bounces come back to the main mailman-bounces address. Is there a way  
to have them come from the list so they are returned to the  
individual list owners?


Con Wieland
University of California at Irvine
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] monthly password reminders

2009-08-03 Thread Mark Sapiro
Con Wieland wrote:

I run a server with a few hundred lists. When the monthly password  
reminders are sent they are sent from mailman-owner and so the  
bounces come back to the main mailman-bounces address. Is there a way  
to have them come from the list so they are returned to the  
individual list owners?


Since the reminders may be for multiple list subscriptions, they can't
come from a single list other than the site list. The alternative
would be to send an individual reminder for each subscription. I think
this would be too burdensome for people subscribed to multiple lists.

Note that bounces of password reminders should be rare unless you never
deal with them. Normally they will only occur under one of three
scenarios

1) the member has set delivery off and forgotten about the list and
then the member's address died.

2) the list is dormant.

3) the list doesn't do bounce processing or doesn't have effective
settings for bounce processing.

Under all other circumstances, normal bounce processing will remove the
member.

I recognize that dealing with these can be a burden for site admins,
especially on first upgrading from pre 2.1.11 where these bounces were
never seen and there can be a lot of them, but once they are dealt
with, the ongoing occurrence should be minor.

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

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


Re: [Mailman-Users] monthly password reminders

2009-08-03 Thread LuKreme

On 3-Aug-2009, at 12:06, Con Wieland wrote:
I run a server with a few hundred lists. When the monthly password  
reminders are sent they are sent from mailman-owner and so the  
bounces come back to the main mailman-bounces address. Is there a  
way to have them come from the list so they are returned to the  
individual list owners?


No, because reminders are sent from mailman, not from each list.

If subscribe to several lists at one domain (one mailman install, to  
be perfectly accurate), I only get one reminder message.


I think you can have your list-owners be subscribe to the mailman list  
though.


--
My little brother got his arm stuck in the microwave. So my mom had
to take him to the hospital. My grandma dropped acid this
morning, and she freaked out. She hijacked a busload of
penguins. So it's sort of a family crisis. Bye!

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


Re: [Mailman-Users] monthly password reminders

2009-08-03 Thread Mark Sapiro
LuKreme wrote:


I think you can have your list-owners be subscribe to the mailman list  
though.


In the case of password reminder bounces, that won't help because
Password reminders come from the site list and bounces of messages
from the site list are not sent to the list just as ordinary list
bounces are not sent to the list. In the case of the site list
however, there is no automated bounce processing. Site list bounces
are sent to the addresses listed as 'owner' of the site list.

See the comments in the _dispose() method in
Mailman/Queue/BounceRunner.py for some information as to why this is
done.

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

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


[Mailman-Users] Monthly password reminders not functioning

2008-11-28 Thread Rob

Hi,

Using v.2.1.9 on Mac OS X Server v10.5.5

Everything else is working nicely, but I just realized that our  
monthly password reminders are not being sent. I can manually trigger  
a password reminder using the options page 'Remind' button, and that  
goes through immediately.


I have checked all of the mailman logs and don't see anything  
suspicious.


Any clues on where I would start looking for the root of this problem?

Thanks in advance,

-Rob McLear

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


Re: [Mailman-Users] Monthly password reminders not functioning

2008-11-28 Thread Brad Knowles

on 11/26/08 3:43 PM, Rob said:


Using v.2.1.9 on Mac OS X Server v10.5.5


We'll provide what assistance we can, but please do keep in mind the 
issues discussed at 
http://wiki.list.org/pages/viewpage.action?pageId=4030530 and 
http://wiki.list.org/pages/viewpage.action?pageId=4030523.


Everything else is working nicely, but I just realized that our monthly 
password reminders are not being sent. I can manually trigger a password 
reminder using the options page 'Remind' button, and that goes through 
immediately.


I have checked all of the mailman logs and don't see anything suspicious.


Your Mailman cron job isn't running.


Any clues on where I would start looking for the root of this problem?


See section 9 of the Mailman Installation Manual at 
http://list.org/mailman-install/node41.html


--
Brad Knowles [EMAIL PROTECTED]
LinkedIn Profile: http://tinyurl.com/y8kpxu
--
Mailman-Users mailing list
Mailman-Users@python.org
http://mail.python.org/mailman/listinfo/mailman-users
Mailman FAQ: http://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] Monthly password reminders not functioning

2008-11-28 Thread Mark Sapiro
Rob wrote:

Using v.2.1.9 on Mac OS X Server v10.5.5

Everything else is working nicely, but I just realized that our  
monthly password reminders are not being sent. I can manually trigger  
a password reminder using the options page 'Remind' button, and that  
goes through immediately.

I have checked all of the mailman logs and don't see anything  
suspicious.

Any clues on where I would start looking for the root of this problem?


Is crond running on your server? If so, does Mailman's crontab have an
entry for cron/mailpasswds?

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] monthly password reminders

2008-09-01 Thread Alan . Rubin

Hello,

Is there any way, besides editing the options.html template file, to completely
disable regular/monthly password reminders?  According to the list options page,
whether or not a list sends out reminders individual subscribers can still
change this setting.

Regards,

Alan Rubin
Technician Unix
DCS Midrange Services
Phone: +61 (08) 8999 6814
Fax:  +61 (08) 8999 7493
e-Mail: [EMAIL PROTECTED]

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


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

Is there any way, besides editing the options.html template file, to completely
disable regular/monthly password reminders?  According to the list options 
page,
whether or not a list sends out reminders individual subscribers can still
change this setting.


Granted, it could be more clear, but if you read the description of
Get password reminder email for this list? on the options page, it
says the user can turn off reminders by selecting No. It does not say
the the user can get reminders if the list setting is off.

In fact, if the list is set to not send reminders, the list is not
included in reminders regardless of any list member's setting.

Also, A site can disable monthly reminders all together by removing the
cron/mailpasswds entry from Mailman's crontab.

However, none of this prevents a user from requesting a reminder from
the options login page.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Alan . Rubin
Mark,

Is that a singular reminder that is requested and not a periodic one (if monthly
reminders are set off)?

Regards,

Alan Rubin
Technician Unix
DCS Midrange Services
Phone: +61 (08) 8999 6814
Fax:  +61 (08) 8999 7493
e-Mail: [EMAIL PROTECTED]



 Mark Sapiro
 [EMAIL PROTECTED]
 
 Sent by:To 
 mailman-users-bounc [EMAIL PROTECTED],  
 es+alan.rubin=nt.go mailman-users@python.org   
 [EMAIL PROTECTED] 
cc 

Subject 
 02/09/2008 08:45 AM Re: [Mailman-Users] monthly password   
 reminders  










[EMAIL PROTECTED] wrote:

Is there any way, besides editing the options.html template file, to completely
disable regular/monthly password reminders?  According to the list options
page,
whether or not a list sends out reminders individual subscribers can still
change this setting.


Granted, it could be more clear, but if you read the description of
Get password reminder email for this list? on the options page, it
says the user can turn off reminders by selecting No. It does not say
the the user can get reminders if the list setting is off.

In fact, if the list is set to not send reminders, the list is not
included in reminders regardless of any list member's setting.

Also, A site can disable monthly reminders all together by removing the
cron/mailpasswds entry from Mailman's crontab.

However, none of this prevents a user from requesting a reminder from
the options login page.

--
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://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/alan.rubin%40nt.gov.au

Security Policy: http://wiki.list.org/x/QIA9


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


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

Is that a singular reminder that is requested and not a periodic one (if 
monthly
reminders are set off)?


If the list's send_reminders is set to No, no periodic reminders are
sent for that list regardless of the user's setting on the user
options page.

If the user clicks the Remind button on the options login page (after
providing her email address), she will get a one-time reminder
regardless of any other settings.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Alan . Rubin
Mark/list,

on a different but related tact, what could I alter in the cron script to send
out a 'reminder' that the user belongs to the list, but not actually send the
password?  IT Security is a little antsy about having these passwords floating
around through the email system (don't ask).

Regards,

Alan Rubin
Technician Unix
DCS Midrange Services
Phone: +61 (08) 8999 6814
Fax:  +61 (08) 8999 7493
e-Mail: [EMAIL PROTECTED]



 Mark Sapiro
 [EMAIL PROTECTED]
 
 Sent by:To 
 mailman-users-bounc [EMAIL PROTECTED],  
 es+alan.rubin=nt.go mailman-users@python.org   
 [EMAIL PROTECTED] 
cc 

Subject 
 02/09/2008 09:05 AM Re: [Mailman-Users] monthly password   
 reminders  










[EMAIL PROTECTED] wrote:

Is that a singular reminder that is requested and not a periodic one (if
monthly
reminders are set off)?


If the list's send_reminders is set to No, no periodic reminders are
sent for that list regardless of the user's setting on the user
options page.

If the user clicks the Remind button on the options login page (after
providing her email address), she will get a one-time reminder
regardless of any other settings.

--
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://wiki.list.org/x/AgA3
Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/
Unsubscribe:
http://mail.python.org/mailman/options/mailman-users/alan.rubin%40nt.gov.au

Security Policy: http://wiki.list.org/x/QIA9


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


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Mark Sapiro
[EMAIL PROTECTED] wrote:

on a different but related tact, what could I alter in the cron script to send
out a 'reminder' that the user belongs to the list, but not actually send the
password?  IT Security is a little antsy about having these passwords floating
around through the email system (don't ask).


The easiest way to do this, although not the prettiest would be to
change the lines

# treates [EMAIL PROTECTED] the same as [EMAIL PROTECTED]
try:
password = mlist.getMemberPassword(member)
except Errors.NotAMemberError:
# Here's a member with no passwords, which I think
was
# possible in older versions of Mailman.  Log this
and
# move on.
syslog('error', 'password-less member %s for list
%s',
   member, mlist.internal_name())
continue
optionsurl = mlist.GetOptionsURL(member)

(lines 152-162 in cron/mailpasswds) to


# treates [EMAIL PROTECTED] the same as [EMAIL PROTECTED]
password = 'password elided'
optionsurl = mlist.GetOptionsURL(member)


or some such.

You may also wish to make an edited version of the cronpass.txt
template that explains what's going on, but note this must be a 'site'
template as monthly password reminders don't come from a list. See
http://wiki.list.org/x/jYA9.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Jeffrey Goldberg

On Sep 1, 2008, at 6:42 PM, [EMAIL PROTECTED] wrote:


IT Security is a little antsy about having these passwords floating
around through the email system (don't ask).


Would they be willing to accept these passwords being mailed around if  
you were to disable individuals' ability to set their own password?   
That is, if the only passwords that mailman ever mailed were the  
mailman generated ones, would they be happier with those?


And is there a way to prevent people from using their own passwords?

Cheers,

-j


--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: [Mailman-Users] monthly password reminders

2008-09-01 Thread Mark Sapiro
Jeffrey Goldberg wrote:

And is there a way to prevent people from using their own passwords?


You would have to disable the user set password in
Mailman/Cgi/subscribe.py and Mailman/Commands/cmd_subscribe.py and
disable the password change in Mailman/Cgi/options.py.

-- 
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://wiki.list.org/x/AgA3
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://wiki.list.org/x/QIA9


[Mailman-Users] Monthly password reminders not going out

2005-12-09 Thread Bob Bergey
Apologies if this is a duplicate message; I sent it yesterday 
afternoon but never saw it show up on the list.

I have about a dozen lists running on Mailman 2.1.4 on an XServe with 
OSX 10.3.9; all but one are set to send out monthly password 
reminders, but none are going out. Other than that, Mailman is 
running perfectly the last 2-1/2 months -- messages, digest, 
archives, all working as they should be. Any suggestions as to why 
the monthly reminders aren't being sent? The initial notices with the 
password when someone subscribes do go out okay.

Bob
--
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] Monthly password reminders not going out

2005-12-09 Thread Mark Sapiro
Bob Bergey wrote:

I have about a dozen lists running on Mailman 2.1.4 on an XServe with 
OSX 10.3.9; all but one are set to send out monthly password 
reminders, but none are going out. Other than that, Mailman is 
running perfectly the last 2-1/2 months -- messages, digest, 
archives, all working as they should be. Any suggestions as to why 
the monthly reminders aren't being sent? The initial notices with the 
password when someone subscribes do go out okay.


Is the cron to run cron/mailpasswds at 5 a.m. on the first of the month
(or other time) actually scheduled?

-- 
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] Monthly password reminders not working

2005-10-19 Thread Mark Sapiro
Darren G Pifer wrote:
 
 I added this to my version of mailpasswds at line 237:
 
 print msg=%s % (msg)
 msg.send(sitelist, **{'errorsto': sitebounce,
   '_nolist' : 1,
   'verp': mm_cfg.VERP_PASSWORD_REMINDERS,
  })

Just to let everyone know, for grins and giggles, I changed the msg.send
line to:

msg.send(mlist)

and it sent the password reminder. Now I must find out why the original
code did not work. Can someone who knows python tell me what the second
argument to msg.send is doing?


It is adding those three items and values to the message metadata (the
msgdata dictionary). I think 'errorsto' once was used to set the
Errors-To: header, but this is now set unconditionally to the envelope
sender in SMTPDirect.py and 'errorsto' is ignored. '_nolist' : 1
causes CookHeaders.py to skip adding rfc 2369 headers. 'verp':
mm_cfg.VERP_PASSWORD_REMINDERS sets VERP delivery based on the value
of VERP_PASSWORD_REMINDERS in mm_cfg.py or Defaults.py.


Also, were there changes in the code
from 2.1.6b4 (our current version) to 2.1.6 for mailpasswds? We will be
upgrading soon but I wonder if we should do it sooner rather than later.


No. there were no changes in mailpasswds from 2.1.6b1 through the 2.1.6
final release.
 
-- 
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] Monthly password reminders not working

2005-09-22 Thread Darren G Pifer
Hello,

On Wed, 2005-09-21 at 14:01, John Dennis wrote:
 On Wed, 2005-09-21 at 13:44 -0400, Darren G Pifer wrote:
  
  Anything else?
 
 Well, if it were me I'd edit the script and throw in a few print
 statements in a few judicious places to track what it was or wasn't
 doing since you're not getting any info in the logs.
 
 Python print statements are pretty easy, in its simplest form:
 
 print value1=%s value2=%s % (value1, value2)
 
 each %s is replaced by the matching value inside the parens, just make
 sure the indentation of the print statement lines up.

Thanks for the 'print' statement because I do not know python, but
it will be on my list to learn it.

I added this to my version of mailpasswds at line 237:

print msg=%s % (msg)
msg.send(sitelist, **{'errorsto': sitebounce,
  '_nolist' : 1,
  'verp': mm_cfg.VERP_PASSWORD_REMINDERS,
 })

The output from the print statement shows that everything is in the
message but once it hands off to msg.send for the delivery that is
it. Where is msg.send located? Also, has anyone played with the
test_message.py script in the mailman/tests directory? I haven't seen
any documentation on the test code, a Google search offers no help and
the Mailman FAQ wizard comes up with zero hits.

Darren
Old Dominion University


--
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] Monthly password reminders not working

2005-09-22 Thread Darren G Pifer
Hello,

On Thu, 2005-09-22 at 11:28, Darren G Pifer wrote:
 Hello,
 
 On Wed, 2005-09-21 at 14:01, John Dennis wrote:
  On Wed, 2005-09-21 at 13:44 -0400, Darren G Pifer wrote:
   
   Anything else?
  Python print statements are pretty easy, in its simplest form:
  
  print value1=%s value2=%s % (value1, value2)
  
  each %s is replaced by the matching value inside the parens, just make
  sure the indentation of the print statement lines up.
 
 Thanks for the 'print' statement because I do not know python, but
 it will be on my list to learn it.
 
 I added this to my version of mailpasswds at line 237:
 
 print msg=%s % (msg)
 msg.send(sitelist, **{'errorsto': sitebounce,
   '_nolist' : 1,
   'verp': mm_cfg.VERP_PASSWORD_REMINDERS,
  })

Just to let everyone know, for grins and giggles, I changed the msg.send
line to:

msg.send(mlist)

and it sent the password reminder. Now I must find out why the original
code did not work. Can someone who knows python tell me what the second
argument to msg.send is doing? Also, were there changes in the code
from 2.1.6b4 (our current version) to 2.1.6 for mailpasswds? We will be
upgrading soon but I wonder if we should do it sooner rather than later.

Darren 

--
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] Monthly password reminders not working

2005-09-21 Thread Darren G Pifer
Hello,

  I thought this was working when we moved to Mailman 2.1.6b4
in June, (I could be wrong) but the monthly password reminder
is not working. I, and a colleague, have tried to manually
test the script for a single list but it is not working. The
script that runs out of mailman's cron is:

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

  I tried testing with:

$ pwd
/usr1/mailman/mailman/cron

$ runas -u mailman ./mailpasswds -l testlist

  It just exits. Nothing in the mail or mailman logs.

  Other details: Red Hat Enterprise Linux AS release 3

  Any suggestions?

Darren
Old Dominion University

--
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] Monthly password reminders not working

2005-09-21 Thread John Dennis
On Wed, 2005-09-21 at 10:42 -0400, Darren G Pifer wrote:
 Hello,
 
   I thought this was working when we moved to Mailman 2.1.6b4
 in June, (I could be wrong) but the monthly password reminder
 is not working. I, and a colleague, have tried to manually
 test the script for a single list but it is not working. The
 script that runs out of mailman's cron is:
 
 # 5 AM on the first of each month, mail out password reminders.
 0 5 1 * * /usr/bin/python -S /usr1/mailman/mailman/cron/mailpasswds
 
   I tried testing with:
 
 $ pwd
 /usr1/mailman/mailman/cron
 
 $ runas -u mailman ./mailpasswds -l testlist
 
   It just exits. Nothing in the mail or mailman logs.
 
   Other details: Red Hat Enterprise Linux AS release 3
 
   Any suggestions?

Have you verified that the list has its password reminder flag set to
yes under general options and that the per user option to receive
reminders is enabled for at least some members of the list?
-- 
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] Monthly password reminders not working

2005-09-21 Thread Darren G Pifer
On Wed, 2005-09-21 at 12:13, John Dennis wrote:

I tried testing with:
  
  $ pwd
  /usr1/mailman/mailman/cron
  
  $ runas -u mailman ./mailpasswds -l testlist
  
It just exits. Nothing in the mail or mailman logs.
  
Other details: Red Hat Enterprise Linux AS release 3
  
Any suggestions?
 
 Have you verified that the list has its password reminder flag set to
 yes under general options and that the per user option to receive
 reminders is enabled for at least some members of the list?

That answer is 'Yes' to both questions.

Anything else?

Darren
ODU

--
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] Monthly password reminders not working

2005-09-21 Thread John Dennis
On Wed, 2005-09-21 at 13:44 -0400, Darren G Pifer wrote:
 On Wed, 2005-09-21 at 12:13, John Dennis wrote:
 
 I tried testing with:
   
   $ pwd
   /usr1/mailman/mailman/cron
   
   $ runas -u mailman ./mailpasswds -l testlist
   
 It just exits. Nothing in the mail or mailman logs.
   
 Other details: Red Hat Enterprise Linux AS release 3
   
 Any suggestions?
  
  Have you verified that the list has its password reminder flag set to
  yes under general options and that the per user option to receive
  reminders is enabled for at least some members of the list?
 
 That answer is 'Yes' to both questions.
 
 Anything else?

Well, if it were me I'd edit the script and throw in a few print
statements in a few judicious places to track what it was or wasn't
doing since you're not getting any info in the logs.

Python print statements are pretty easy, in its simplest form:

print value1=%s value2=%s % (value1, value2)

each %s is replaced by the matching value inside the parens, just make
sure the indentation of the print statement lines up.
-- 
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] Monthly password reminders

2003-03-02 Thread Paul Dekkers
Hi,

I disabled the montly password reminder in the general settings, but new 
subscribers still get the monthly password reminders by default.
After subscribing they have to disable this by going to their personal 
settings page. That seems incorrect to me.

I just got some reminders at the start of this month :-(

Am I doing something wrong?
Paul
Jon Carnes wrote:

Apples and Oranges?

When I set the list to no monthly reminders (Web-Admin/general) then
that stays set - even after I add folks to the list.  Is it changing for
you?
When I add folks to the list (Web-Admin/members/add), there is the
option to send them a welcome message, but there is no individual
monthly password notification for them.
Note: the welcome message does contain the users password.
Take care - Jon Carnes

On Thu, 2003-02-20 at 10:53, Paul Dekkers wrote:
 

Hi,

In the mailinglist configuration I specified that users should not get 
monthly password reminders by default: when I add a new users to the 
mailinglist however, I see that the password reminder IS enabled!
Is this OK?

I'm using mailman-2.1.1

Regards,
Paul


--
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/jonc%40nc.rr.com
   



 



--
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] Monthly password reminders

2003-03-02 Thread Jon Carnes
Well, if you don't have any lists that you want to run password
reminders for then you could commment the function out of the cron
table:

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

Or if you just had a few lists where you wanted the passwords to go out
you could copy the above command line and paste that on a new line with
the name of a list as input.  One list-name per command line.
 
HtH - Jon Carnes

On Sun, 2003-03-02 at 12:12, Paul Dekkers wrote:
 Hi,
 
 I disabled the montly password reminder in the general settings, but new 
 subscribers still get the monthly password reminders by default.
 After subscribing they have to disable this by going to their personal 
 settings page. That seems incorrect to me.
 
 I just got some reminders at the start of this month :-(
 
 Am I doing something wrong?
 Paul
 
 Jon Carnes wrote:
 
 Apples and Oranges?
 
 When I set the list to no monthly reminders (Web-Admin/general) then
 that stays set - even after I add folks to the list.  Is it changing for
 you?
 
 When I add folks to the list (Web-Admin/members/add), there is the
 option to send them a welcome message, but there is no individual
 monthly password notification for them.
 Note: the welcome message does contain the users password.
 
 Take care - Jon Carnes
 
 On Thu, 2003-02-20 at 10:53, Paul Dekkers wrote:
   
 
 Hi,
 
 In the mailinglist configuration I specified that users should not get 
 monthly password reminders by default: when I add a new users to the 
 mailinglist however, I see that the password reminder IS enabled!
 Is this OK?
 
 I'm using mailman-2.1.1
 
 Regards,
 Paul
 
 
 
 --
 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/jonc%40nc.rr.com
 
 
 
 
   
 
 
 



--
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] Monthly password reminders

2003-02-21 Thread Jon Carnes
Apples and Oranges?

When I set the list to no monthly reminders (Web-Admin/general) then
that stays set - even after I add folks to the list.  Is it changing for
you?

When I add folks to the list (Web-Admin/members/add), there is the
option to send them a welcome message, but there is no individual
monthly password notification for them.
Note: the welcome message does contain the users password.

Take care - Jon Carnes

On Thu, 2003-02-20 at 10:53, Paul Dekkers wrote:
 Hi,
 
 In the mailinglist configuration I specified that users should not get 
 monthly password reminders by default: when I add a new users to the 
 mailinglist however, I see that the password reminder IS enabled!
 Is this OK?
 
 I'm using mailman-2.1.1
 
 Regards,
 Paul
 
 
 
 --
 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/jonc%40nc.rr.com



--
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] Monthly password reminders

2003-02-20 Thread Paul Dekkers
Hi,

In the mailinglist configuration I specified that users should not get 
monthly password reminders by default: when I add a new users to the 
mailinglist however, I see that the password reminder IS enabled!
Is this OK?

I'm using mailman-2.1.1

Regards,
Paul



--
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] Monthly Password Reminders Not Sent

2001-12-22 Thread Stephen Denny

I found this (below) in the archives.  Is it still true on 2.0.7 - one
public list is necessary?

Regards,
Stephen


Dan Mick [EMAIL PROTECTED]
Mon, 12 Mar 2001 03:54:50 -0800



Jacopo Silva wrote:

 Hi all,
 my (2) mailman installations (2.0.1) seem to
 work ok, but I still cannot get the sending of
 monthly password reminders.

[snip]

 even if I exec python -S mailpasswds manually I do not
 get nothing sent to users, but the script exits normally.

 How can I debug this failure? What am I missing?

There has to be at least one public list for the reminders to work.
I'm not sure why this is.



-- 
Stephen Denny [EMAIL PROTECTED]


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