Page 1 of 1

MailScanner Config 404 in CPanel

Posted: 12 May 2013, 20:13
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.

Re: MailScanner Config 404 in CPanel

Posted: 12 May 2013, 21:52
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]/

Re: MailScanner Config 404 in CPanel

Posted: 14 May 2013, 15:58
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.

Re: MailScanner Config 404 in CPanel

Posted: 14 May 2013, 17:23
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!