[Mailman-Users] Mailman and / or Postfix problem
jovino at uerj.br
jovino at uerj.br
Wed May 29 00:01:30 CEST 2013
Hello Mark,
Thanks a
lot for your help. We have used your second option (Edit
/etc/hosts....)
and server
seems run fine
now.
==========================
Jovino de
Vasconcelos Borret
UERJ - Brazil
> On 05/24/2013 05:19 PM, jovino at uerj.br
wrote:
>>
>> The problem is that
>> when I am trying to post a mail from E-mail server (which
>> runs in a separated server) to the list that
>> we have created , it is logged in the /var/log/maillog
>> of the new lists server (Mailman 2.1.12) the following
>> messages:
> [...]
>> May 23 21:33:12 e-listas2 postfix/local[1922]:
>> B734CDF713: to=<dit-so at e-listas2.uerj.br>, relay=local,
delay=0.23,
>> delays=0.03/0.03/0/0.17, dsn=2.0.0, status=sent (delivered to
command:
>> /usr/lib/mailman/mail/mailman post dit-so)
>
>
> Here the message was properly posted to the mail wrapper which
queued
> it. Everything up to this point is good.
>
>
> [...]
>> May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
>> connect from localhost[::1]
>
>
> Your localhost is connecting via IPv6.
>
>
>> May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
>> NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1
>> <mselecto at uerj.br>: Relay access denied;
>> from=<dit-so-bounces at e-listas2.uerj.br>
to=<mselecto at uerj.br>
>> proto=ESMTP helo=<e-listas2.uerj.br>
>>
>> May 23 21:33:13 e-listas2 postfix/smtpd[1918]:
>> NOQUEUE: reject: RCPT from localhost[::1]: 554 5.7.1
>> <jovino at uerj.br>: Relay access denied;
>> from=<dit-so-bounces at e-listas2.uerj.br>
to=<jovino at uerj.br>
>> proto=ESMTP helo=<e-listas2.uerj.br>
>
>
> Here Mailman is trying to send the post to the list members or
maybe
> sending a notice to the list moderators and Postfix won't relay to
those
> addresses.
>
>
>> mm_cc.py
>
>
> I assume this is really mm_cfg.py, but I don't think any of it is
> relevant to this issue.
>
>
> [...]
>> conf.cf
>
>
> And this I assume in main.cf. Tip: in general people don't want to
see
> your main.cf. It's too unwieldy. You should post the output from
> 'postconf -n'.
>
>
> [...]
>> mydestination = $myhostname, localhost.$mydomain,
>> localhost, $mydomain
>
>
> mydestination doesn't include the uerj.br domain.
>
>
>>
>>
>> mynetworks = 127.0.0.1/32 152.92.1.9
>
>
> and mynetworks does not include the IPv6 address of localhost.
Thus,
> uerj.br is not a local domain and the originating server is not in
what
> Postfix is told is the local network so Postfix won't relay the
mail.
>
> There are various ways to fix this.
>
> 1) add either localhost or ::1 to mynetworks.
>
> 2) edit /etc/hosts so that the name localhost is 127.0.0.1 instead of
::1
>
> 3) put
>
> SMTPHOST = 'the /etc/hosts name of 127.0.0.1'
>
> in mm_cfg.py.
>
> These three solutions are mutually exclusive. You only need one of
them.
> Which one is best depends on what else your server is used for.
>
> --
> Mark Sapiro <mark at msapiro.net> The highway is for gamblers,
> San Francisco Bay Area, California better use your sense - B.
Dylan
>
More information about the Mailman-Users
mailing list