On 05/24/2013 05:19 PM, [email protected] 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=<[email protected]>, 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 > <[email protected]>: Relay access denied; > from=<[email protected]> to=<[email protected]> > 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 > <[email protected]>: Relay access denied; > from=<[email protected]> to=<[email protected]> > 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 <[email protected]> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan ------------------------------------------------------ Mailman-Users mailing list [email protected] http://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: http://mail.python.org/mailman/options/mailman-users/archive%40jab.org
