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@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.
thanks
ddh
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
dhottinger@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@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 1I 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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
It is quite old. I may end up reinstalling everything and
repopulating the membership. But, there are quite a few lists and
quite a few members. Id say around 70+ lists.
Quoting Mark Sapiro <msapiro@value.net>:
dhottinger@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@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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
dhottinger@harrisonburg.k12.va.us wrote:
It is quite old. I may end up reinstalling everything and repopulating the membership. But, there are quite a few lists and quite a few members. Id say around 70+ lists.
You should be able to update your existing installation and maintain your existing lists. The normal update process will update list data as necessary and preserve membership and map options from old to new.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
check_ perms comes back ok.
Quoting Mark Sapiro <msapiro@value.net>:
dhottinger@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@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@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
-- Dwayne Hottinger Network Administrator Harrisonburg City Public Schools
dhottinger@harrisonburg.k12.va.us wrote:
check_ perms comes back ok.
Then I'm not sure what's happening, but
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@harrisonburg.k12.va.us>)
/var/mailman/mail/wrapper should be SETGID - normally its permissions are 2755 and its user:group are root:mailman. The owner need not be root, it is usually whatever user installed mailman.
IOError: [Errno 13] Permission denied: '/var/spool/mailman/qfiles/28b06832587685d7f1a7ebb30c4636a63e9b0a45.db' 554 5.3.0 unknown mailer error 1
And the directory /var/spool/mailman/qfiles/ needs to be writable by the above group (mailman or ?). Normally, /var/spool/mailman and all its subordinate directories will have permissions 2775 and user:group root:mailman.
-- Mark Sapiro <msapiro@value.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
dhottinger@harrisonburg.k12.va.us
-
Mark Sapiro