Relaying email from external SMTP server (office365 or Exchange)
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.
Could you please confirm is this possible. And how to do its configuration.
Regards, *Waqas Ahmed Khan* p: +923212608044 Skype: waqas-ahmed00 <waqas.ahmed0@gmail.com> waqas.ahmed0@gmail.com
[image: LinkedIn] <http://pk.linkedin.com/pub/waqas-ahmed-khan/15/96a/39a/>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
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
Hi,
I have successfully configured Office365 to relay emails from Mailman3. I used the below configuration.
change following lines in mailman.cfg: smtp_host: your-domain.com.mail.protection.outlook.com smtp_port: 25
And then configure SMTP Relay Connector in Office365, so it can recognize your server. SMTP relay doesn't use a specific Office 365 mailbox to send email.
Option3 of Link: https://docs.microsoft.com/en-us/exchange/mail-flow-best-practices/how-to-se...
Could you Please confirm, what should be hardware configuration (ram, processor, disk) to run mailman3 server for medium size organization? This server will have 10-15 lists and some lists having 10k to 20k members. Also what should be DISK SPACE of the server for Archiving emails?
Regards, *Waqas Ahmed Khan* p: +923212608044 Skype: waqas-ahmed00 <waqas.ahmed0@gmail.com> waqas.ahmed0@gmail.com
[image: LinkedIn] <http://pk.linkedin.com/pub/waqas-ahmed-khan/15/96a/39a/>
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> Virus-free. www.avg.com <http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Jun 23, 2020 at 8:23 AM Mark Sapiro <mark@msapiro.net> wrote:
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
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/
On 6/23/20 10:14 AM, Waqas Ahmed Khan wrote:
Could you Please confirm, what should be hardware configuration (ram, processor, disk) to run mailman3 server for medium size organization? This server will have 10-15 lists and some lists having 10k to 20k members. Also what should be DISK SPACE of the server for Archiving emails?
We really don't have hard requirements and a lot depends on what else besides Mailman the server does.
First of all, it appears from some reports that 2GB RAM is not enough, but for Mailman 3 alone, 4GB is ample and I suspect that would do for what you describe.
For disk, consider mail.python.org This server currently supports 139 Mailman 3 lists. There are a total of over 36,000 known Mailman 3 users. There are archives going back in some cases, decades, with currently a total of over 673,000 archived messages. The Mailman 3 database with all the archived messages and user info is 8.7 GB. The Xapian archive search index is 18 GB.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
participants (2)
-
Mark Sapiro
-
Waqas Ahmed Khan