[Mailman-Users] trouble with setup: Cron, receiving mail outside lan

Jim Dory jdory at gci.net
Tue Sep 7 03:28:37 CEST 2004


I'm a newb with this and am a bit overwhelmed with the installation and 
docs. Been searching the archives but hoping for quick help, as I 
suspect I made a dumb error.

I'm installing on Suse 7.3, I have python 2.1.1 and latest stable 
mailman. Using Sendmail. I have it working more or less on local lan, 
but outside of it, email clients do not receive mail from it. They can 
send. I get error messages locally to my root and user email accounts on 
the server every 5 minutes or so:
"
Date: Mon, 06 Sep 2004 16:39:53 -0800
From: mailman-owner at linux.local
To: root at linux.local
Subject: Cron <mailman at linux> /usr/bin/python -S 
/usr/local/mailman/cron/gate_news
Parts/Attachments:
   1   Shown     5 lines  Text
   2   Shown     1 KB     Message, "Cron <mailman at linux> /usr/bin/python 
-S /usr/local/mailman/cron/gate_news"
   2.1 Shown    10 lines  Text
----------------------------------------

You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
mailman-owner at linux.local.


    [ Part 2: "Included Message" ]

Date: Mon, 6 Sep 2004 14:30:02 -0800
From: Cron Daemon <root at linux.local>
To: mailman at linux.local
Subject: Cron <mailman at linux> /usr/bin/python -S 
/usr/local/mailman/cron/gate_news

Traceback (most recent call last):
  File "/usr/local/mailman/cron/gate_news", line 284, in ?
    main()
  File "/usr/local/mailman/cron/gate_news", line 259, in main
    lock.lock(timeout=0.5)
  File "/usr/local/mailman/Mailman/LockFile.py", line 243, in lock
    self.__write()
  File "/usr/local/mailman/Mailman/LockFile.py", line 422, in __write
    fp = open(self.__tmpfname, 'w')
IOError: [Errno 13] Permission denied: 
'/usr/local/mailman/locks/gate_news.lock.linux.23031.0'

"

Here's a snip of my mm_cfg.py:

###############################################
# Here's where we get the distributed defaults.

from Defaults import *


##################################################
# Put YOUR site-specific settings below this line.
IMAGE_LOGOS = '/icons/'
DEFAULT_URL_HOST = 'www.dorydesign.com'
DEFAULT_EMAIL_HOST = 'dorydesign.com'
add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST)



(I thought you would add the actual host names under the add_virtualhost 
line but it returns errors when trying to start or stop mailman).

I figure it is probably a simple mistake or overlook. Hopefully someone 
can lend a hand. I can post more info - just not sure what is needed. My 
/etc/aliases contains the suggested aliases from the INSTALL.  My hosts 
file has 127.0.0.1 localhost and then also its IP Address and 
linux.local (the name of server). Not sure if I need to add anything 
more there.

Perhaps I just need more in my mm_cfg.py file ? or perhaps a permission 
problem with cron?

Thank you very much for reading and also to anyone who may offer 
ideas/inquiries!!!

cheers, JD.



More information about the Mailman-Users mailing list