[Mailman-Users] Re: Mailman 2.1 - notifications not being properly sent to list owner

2021-04-07 Thread David Nicol
Mark

Apr  5 22:12:05 ip-172-26-1-182 postfix/smtp[9473]: 6D0973EB91: 
to=testmail-ow...@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-00)

Thank-you for the relay explanation. The postconf -n command, yields for the 
settings which are overruled as:

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases, hash:/usr/lib/mailman/data/aliases
append_dot_mydomain = no
biff = no
compatibility_level = 2
inet_interfaces = loopback-only
inet_protocols = all
mailbox_size_limit = 0
mydestination = $myhostname, localhost, 
ip-172-26-1-182.eu-west-2.compute.internal, testlist.xxx.org.uk
myhostname = testlist.xxx.org.uk
mynetworks = 127.0.0.0/8 [:::127.0.0.0]/104 [::1]/128
myorigin = /etc/mailname
readme_directory = no
recipient_delimiter = +
relayhost = [email-smtp.eu-west-2.amazonaws.com]:587
smtp - various entries
smtpd - various entries
unknown_local_recipient_reject_code = 

Re the misplaced line in /usr/lib/mailman/data/aliases, all the entries are 
there contiguously

# STANZA START: testmail
# CREATED: Fri Feb  5 20:25:21 2021
testmail: "|/usr/lib/mailman/mail/mailman post testmail"
testmail-admin:   "|/usr/lib/mailman/mail/mailman admin testmail"
testmail-bounces: "|/usr/lib/mailman/mail/mailman bounces testmail"
testmail-confirm: "|/usr/lib/mailman/mail/mailman confirm testmail"
testmail-join:"|/usr/lib/mailman/mail/mailman join testmail"
testmail-leave:   "|/usr/lib/mailman/mail/mailman leave testmail"
testmail-owner:   "|/usr/lib/mailman/mail/mailman owner testmail"
testmail-request: "|/usr/lib/mailman/mail/mailman request testmail"
testmail-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe testmail"
testmail-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe testmail"
# STANZA END: testmail

and output from the directory listing (which i was trying to use to show 
correct ownership of the files) does not appear in the middle. Cut and paste 
error.

David
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Mailman 2.1 - notifications not being properly sent to list owner

2021-04-07 Thread David Nicol
And your other questions:

> Are there a set of mailman aliases in /etc/aliases
   No, that file looks like I have never touched it. It contains

# See man 5 aliases for format
postmaster:root

I do have mailman aliases in 

/usr/lib/mailman/data/aliases

# STANZA START: mailman
# CREATED: Sat Jan 30 22:48:49 2021
mailman: "|/usr/lib/mailman/mail/mailman post mailman"
mailman-admin:   "|/usr/lib/mailman/mail/mailman admin mailman"
mailman-bounces: "|/usr/lib/mailman/mail/mailman bounces mailman"
mailman-confirm: "|/usr/lib/mailman/mail/mailman confirm mailman"
mailman-join:"|/usr/lib/mailman/mail/mailman join mailman"
mailman-leave:   "|/usr/lib/mailman/mail/mailman leave mailman"
mailman-owner:   "|/usr/lib/mailman/mail/mailman owner mailman"
mailman-request: "|/usr/lib/mailman/mail/mailman request mailman"
mailman-subscribe:   "|/usr/lib/mailman/mail/mailman subscribe mailman"
mailman-unsubscribe: "|/usr/lib/mailman/mail/mailman unsubscribe mailman"
# STANZA END: mailman

> What is the content of postfix transport maps. 
I ran
   postconf transport_maps

and got the response
transport_maps =
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Mailman 2.1 - notifications not being properly sent to list owner

2021-04-07 Thread Mark Sapiro
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-ow...@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-00)



>From the above, the mail to the `-owner` address is
`to=testmail-ow...@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 The highway is for gamblers,
San Francisco Bay Area, Californiabetter use your sense - B. Dylan
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/


[Mailman-Users] Re: Mailman 2.1 - notifications not being properly sent to list owner

2021-04-07 Thread David Nicol
Mark

Thank-you.  A small edit, and now its working

David
--
Mailman-Users mailing list -- mailman-users@python.org
To unsubscribe send an email to mailman-users-le...@python.org
https://mail.python.org/mailman3/lists/mailman-users.python.org/
Mailman FAQ: http://wiki.list.org/x/AgA3
Security Policy: http://wiki.list.org/x/QIA9
Searchable Archives: https://www.mail-archive.com/mailman-users@python.org/
https://mail.python.org/archives/list/mailman-users@python.org/