[Mailman-Users] SMTPDirect issues (Name or service not known)
Meike Aulbach
sonne at sunduin.net
Sat Jun 11 20:49:55 CEST 2005
Hello!
On Sat, Jun 11, 2005 at 07:20:11AM -0700, Mark Sapiro wrote:
> Are you still getting the smtp-failure message you originally reported,
> namely one like
>
> Jun 09 22:00:35 2005 (32666) delivery to xxx at zzzz.net failed with
> code -1: (-2, 'Name or service not known')
No, the error logfiles are completely empty. The only file that still
contains fresh log-messages is qrunner (restart messages).
zzzz:/var/log/mailman# ls -l
[...]
-rw-rw-r-- 1 list list 0 Jun 11 06:25 smtp
-rw-rw-r-- 1 list list 0 Jun 11 06:25 smtp-failure
-rw-rw-r-- 1 list list 0 Jun 10 06:25 smtp-failure.1
-rw-r--r-- 1 list list 880 Jun 11 06:25 smtp-failure.2.gz
-rw-rw-r-- 1 list list 0 Jun 10 06:25 smtp.1
-rw-r--r-- 1 list list 599 Jun 11 06:25 smtp.2.gz
[...]
zzzz:/var/log/mailman#
> I don't think you mentioned this before. Has something changed? Are you
> now getting mail to exim and rejected by exim? What does the reject
> from exim say?
The original mail, sent to the mailinglist, bounces. Exim gives
the mail to mailman, mailman returns an error, so exim returns the
mail to the sender with the message:
mailinglist at zzzz.net
local delivery failed
This has been the case all the time, as I understand it mailman fails
because it cannot send the mails to the users of the mailinglist and
returns this to exim.
I also did not get mails from Mailman when I created the mailinglist.
> Does the time stamp change on SMTPDirect.pyc and SMTPDirect.pyo if any?
> If not, try just removing them.
Interesting. These two files were last changed in March 2005!
Here is what I did:
zzzz:/var/lib/mailman/Mailman/Handlers# ls -l SMTPDirect.py*
-rw-r--r-- 1 root list 16416 Jun 11 13:50 SMTPDirect.py
-rw-r--r-- 1 root root 9967 Mar 29 00:55 SMTPDirect.pyc
-rw-r--r-- 1 root root 9967 Mar 29 00:55 SMTPDirect.pyo
zzzz:/var/lib/mailman/Mailman/Handlers# mv SMTPDirect.py[co] /tmp
zzzz:/var/lib/mailman/Mailman/Handlers# /etc/init.d/mailman restart
Restarting mailman queue runner: mailmanShutting down Mailman's master
qrunner
Starting Mailman's master qrunner.
zzzz:/var/lib/mailman/Mailman/Handlers# ls -l SMTPDirect.py*
-rw-r--r-- 1 root list 16416 Jun 11 13:50 SMTPDirect.py
zzzz:/var/lib/mailman/Mailman/Handlers# echo foo | mail
mailinglist at zzzz.net
zzzz:/var/lib/mailman/Mailman/Handlers# ls -l SMTPDirect.py*
-rw-r--r-- 1 root list 16416 Jun 11 13:50 SMTPDirect.py
zzzz:/var/lib/mailman/Mailman/Handlers# ls -l
/var/log/mailman/smtp-failure
-rw-rw-r-- 1 list list 0 Jun 11 06:25 /var/log/mailman/smtp-failure
zzzz:/var/lib/mailman/Mailman/Handlers#
The mail to the mailinglist bounces, from /var/log/exim4/mainlog:
005-06-11 20:35:29 1DhApN-0000pz-Nf ** mailinglist at zzzz.net
F=<root at zzzz.net> R=mailman_router T=mailman_transport: Child process
of mailman_transport transport returned 2 from command:
/var/lib/mailman/mail/mailman
2005-06-11 20:35:29 cwd=/var/spool/exim4 7 args: /usr/sbin/exim4 -t -oem
-oi -f <> -E1DhApN-0000pz-Nf
2005-06-11 20:35:29 1DhApN-0000q5-Od <= <> R=1DhApN-0000pz-Nf
U=Debian-exim P=local S=1073 T="Mail delivery failed: returning message
to sender" from <> for root at zzzz.net
2005-06-11 20:35:29 1DhApN-0000pz-Nf Completed
What about the .py[co] files? Why aren't they re-created? Is something
wrong with the ownership of the files? I did a "chmod list.list *" in
/var/lib/mailman/Mailman/Handlers (and restarted mailman) and it still
fails..
With best wishes,
Meike
--
Meike Aulbach <sonne at sunduin.net>
More information about the Mailman-Users
mailing list