I am working through installing mailman3 on Ubuntu 20.04.1 LTS / apache 2.4.41 / postfix 3.4.13 and have a couple of questions.
I've installed Django, cloned the mailman-suite repo, installed and tested apache with Mod_wsgi [ according to https://tecadmin.net/install-apache-with-python-mod-wsgi-on-ubuntu-20-04/ ] and it worked fine. Now I am at 'Setting up a WSGI' server in the MM3 instructions where it says I am to configure uwsgi.ini file. Does that .ini file go in /opt/mailman/mailman where other .ini files reside?
In setting up the apache virtual server [ according to https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=apache#apache-with-mod-wsgi ] I do not find a postorius.wsgi which WSGIScriptAlias points to.
Thank you!
~Christian
On 11/21/20 10:42 AM, Christian Stalberg via Mailman-users wrote:
I am working through installing mailman3 on Ubuntu 20.04.1 LTS / apache 2.4.41 / postfix 3.4.13 and have a couple of questions.
I've installed Django, cloned the mailman-suite repo, installed and tested apache with Mod_wsgi [ according to https://tecadmin.net/install-apache-with-python-mod-wsgi-on-ubuntu-20-04/ ] and it worked fine. Now I am at 'Setting up a WSGI' server in the MM3 instructions where it says I am to configure uwsgi.ini file. Does that .ini file go in /opt/mailman/mailman where other .ini files reside?
You are mixing apples and oranges. The doc at <https://tecadmin.net/install-apache-with-python-mod-wsgi-on-ubuntu-20-04/> uses mod_wsgi in apache, It doesn't use uwsgi at all.
In setting up the apache virtual server [ according to https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=apache#apache-with-mod-wsgi ] I do not find a postorius.wsgi which WSGIScriptAlias points to.
The file in your WSGIScriptAlias directive should be the wsgi.py file in mailman-suite/mailman-suite_project/
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Continuing to work through installing mailman3 on Ubuntu 20.04.1 LTS / apache 2.4.41 / postfix 3.4.13.
I am at https://docs.mailman3.org/projects/postorius/en/latest/deployment.html?highl ight=compilemessages#final-setup-instructions
What do I do now about this?
(venv) root@localhost:/opt/mailman/mailman-suite/mailman-suite_project# python manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings:
/opt/mailman/mailman-suite/mailman-suite_project/static
This will overwrite existing files! Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: y CommandError: Collecting static files cancelled. (venv) root@localhost:/opt/mailman/mailman-suite/mailman-suite_project#
Thank you! ~Christian
On 11/21/20 5:40 PM, Christian Stalberg via Mailman-users wrote:
What do I do now about this?
(venv) root@localhost:/opt/mailman/mailman-suite/mailman-suite_project# python manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings:
/opt/mailman/mailman-suite/mailman-suite_project/static
This will overwrite existing files! Are you sure you want to do this?
Type 'yes' to continue, or 'no' to cancel: y CommandError: Collecting static files cancelled. (venv) root@localhost:/opt/mailman/mailman-suite/mailman-suite_project#
y != yes
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
I am also trying to install mailman3 on ubuntu 20.04 I followed https://gist.github.com/plepe/dab22fdbfec63d8632709065890124a3
I found that apache2 proxy_uwsgi package is missing the proxy_uwsgi.load file although the .so file is already there.
Also the mailman3-full that comes with 20.04 has the python <3.8 bug with time.clock().
I decided to just use pip virtualenv installation method instead - https://docs.mailman3.org/en/stable/prodsetup.html. It's working fine so far.
Now I am trying to figure out how to configure mailman+postfix to pass the unnecessarily convoluted world of spam-free certification and ip blockings by those 'security lawmakers'.
Any suggestions on how to not be blocked by gmail, hotmail, etc? I have used DKIM (no signing yet), SPF, DMARC to no avail. Maybe not an appropriate question to this mailman list.
On 11/22/20 3:54 PM, Henry S wrote:
Now I am trying to figure out how to configure mailman+postfix to pass the unnecessarily convoluted world of spam-free certification and ip blockings by those 'security lawmakers'.
Any suggestions on how to not be blocked by gmail, hotmail, etc? I have used DKIM (no signing yet), SPF, DMARC to no avail. Maybe not an appropriate question to this mailman list.
You need a fixed IP address and "full circle" aka "forward confirmed reverse DNS" <https://en.wikipedia.org/wiki/Forward-confirmed_reverse_DNS>.
You also need to DKIM sign your outgoing mail from your domain and publish an SPF record allowing your IP as a sender for your domain. I'm not sure, but publishing a DMARC policy, even if it's p=none is possibly helpful with some recipient domains.
Beyond that check your IP for blacklisting with a tool like <http://mxtoolbox.com/blacklists.aspx> and monitor your mail logs for blocked email and follow up with the blockers to get unblocked.
Things get better over time as your server develops a reputation.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
On 11/22/20 6:54 PM, Henry S wrote:
Now I am trying to figure out how to configure mailman+postfix to pass the unnecessarily convoluted world of spam-free certification and ip blockings by those 'security lawmakers'.
Any suggestions on how to not be blocked by gmail, hotmail, etc? I have used DKIM (no signing yet), SPF, DMARC to no avail. Maybe not an appropriate question to this mailman list.
Mark Sapiro provided some very good suggestions.
Is this a new IP address or one that has been used for mail traffic for a white? The only way Gmail and Hotmail will block an IP address is if you have some major outgoing spamming problems or in the case of a new IP address, the IP address has a sordid history which will be reveal if you do a RBL check on it.
Gmail likes SPF records and MTA's that utilizes SSL for outbound mail.
For Hotmail deliveries, you will want to signed up for Microsoft's Smart Network Data Service (SNDS) program which I find very good. Also sign up for their JMRP program for your IP address.
-- Brian Carpenter Harmonylists.com Emwd.com
Thanks Mark and Brian. I'll try the suggestions.
My IP might have got blocked by CBL when testing mailman3 against a Gmail address. I have since removed it from CBL. I don't know how my IP got into the Outlook's block list. Maybe a used one. Will try DKIM signing and Microsoft programs.
On 23/11/2020 11:59 am, Brian Carpenter wrote:
On 11/22/20 6:54 PM, Henry S wrote:
Now I am trying to figure out how to configure mailman+postfix to pass the unnecessarily convoluted world of spam-free certification and ip blockings by those 'security lawmakers'.
Any suggestions on how to not be blocked by gmail, hotmail, etc? I have used DKIM (no signing yet), SPF, DMARC to no avail. Maybe not an appropriate question to this mailman list.
Mark Sapiro provided some very good suggestions.
Is this a new IP address or one that has been used for mail traffic for a white? The only way Gmail and Hotmail will block an IP address is if you have some major outgoing spamming problems or in the case of a new IP address, the IP address has a sordid history which will be reveal if you do a RBL check on it.
Gmail likes SPF records and MTA's that utilizes SSL for outbound mail.
For Hotmail deliveries, you will want to signed up for Microsoft's Smart Network Data Service (SNDS) program which I find very good. Also sign up for their JMRP program for your IP address.
On 11/22/20 5:38 PM, Henry S wrote:
Thanks Mark and Brian. I'll try the suggestions.
My IP might have got blocked by CBL when testing mailman3 against a Gmail address. I have since removed it from CBL. I don't know how my IP got into the Outlook's block list. Maybe a used one. Will try DKIM signing and Microsoft programs.
Outlook and friends (Hotmail, Live, MSN. ...) can be a real pain. If you're not aware, start at <https://sender.office.com/>. Also, this requires patience. It may take several back and forth emails, some of which ask questions which have already been answered earlier in the quoted thread, but in every case where I've persisted, the block has ultimately been removed.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Henry S writes:
Maybe not an appropriate question to this mailman list.
Meta: I myself don't know where else you'd ask it, so ask away!
In general, we really appreciate it if you look for more appropriate venues (eg, for details of MTA configuration, they probably know more than we do, even about MTAs that we use ourselves). But if it involves our configuration files or the specifics of mailing list operations, sure, ask here. The worst that will happen is we'll say we don't know and try to send you to a more informative place.
participants (5)
-
Brian Carpenter
-
Christian Stalberg
-
Henry S
-
Mark Sapiro
-
Stephen J. Turnbull