FAQ
Thank you very much for your answer, it start working
properly when I had defined SMTPHOST and SMTPPORT in
mm_cfg.py how you adviced (SMTPHOST='t2.pvt.cz',
SMTPPORT='25').

Have a nice day.

Vladislav Rames

-----Original Message-----
From: Mark Sapiro [mailto:mark at msapiro.net]
Sent: Wednesday, February 13, 2008 5:04 PM
To: Rame? Vladislav
Cc: mailman-users at python.org
Subject: Re: [Mailman-Users] smtp-failure: 'Addres family was
not recognized or address length wasinvalid'

Ramea Vladislav wrote:
Hi,

I tried to run mailman 2.1.9 with postfix 2.0.16 on Alpha
TRU64 UNIX 5.1A.
Unfortunately, when I tried to subscribe to my test
conference, I got this errors to smtp-failure file:
...
Feb 12 16:57:08 2008 (250559) delivery to root[at]t2.pvt.cz failed
with code -1: (5, 'Addres family was not recognized or
address length
was invalid.') Feb 12 16:57:08 2008 (250559) Low level smtp
error: (5,
'Addres family was not recognized or address length was invalid.'),
msgid: <mailman.292.1202831704.250529.mailman[at]t2.pvt.cz>
Feb 12 16:57:08 2008 (250559) delivery to root[at]t2.pvt.cz failed
with code -1: (5, 'Addres family was not recognized or
address length
was invalid.') Feb 12 17:00:02 2008 (250559) Low level smtp
error: (5,
'Addres family was not recognized or address length was invalid.'),
msgid: <mailman.293.1202832001.250529.mailman[at]t2.pvt.cz>
...

These errors are reported from the outgoing MTA to Mailman
when Mailman tries to send a message (in this case to
root[at]t2.pvt.cz).

In Postfix maillog subscriptions looks like "send":

...
t2.pvt.cz# tail mail.log
Feb 13 09:05:00 t2 postfix/pickup[256660]: 5411D4DE: uid=0
from=<root> Feb 13 09:05:00 t2 postfix/cleanup[256788]:
5411D4DE: message-id=<20080213080500.5411D4DE[at]t2.pvt.cz>
Feb 13 09:05:00 t2 postfix/qmgr[250778]: 5411D4DE:
from=<root[at]t2.pvt.cz>, size46, nrcpt=1 (queue active)
Feb 13 09:05:00 t2 postfix/local[256800]: warning:
dict_nis_init: NIS domain name not set - NIS lookups disabled
Feb 13 09:05:01 t2 postfix/local[256800]: 5411D4DE:
to=<mailman[at]t2.pvt.cz>, orig_to=<mailman>, relay=local,
delay=1, status=sent ("|/usr/local/mailman/mail/mailman post
mailman") Feb 13 09:10:00 t2 postfix/pickup[256660]:
B1DA54DE: uid=0 from=<root> Feb 13 09:10:00 t2
postfix/cleanup[256817]: B1DA54DE:
message-id=<20080213081000.B1DA54DE[at]t2.pvt.cz>
Feb 13 09:10:00 t2 postfix/qmgr[250778]: B1DA54DE:
from=<root[at]t2.pvt.cz>, size46, nrcpt=1 (queue active)
Feb 13 09:10:00 t2 postfix/local[256815]: warning:
dict_nis_init: NIS domain name not set - NIS lookups disabled
Feb 13 09:10:01 t2 postfix/local[256815]: B1DA54DE:
to=<mailman[at]t2.pvt.cz>, orig_to=<mailman>, relay=local,
delay=1, status=sent ("|/usr/local/mailman/mail/mailman post
mailman") ...


These log entries are the delivery of posts to Mailman and represent
sucessfull deliveries despite the warnings.

When I tried mailman with sendmail, result was the same
(the same error messages in smtp-failure file).


Which indicates that the outgoing MTA Mailman is talking to
is neither
sendmail nor Postfix.

Sending and receiving e-mails to/from users on this server
(t2.pvt.cz) works properly.
I tried to find in conferences error message "Addres family
was not recognized or address length was invalid." with
"mailman", but withouth usable result.

It is not a Mailman message. It comes from the MTA.

Have you redefined SMTPHOST and/or SMTPPORT in mm_cfg.py. If not,
Mailman is trying to send via SMTP to 'localhost' port 25.
What happens
if you 'telnet localhost 25'? What MTA answers?

Also see
<http://www.python.org/cgi-bin/faqw-mm.py?req=show&fileúq04. 073.htp>.
--
Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
San Francisco Bay Area, California better use your sense - B. Dylan

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmailman-users @
categoriespython
postedFeb 26, '08 at 1:17p
activeFeb 26, '08 at 1:17p
posts1
users1
websitelist.org

1 user in discussion

Rameą Vladislav: 1 post

People

Translate

site design / logo © 2023 Grokbase