On 6/22/20 7:58 AM, Waqas Ahmed Khan wrote:
Hi,
I have installed mailman3 with postfix. The server is working fine. To protect the IPs from blacklisting, I want to relay all emails from postfix/mailman to external SMTP servers like O365, Gmail, or our exchange server.
I would not recommend using O365 or Gmail as outgoing MTAs. I don't really know about )365, but I don't think Gmail likes you to send mail via a gmail server if it is not From: (or maybe envelope from or both) a gmail or googlemail address.
Could you please confirm is this possible. And how to do its configuration.
It is possible and there are two ways to do it. You can configure this in Postfix to relay all outgoing mail via some other server.
You can configure it in Mailman by setting in the [mta] section of mailman.cfg
smtp_host: smtp_port:
and presumably for authentication
smtp_user: smtp_pass:
Also see https://gitlab.com/mailman/mailman/-/blob/master/src/mailman/config/schema.c... and following for other relevant settings.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan