[Mailman-Users] Permissions error

Steve Matzura number6 at noisynotes.com
Thu Jul 2 18:07:15 CEST 2015


On Thu, 02 Jul 2015 08:23:23 -0700, you wrote:

>On 07/02/2015 07:56 AM, Steve Matzura wrote:
>> I have a new Mailman implementation connected to Postfix which is in
>> turn connected to Dovecot. These two components are working correctly,
>> as I have mailboxes set up with them and have created a test Mailman
>> mailing list and received confirmation that it has in fact been
>> created. Now I'm attempting to subscribe a test user in the normal
>> way, by sending an email to {list-name}-subscribe at MyDomain.com. I have
>> not received a subscription confirmation, but the following
>> information from /var/log/mailman/error shows a problem:
>> 
>> Jul 02 14:15:01 2015 gate_news(18693): Traceback (most recent call
>> last):
>> Jul 02 14:15:01 2015 gate_news(18693):   File
>> "/usr/lib/mailman/cron/gate_news", line 293, in <module>
>> Jul 02 14:15:01 2015 gate_news(18693):      main()
>> Jul 02 14:15:01 2015 gate_news(18693):   File
>> "/usr/lib/mailman/cron/gate_news", line 268, in main
>> Jul 02 14:15:01 2015 gate_news(18693):      lock.lock(timeout=0.5)
>> Jul 02 14:15:01 2015 gate_news(18693):   File
>> "/usr/lib/mailman/Mailman/LockFile.py", line 243, in lock
>> Jul 02 14:15:01 2015 gate_news(18693):      self.__write()
>> Jul 02 14:15:01 2015 gate_news(18693):   File
>> "/usr/lib/mailman/Mailman/LockFile.py", line 422, in __write
>> Jul 02 14:15:01 2015 gate_news(18693):      fp = open(self.__tmpfname,
>> 'w')
>> Jul 02 14:15:01 2015 gate_news(18693): IOError :  [Errno 13]
>> Permission denied:
>> '/var/lock/mailman/gate_news.lock.{my-system-name}.{MyDomain.com}.18693.0'
>> Here are the directory permissions:
>> 
>> drwxrwsr-x 2 root mailman 80 Jul  2 13:57 mailman
>> lrwxrwxrwx 1 root root 11 Sep 14  2012 lock -> ../run/lock
>
>
>gate_news runs every 5 minutes. do you see this error every 5 minutes?
>Have you run Mailman's bin/check_perms?

I just ran check_perms to fix another problem, and it appears the two
*were* related, as this one's now gone as well.

>In any case, issues with gate_news only affect gating from usenet of
>those lists that have Mail<->News gateways -> gateway_to_mail = Yes.

Mine don't, or shouldn't. If they do, I'll turn that off immediately.

>
>> I also receive messages like these about every fifteen minutes in
>> /var/log/mailman/bounce:
>> 
>> Jul 02 14:42:12 2015 (1308) post to mailman from
>> mailman-owner@{my-domain.com}, size=1736,
>> message-id=<mailman.53.1435726803.13146.mailman@{my-domain.com}>, 1
>> failures
>> Jul 02 14:42:16 2015 (1308) post to mailman from
>> mailman-owner@{my-domain.com}, size=1733,
>> message-id=<mailman.98.1435726804.13146.mailman@{my-domain.com}>, 1
>> failures
>
>
>Mailman is sending a notice to the 'mailman' list and it's
>undeliverable. That doesn't look like a 'bounce' log message. It looks
>more like 'post' log. What's in the 'smtp-failure' log?

The smpt log is now clean. Newest message is ten minutes older than
the current date and time. I suspect running check_perms fixed
everything.


More information about the Mailman-Users mailing list