[Mailman-Users] Problems with news2email gateway after upgrading from 2.1.2 to 2.1.5

Eric McDonald emcdonald at pdc.org
Wed Jun 2 02:02:24 CEST 2004


Hi:

Thanks for getting back to me.  Python 2.3 on Solaris 2.6  It was working fine with version 2.1.2?  Which I just upgraded from?

Yes, I do have an entry in my crontab file for this:

# crontab -l mailman
# At 8AM every day, mail reminders to admins as to pending requests.
# They are less likely to ignore these reminders if they're mailed
# early in the morning, but of course, this is local time... ;)
0 8 * * * /usr/local/bin/python -S /usr/local/mailman/cron/checkdbs
#
# At 9AM, send notifications to disabled members that are due to be
# reminded to re-enable their accounts.
0 9 * * * /usr/local/bin/python -S /usr/local/mailman/cron/disabled
#
# Noon, mail digests for lists that do periodic as well as threshhold delivery.
0 12 * * * /usr/local/bin/python -S /usr/local/mailman/cron/senddigests
#
# 5 AM on the first of each month, mail out password reminders.
0 5 1 * * /usr/local/bin/python -S /usr/local/mailman/cron/mailpasswds
#
# Every 5 mins, try to gate news to mail.  You can comment this one out
# if you don't want to allow gating, or don't have any going on right now,
# or want to exclusively use a callback strategy instead of polling.
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /usr/local/bin/python -S /usr/local/mailman/cron/gate_news
#
# At 3:27am every night, regenerate the gzip'd archive file.  Only
# turn this on if the internal archiver is used and
# GZIP_ARCHIVE_TXT_FILES is false in mm_cfg.py
27 3 * * * /usr/local/bin/python -S /usr/local/mailman/cron/nightly_gzip
# Remove any camp held message more than three days old
0 0 * * * /usr/local/mailman/bin/removecampheld.sh
0 1 * * * /usr/local/mailman/bin/mailmanctl -s stop
1 1 * * * /usr/local/mailman/bin/mailmanctl -s start

_None_ of these entries are needed anymore?  Including sending out passwords and digests?

Thanks,

Eric

-----Original Message-----
From: Brad Knowles [mailto:brad.knowles at skynet.be]
Sent: Tuesday, June 01, 2004 1:52 PM
To: Eric McDonald
Cc: mailman-users at python.org
Subject: Re: [Mailman-Users] Problems with news2email gateway after
upgrading from 2.1.2 to 2.1.5


At 1:38 PM -1000 2004/06/01, Eric McDonald wrote:

>  Jun 01 14:50:12 2004 gate_news(27744): Traceback (most recent call last):
>  Jun 01 14:50:12 2004 gate_news(27744):   File 
>"/usr/local/mailman/cron/gate_news", line 284, in ?

	Mailman 2.1.x doesn't use cron anymore.  The fact that "cron" 
appears in this URL would seem to be an indicator that you are 
upgrading from version 2.0.x to 2.1.5, not 2.1.2 to 2.1.5.  Is that 
correct?

>  Jun 01 14:50:12 2004 gate_news(27744): AttributeError :  'module' 
>object has no attribute 'nntpsplit'
>  Jun 01 16:33:04 2004 (6937) Uncaught runner exception: 'str' object 
>has no attribute 'get_sender'
>  Jun 01 16:33:05 2004 (6937) Traceback (most recent call last):
>    File "/usr/local/mailman/Mailman/Queue/Runner.py", line 111, in _oneloop
>      self._onefile(msg, msgdata)
>    File "/usr/local/mailman/Mailman/Queue/Runner.py", line 159, in _onefile
>      sender = msg.get_sender()
>  AttributeError: 'str' object has no attribute 'get_sender'

	You don't tell us anything about the OS you're using, what 
version of Python  you have, etc....  However, I would ask if you've 
seen the FAQ entry at 
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&file=faq05.008.htp>?

-- 
Brad Knowles, <brad.knowles at skynet.be>

"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
     -Benjamin Franklin, Historical Review of Pennsylvania.

   SAGE member since 1995.  See <http://www.sage.org/> for more info.
**************************************************************************************************
The contents of this email and any attachments are confidential.
It is intended for the named recipient(s) only.
If you have received this email in error please notify the system manager or  the 
sender immediately and do not disclose the contents to any one or make copies.

** eSafe scanned this email for viruses, vandals (DBSB) and malicious content **
**************************************************************************************************




More information about the Mailman-Users mailing list