Hello,
This is my first mail to this list, fogive me if i miss some netiquette :-(
I have the problem in subject (No mail going out to lists members) on a new mailman install, using openSUSE 12.1 server
mailman receives mails and archive them:
http://culte.org/pipermail/linux-31/2012-February/thread.html
I scanned all the instructions in the page
http://wiki.list.org/display/DOC/4.78+Troubleshooting-+No+mail+going+out+to+...
without finding any problem, but I may have misunderstood some part of it as this did not fix my problems.
I documented my work here (sorry, in french) http://dodin.org/wordpress/?p=13
last thing I did is scan the mailman log messages.
In openSUSE, mailman is spread between ~mailman in the usual /var/lib/mailman place and /usrLib/mailman. MTA postfix (perfectly running, I can send a mail from the mailman account)
I blanked out the log files (renaming the log folder, creating a new one and using check_perm to fix the permissions)
I send a message to the linux-31 mailing list, I got this error message:
Feb 20 10:27:58 2012 (10832) Uncaught runner exception: Use of the Sendmail.py delivery module is highly discouraged Feb 20 10:27:58 2012 (10832) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in _dispose self._func(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Sendmail.py", line 71, in process assert 0, 'Use of the Sendmail.py delivery module is highly discouraged' AssertionError: Use of the Sendmail.py delivery module is highly discouraged
Feb 20 10:27:58 2012 (10832) SHUNTING: 1329730077.990159+731f2f19a770d9f674f4bc34e0d3328b894fc605
grunner logs say: Feb 20 10:26:13 2012 (10832) OutgoingRunner qrunner started.
NOTICE: I tried to paste the mailman aliases in /etc/alias, because this looked like an alias problem.
doing so I got an answer from mailman saying
<linux-31@culte.org>: Command died with status 2: "/usr/lib/mailman/mail/mailman post linux-31". Command output: Failure to exec script. WANTED gid 67, GOT gid 65533.
so I reverted to the dual alias system where I have already mailman: root mailman-owner: mailman
any idea?
thanks jdd
-- Jean-Daniel Dodin
jdd wrote:
I send a message to the linux-31 mailing list, I got this error message:
Feb 20 10:27:58 2012 (10832) Uncaught runner exception: Use of the Sendmail.py delivery module is highly discouraged Feb 20 10:27:58 2012 (10832) Traceback (most recent call last): File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 120, in _oneloop self._onefile(msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/Runner.py", line 191, in _onefile keepqueued = self._dispose(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Queue/OutgoingRunner.py", line 74, in _dispose self._func(mlist, msg, msgdata) File "/usr/lib/mailman/Mailman/Handlers/Sendmail.py", line 71, in process assert 0, 'Use of the Sendmail.py delivery module is highly discouraged' AssertionError: Use of the Sendmail.py delivery module is highly discouraged
Feb 20 10:27:58 2012 (10832) SHUNTING: 1329730077.990159+731f2f19a770d9f674f4bc34e0d3328b894fc605
Remove the line
DELIVERY_MODULE = 'Sendmail'
from mm_cfg.py.
Then if you want the shunted messages to be delivered, run
/usr/lib/mailman/bin/unshunt
Otherwise
rm /var/lib/mailman/qfiles/shunt/*
NOTICE: I tried to paste the mailman aliases in /etc/alias, because this looked like an alias problem.
It is not an alias problem. Aliases have to do with delivery of incoming mail to Mailman. Your problem was with sending outgoing mail from Mailman.
doing so I got an answer from mailman saying
<linux-31@culte.org>: Command died with status 2: "/usr/lib/mailman/mail/mailman post linux-31". Command output: Failure to exec script. WANTED gid 67, GOT gid 65533.
so I reverted to the dual alias system where I have already mailman: root mailman-owner: mailman
Good.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 20/02/2012 16:55, Mark Sapiro a écrit :
Remove the line
DELIVERY_MODULE = 'Sendmail'
from mm_cfg.py.
done (commented out)
even after rstarting mailman, this do not change the result (no delivery)
but I still have Feb 20 19:38:44 2012 (10832) Uncaught runner exception: Use of the Sendmail.py delivery module is highly discouraged
Then if you want the shunted messages to be delivered, run
/usr/lib/mailman/bin/unshunt
don't work (messages still in the shunt folder)
Otherwise
rm /var/lib/mailman/qfiles/shunt/*
this works, for sure. done.
I had also messages in /var/lib/mailman/data like "heldmsg-linux-31-11.pck". I also removed them
I posted a couple of messages on the list, no return
I have Feb 20 19:42:00 2012 (28177) post to linux-31 from jdanield@free.fr, size=1607, message-id=<4F4293F1.4090705@free.fr>, 2 failures
in post log file
Feb 20 19:42:00 2012 (28177) delivery to jdd@dodin.org failed with code -1: [Errno -2] Name or service not known
on smtp logs
I have this in mm_cfg.py:
DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'culte.org' DEFAULT_EMAIL_HOST = 'culte.org' DEFAULT_URL_HOST = 'culte.org' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' #DELIVERY_MODULE = 'Sendmail'
what can i do else?
thanks jdd
-- Jean-Daniel Dodin
On 2/20/2012 10:55 AM, jdd wrote:
I posted a couple of messages on the list, no return
I have Feb 20 19:42:00 2012 (28177) post to linux-31 from jdanield@free.fr, size=1607, message-id=<4F4293F1.4090705@free.fr>, 2 failures
in post log file
Feb 20 19:42:00 2012 (28177) delivery to jdd@dodin.org failed with code -1: [Errno -2] Name or service not known
on smtp logs
See the FAQs at <http://wiki.list.org/x/AoE9> and <http://wiki.list.org/x/-IA9>.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
thanks to your answers, but none give result. I was even obliged to revert to a previous (virtualbox) snapshot because after reboot I couldn't configure the network :-)
that said, trying as many things, I finally got a cleaner mailman folder. Clean logs, shunts, helds...
Now, sending a couple of mails to a list (archives here http://culte.org/pipermail/linux-31/2012-February/thread.html), still not sent to the list members, I only find in ~mailman/qfiles files in "retry", *including the test files* (with lot of spam)
these files are binary, but with many human readable parts. The one corresponding to the problematic mail keep changing name (looks like mailman try to send it and fails each time)
I can understand the content but it's only 2.8k, so I join it to this post, may be it will give clues
thanks jdd
-- Jean-Daniel Dodin
Le 21/02/2012 11:19, jdd a écrit :
I can understand the content but it's only 2.8k, so I join it to this post, may be it will give clues
do not pass the list. It's here: http://dodin.org/temp/mailproblem.pck
thanks jdd
-- Jean-Daniel Dodin
got it... for some obscure reason, the openSUSE config utility did *not* update the mm_cfg.py config file (and copied the good one next with an extension)
using this config file solved the problem.
the local config (good) is:
DEFAULT_URL_PATTERN = 'http://%s/mailman/' DEFAULT_NNTP_HOST = 'savage-reborn' DEFAULT_EMAIL_HOST = 'culte.org' DEFAULT_URL_HOST = 'culte.org' MTA = 'Postfix' POSTFIX_ALIAS_CMD = '/usr/sbin/postalias' POSTFIX_MAP_CMD = '/usr/sbin/postmap' DELIVERY_MODULE = 'SMTPDirect' SMTPHOST = 'localhost' SMTPPORT = '25' add_virtualhost(DEFAULT_URL_HOST, DEFAULT_EMAIL_HOST) IMAGE_LOGOS = '/mailmanicons/'
thanks jdd
-- Jean-Daniel Dodin
jdd wrote:
got it... for some obscure reason, the openSUSE config utility did *not* update the mm_cfg.py config file (and copied the good one next with an extension)
A Mailman install/upgrade should never replace an existing mm_cfg.py as that is where you put your site customization of Mailman's defaults and you wouldn't want an upgrade to overwrite your site settings.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Le 21/02/2012 18:35, Mark Sapiro a écrit :
jdd wrote:
got it... for some obscure reason, the openSUSE config utility did *not* update the mm_cfg.py config file (and copied the good one next with an extension)
A Mailman install/upgrade should never replace an existing mm_cfg.py as that is where you put your site customization of Mailman's defaults and you wouldn't want an upgrade to overwrite your site settings.
it was a first time install. I beg I got a look to the file before beginning config.
learning is sometime hard :-)
thanks for help
jdd
Jean-Daniel Dodin
jdd wrote:
I can understand the content but it's only 2.8k, so I join it to this post, may be it will give clues
You can examine Mailman's saved Python pickle (.pck) files with Mailman's bin/dumpdb.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
jdd -
Mark Sapiro