SOLVED Mailing List Moderation Request Link Broken

Dec 8, 2013
7
1
53
cPanel Access Level
Root Administrator
Hello guys,

I need some help here with the moderation link in mailman not working. So the thing is my client has separated web and email server. So it makes sense that the URL in the mailman emails aren't working as it uses the root domain which pointed elsewhere.

My question is, how can I change the domain in the to use i.e subdomain that actually pointed to his email server?

Example:
Code:
=====
Subject: 69 Eat moderator request(s) waiting

"The [email protected] mailing list has 69 request(s) waiting for your consideration at:

http://domain.com/mailman/admindb/eat_domain.com.my

Please attend to this at your earliest convenience. This notice of pending requests, if any, will be sent out daily."


=====

So basically, this URL is broken, because the root domain pointed elsewhere:
domain.com.my/mailman/admindb/eat_domain.com.my

Any help would be much appreciated.
 
Last edited by a moderator:

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
I'm not entirely sure that the mailman notifications to admins can be changed - I did a quick grep for some of the text in the notice in /usr/local/cpanel/3rdparty/mailman/ but came back with no results

If your user accesses cPanel with the hostname then goes to Mail>>MailingLists -> Manage -> Tend to Pending Moderator requests it should work
 
Dec 8, 2013
7
1
53
cPanel Access Level
Root Administrator
Hi Lauren,

Thanks for replying. Yes, it is do-able via the Cpanel. But they have lots of lists and these moderator request emails. I tried changing the domain to i.e a subdomain.com/mailman/admindb/eat_domain.com.my
manually when accessing it, but I am getting the following error. Any idea?

Code:
[Sat May 18 02:04:26.021876 2019] [cgi:error] [pid 4527] [client 14.192.212.212:1767] AH01215: User mismatch error. Should have started with EUID set to mailman: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb
[Sat May 18 02:04:26.021960 2019] [cgi:error] [pid 4527] [client 14.192.212.212:1767] AH01215: : /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb
[Sat May 18 02:04:26.022000 2019] [cgi:error] [pid 4527] [client 14.192.212.212:1767] End of script output before headers: admindb
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Dec 8, 2013
7
1
53
cPanel Access Level
Root Administrator
Hi Lauren!

Appreciate your reply. That option looks promising! But unfortunately, it doesn't work as the 'mail' subdomain loads the public_html folder.

Checking on the Apache conf, the 'mail' subdomain is mapped to the public_html folder, so the 'mail' subdomain works correctly, just the mailman URL returns the 404 page of the website

Do the mail subdomain mapped to the public_html folder by default?
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,304
363
Houston
Hi @d_noizeshakerz


That should be fine actually. Are you testing with the full mailman URL?

Code:
http://mail.mydomain.tld/mailman/admin/listname_mydomain.tld/
or just for the list of lists for that domain:

Code:
http://mail.mydomain.tld/mailman/admin
I also confirmed that the links included in the notice emails all include the mail. prefix to the mailman list URL as well.