MailScanner Config 404 in CPanel

Discuss the ConfigServer MailScanner Front-End script
Post Reply
edigest
Junior Member
Posts: 10
Joined: 25 Apr 2013, 17:10

MailScanner Config 404 in CPanel

Post by edigest »

I have Mail Manage, Mail Scanner and Mail Scanner FE installed. Everything checks out in WHM and MailScanner is running fine on the server.

When any user logs in to their CPanel, they get a 404 error when they click on the MailScanner Configuration icon.

The URL is:

https://<hostname>.com:2083/cpsess9592133290/frontend/CleanPanel/mailscanner/index.html

The same behavior occurs on two servers with MS FE. Both use the hostname when the webmaster logs in. i.e., it is redirected to <hostname> when they login via cpanel.<domain>.com.

Also, as the URL shows, I am using CleanPanel CPanel theme.

Any help tracking this down would be greatly appreciated.
Sarah
Moderator
Posts: 921
Joined: 09 Dec 2006, 22:49

Re: MailScanner Config 404 in CPanel

Post by Sarah »

I would guess that the theme you are using does not use the standard cpanel theme api. Copying the mailscanner front-end pages to your theme should work:

Code: Select all

mkdir /usr/local/cpanel/base/frontend/[newtheme]/dynamicui
cp -af /usr/local/cpanel/base/frontend/x3/dynamicui/dynamicui_mailscanner.conf  \
       /usr/local/cpanel/base/frontend/[newtheme]/dynamicui/
cp -af /usr/local/cpanel/base/frontend/x3/mailscanner \
       /usr/local/cpanel/base/frontend/[newtheme]/
edigest
Junior Member
Posts: 10
Joined: 25 Apr 2013, 17:10

Re: MailScanner Config 404 in CPanel

Post by edigest »

Thanks! I will give that a try.

The CleanPanel theme author says they are compatible with all major plugins. If your fix works, I will pass that along to them, too.
edigest
Junior Member
Posts: 10
Joined: 25 Apr 2013, 17:10

Re: MailScanner Config 404 in CPanel

Post by edigest »

This step

cp -af /usr/local/cpanel/base/frontend/x3/mailscanner \
/usr/local/cpanel/base/frontend/[newtheme]/

resolved this. (The other steps were not needed.)

Thanks!
Post Reply