I manually patched up the bug since It seems it only occurs once or twice in the code base.
Here's my next question. Hopefully this isn't off topic, but trying to get postfix to work with mailman and I keep on getting relay denied issues.
/var/log/mailman/smtp.log
May 04 02:06:20 2020 (136767) <158855797827.136760.10970401726993928773@lists> smtp to booh@lists.domain.org for 1 recips, completed in 0.016954421997070312 seconds May 04 02:06:20 2020 (136767) <158855797827.136760.10970401726993928773@lists> post to booh@lists.domain.org from booh-owner@lists.domain.org, 5180 bytes May 04 02:06:20 2020 (136765) ('198.199.98.177', 42734) Data: b'QUIT' May 04 02:06:20 2020 (136765) ('198.199.98.177', 42734) connection lost May 04 02:06:20 2020 (136765) Connection lost during _handle_client() May 04 02:06:21 2020 (136767) <158855797827.136760.10970401726993928773@lists> recipients refused: {' csgeek@domain.com': (554, b'5.7.1 <csgeek@domain.com>: Relay access denied')} May 04 02:06:21 2020 (136767) <158855797827.136760.10970401726993928773@lists> smtp to booh@lists.domain.org for 1 recips, completed in 0.022742748260498047 seconds May 04 02:06:21 2020 (136767) <158855797827.136760.10970401726993928773@lists> post to booh@lists.domain.org from booh-owner@lists.geekbeacon.org, 5496 bytes, 1 failures May 04 02:06:21 2020 (136767) <158855797827.136760.10970401726993928773@lists> delivery to csgeek@domain.com failed with code 554, b'5.7.1 <csgeek@domain.com>: Relay access denied'
These are the changes I have in postfix that seem relevant.
/etc/postfix/master.cf
mailman unix - n n - - pipe flags=FR user=list argv=/usr/lib/mailman/bin/postfix-to-mailman.py ${nexthop} ${user}
/etc/postfix/main.cf
compatibility_level = 2
recipient_delimiter = + unknown_local_recipient_reject_code = 550 owner_request_special = no transport_maps = hash:/var/lib/mailman3/data/postfix_lmtp local_recipient_maps = $alias_maps hash:/var/lib/mailman3/data/postfix_lmtp relay_domains = hash:/var/lib/mailman3/data/postfix_domains
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = lists.domain.org mydestination = $myhostname, localhost.localdomain, localhost, $mydomain, lists.domain.org
Any help is appreciated.
-- Samir Faci
On Sat, May 2, 2020 at 1:40 PM Andrew Hodgson <andrew@hodgson.io> wrote:
Mark Sapiro <mark@msapiro.net> wrote:
On 5/2/20 12:51 AM, Samir Faci wrote:
A few questions about an Ubuntu install.
i'm getting this behavior:
AttributeError: module 'time' has no attribute 'clock'
I'm on python 3.8.2
It time.clock() went away in Python 3.8. Mailman versions older than 3.3.0 are not compatible with Python 3.8. You need to upgrade Mailman core.
I think this is a bug in Ubuntu 20.04.
Python3 package is: Python3 3.8.2-0ubuntu2 https://packages.ubuntu.com/search?suite=focal&keywords=python3 Mailman3 is: 3.2.2-1 https://packages.ubuntu.com/search?suite=focal&keywords=mailman3
Andrew.
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