[Mailman-Users] permissions denied

Mark Sapiro msapiro at value.net
Sat Feb 3 16:20:19 CET 2007


dhottinger at harrisonburg.k12.va.us wrote:

>I keep getting a permissions denied error on my mailman que file.
>  ----- The following addresses had permanent fatal errors -----
>"||/var/mailman/mail/wrapper post divtech"
>     (reason: 1)
>     (expanded from: <divtech at harrisonburg.k12.va.us>)
>
>    ----- Transcript of session follows -----
>Traceback (most recent call last):
>   File "/var/mailman/scripts/post", line 94, in ?
>     main()
>   File "/var/mailman/scripts/post", line 89, in main
>     msg.Enqueue(mlist, tolist=1)
>   File "/var/mailman/Mailman/Message.py", line 176, in Enqueue
>     dbfp = Utils.open_ex(dbfile, 'w')
>   File "/var/mailman/Mailman/Utils.py", line 601, in open_ex
>     fd = os.open(filename, flags, perms)
>IOError: [Errno 13] Permission denied:  
>'/var/spool/mailman/qfiles/28b06832587685d7f1a7ebb30c4636a63e9b0a45.db'
>554 5.3.0 unknown mailer error 1
>
>I moved my mailman directory to a new mailserver.  The old one died.   
>I pulled my files from my backup.  What permissions needs to be on the  
>mailman qfiles?  Or do I have oter issues?  I read through the faq,  
>and dont seem to be able to find anything although I am getting a  
>little punch drunk from looking at terminal all night.


This appears to be a very old (2.0 vintage) Mailman, so I'm not certain
about this, but if you have Mailman's bin/check_perms, run

bin/check_perms -f

as root until it finds no errors.

Essentially, everything needs to be group 'mailman', and group
writable. In addition, /var/mailman/mail/wrapper (abd the other
wrappers in /var/mailman/cgi-bin) needs to be SETGID.

-- 
Mark Sapiro <msapiro at value.net>       The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan



More information about the Mailman-Users mailing list