I am running a server that handles a site (www.example.org) and will also run email through mail2.example.org. I am running the web interface for mailman through server.example.org, which is also the server name.
Mailman is not handling the administrative requests such as approving and discarding submissions.
This is my mm_cfg.py file:
from socket import *
try:
fqdn = getfqdn()
except:
fqdn = 'mm_cfg_has_unknown_host_domains'
DEFAULT_URL_HOST = 'server.example.org'
DEFAULT_EMAIL_HOST = 'mail2.example.org'
add_virtualhost(DEFAULT_URL_HOST,DEFAULT_EMAIL_HOST)
VIRTUAL_MAILMAN_LOCAL_DOMAIN = 'localhost'
MTA = 'Postfix'
POSTFIX_STYLE_VIRTUAL_DOMAINS = [ 'mail2.example.org' ]
When I try to Approve or Discard messages through the web interface, nothing happens, the page reloads unchanged.
mailman.conf
ScriptAlias /mailman/ /usr/lib/mailman/cgi-bin/
<Directory /usr/lib/mailman/cgi-bin/>
AllowOverride None
Options ExecCGI
Require all granted
</Directory>
Alias /pipermail/ /var/lib/mailman/archives/public/
<Directory /var/lib/mailman/archives/public>
Options MultiViews FollowSymLinks
AllowOverride None
Require all granted
AddDefaultCharset Off
</Directory>
RedirectMatch ^/mailman[/]*$ https://server.example.org/mailman/listinfo
I don't see any errors in any log files.
/usr/lib/mailman/bin/check_perms -f
No problems found/usr/lib/mailman/bin/withlist -l -a -r fix_url Importing fix_url... Running fix_url.fix_url()... Loading list mailman (locked) Saving list Loading list all (locked) Saving list Loading list siteadmin (locked) Saving list Finalizing