On 4/7/21 3:00 AM, David Nicol wrote:
Mark
Apr 5 22:12:05 ip-172-26-1-182 postfix/smtp[9473]: 6D0973EB91: to=testmail-owner@lists.xxx.org.uk, relay=email-smtp.eu-west-2.amazonaws.com[x.x.x.x]:587, delay=0.25, delays=0/0.03/0.11/0.1, dsn=2.0.0, status=sent (250 Ok 010b0178a417c95d-aabe4f9d-9d5d-4508-849e-8902dc08c9b7-000000)
From the above, the mail to the -owner
address is
to=testmail-owner@lists.xxx.org.uk
Thank-you for the relay explanation. The postconf -n command, yields for the settings which are overruled as:
...
mydestination = $myhostname, localhost, ip-172-26-1-182.eu-west-2.compute.internal, testlist.xxx.org.uk
and the lists.xxx.org.uk domain is not in mydestination, thus that mail is sent to the relayhost. Mailman gets that domain from the list's host_name attribute and it must be in mydestination to avoid the mail being sent to the relayhost.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan