[Mailman-Developers] run_queue bug

Scott scott@chronis.icgroup.com
Tue, 4 Aug 1998 21:46:27 -0400


Now that i got this working, there's a permissions bug in the mail
queue system: 

my mailqueue looks like this:
-rw-------   1 root     mailman      1515 Aug  4 19:25 mm_q.2
-rw-------   1 nobody   mailman       230 Aug  4 19:59 mm_q.3
-rw-------   1 www      mailman      1360 Aug  4 20:12 mm_q.4

so when run_queue runs as user mailman, it can't open the files. 
I think it got those ownerships from root running newlist, from
subscribing someone from the web, and from vmailer doing the delivery
to a mailcmd as user nobody.  Shouldn't they be made g+rw?

scott


On Tue, Aug 04, 1998 at 08:03:26PM -0400, Scott wrote:
| 
| run_queue quits with the following traceback whenever i run it with
| python1.5.1 on an old ret hat linux box :(
| 
| scott
| 
| Traceback (innermost last):
|   File "/home/mailman/cron/run_queue", line 31, in ?
|     OutgoingQueue.processQueue()
|   File "/home/mailman/Mailman/OutgoingQueue.py", line 38, in
| processQueue
|     Utils.TrySMTPDelivery(recip,sender,text,full_fname)
|   File "/home/mailman/Mailman/Utils.py", line 199, in TrySMTPDelivery
|     con = smtplib.SmtpConnection(mm_cfg.SMTPHOST)
|   File "/home/mailman/Mailman/smtplib.py", line 49, in __init__
|     self.connect()
|   File "/home/mailman/Mailman/smtplib.py", line 54, in connect
|    self._file = self._sock.makefile('r')
| socket.error: (29, 'Illegal seek')
| 
| _______________________________________________
| Mailman-Developers maillist  -  Mailman-Developers@python.org
| http://www.python.org/mailman/listinfo/mailman-developers
|