@Marc disregard the direct email I sent you.
Okay, so just to clarify both postfix and mailman are running on the same host. In theory, everything should be able to connect to localhost on port 25 to be able to send any emails it needs.
198.199.98.177 resolves is already added to my networks, but I added it explicitly.
mydestination = $myhostname, localhost.localdomain, localhost, $mydomain, lists.domain.org, 198.199.98.177
I tried setting the values to the dns name which resolves to the public IP and the 127.0.0.1 and right now I keep on seeing these errors:
connect to lists.geekbeacon.org[198.199.98.177]:8024: Connection refused
So, I ended up having to tweak my /etc/hosts file a bit as well as
smtp_host: lists.domain.org
smtp_port: 25
smtp_user:
smtp_pass:
# Where the LMTP server listens for connections. Use 127.0.0.1 instead of
# localhost for Postfix integration, because Postfix only consults DNS
# (e.g. not /etc/hosts).
lmtp_host: lists.domain.org
lmtp_port: 8024
So, now it's finally working but here's a question. Does 8024 need to be publically accessible from the outside?
On Sun, May 3, 2020 at 8:32 PM Mark Sapiro <mark@msapiro.net> wrote:
On 5/3/20 8:13 PM, Samir Faci wrote:
Postfix Failed Logs.
May 4 03:07:36 lists postfix/smtpd[1968155]: disconnect from unknown[198.199.98.177] ehlo=1 mail=1 rcpt=0/1 rset=1 quit=1 commands=4/5 May 4 03:07:36 lists postfix/smtpd[1968155]: connect from unknown[198.199.98.177] May 4 03:07:36 lists postfix/smtpd[1968155]: 745B31473C6: client=unknown[198.199.98.177] May 4 03:07:36 lists postfix/cleanup[1968158]: 745B31473C6: message-id=<158856165549.136760.840427238489827082@lists> May 4 03:07:36 lists postfix/qmgr[1964759]: 745B31473C6: from=<booh-bounces@lists.domain.org
So mailman and Postfix are on different machines. That may complicate things, but
<mailto:booh-bounces@lists.domain.org>>, size=5474, nrcpt=1 (queue active) May 4 03:07:36 lists postfix/smtpd[1968155]: disconnect from unknown[198.199.98.177] ehlo=1 mail=1 rcpt=1 data=1 quit=1 commands=5 May 4 03:07:36 lists postfix/lmtp[1968159]: 745B31473C6: to=<booh-owner@lists.domain.org <mailto:booh-owner@lists.domain.org>>, relay=lists.domain.org <http://lists.domain.org>[198.199.98.177]:8024, delay=0.03, delays=0/0/0/0.02, dsn=2.0.0, status=sent (250 Ok)
This was a successful delivery.
May 4 03:07:36 lists postfix/qmgr[1964759]: 745B31473C6: removed May 4 03:07:38 lists postfix/smtpd[1968155]: connect from unknown[198.199.98.177] May 4 03:07:38 lists postfix/smtpd[1968155]: NOQUEUE: reject: RCPT from unknown[198.199.98.177]: 554 5.7.1 <csgeek@domain.com <mailto:csgeek@domain.com>>: Relay access denied; from=<booh-bounces+csgeek=domain.com@lists.domain.org <mailto:domain.com@lists.domain.org>> to=<csgeek@domain.com <mailto:csgeek@domain.com>> proto=ESMTP helo=<[127.0.1.1]>
You are sending from a remote machine 198.199.98.177 to a presumably remote domain domain.com so relay access is denied as it should be.
You need to add 198.199.98.177 to mynetworks in Postfix.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-users mailing list -- mailman-users@mailman3.org To unsubscribe send an email to mailman-users-leave@mailman3.org https://lists.mailman3.org/mailman3/lists/mailman-users.mailman3.org/
-- Thank you Samir Faci https://keybase.io/csgeek