On 5/3/20 7:14 PM, Samir Faci wrote:
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.
...
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}
postfix-to-mailman.py is Mailman 2.1 only. It doesn't work with Mailman3.
/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
These mostly have to do with delivery of mail to Mailman rather than from Mailman.
smtpd_relay_restrictions = permit_mynetworks permit_sasl_authenticated defer_unauth_destination myhostname = lists.domain.org mydestination = $myhostname, localhost.localdomain, localhost, $mydomain, lists.domain.org
The entire output from postconf -n
might be helpful.
Also the postfix log messages for the the failed deliveries would be helpful.
Can you send mail to csgeek@domain.com in other ways, e.g. mutt or mail or sendmail?
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan