New MailScanner Front-End (MSFE) v8.20

Changes:

  • Replaced “Open in new window” to “Expanded view” in MailControl which fills the browser and compacts the search and button panels. Added “Standard view” button to switch back. This no longer launches into a new window
  • Button to Install MailWatch has now been removed, existing MailWatch installs remain at users risk
  • Modified Mail::Sender SSL_version to be blank to allow IO::Socket::SSL defaults to be used. This fixes a problem with older perl modules and the latest exim configurations on cPanel when release forwarding email from within MailControl
  • Added MailControl sort fields to: subject, from_address and to_address
  • Set default sort direction to ASCENDING in MailControl except for Date/Time which defaults to DESCENDING
  • Modified MailControl table to make Subject link clickable to view email
  • Added “Block Client IP” to MailControl Bulk Actions
  • Fixed MailControl spinner/refresh behaviour
  • Added MailControl search for “All Headers (UTF-8)” which will search for Quoted-Printable UTF-8 strings in the email headers (e.g. Subject). Note: Only works with “CONTAINS” conditional and only on individual words
  • Modify MailControl Search Reset button to clear any existing search and refresh but then show the Search box

Running cPanel v76? Want a link to Plugins on the Home Page?

cPanel decided to provide a cut-down home page for WHM for v76+. It makes finding plugins (such as csf) a pain. Here is a simple way to add a Plugins link to the new homepage:

Some caveats:

  • DO THIS AT YOUR OWN RISK! Neither we nor cPanel will likely help if it goes horribly wrong!
  • The change will be overwritten when the next version of cPanel is released or if you run:
    /scripts/upcp --force
  • It might break your WHM home page
  • It might not work in the future

OK, so here’s what to do:

  1. SSH into your server as root (or use the Terminal app from WHM!)
  2. Create a file called /usr/src/main.tmpl.patch
  3. Add the following to that file as-is:
    213a214,225
    > [% IF (Whostmgr.check_flag('addons')) -%]
    > [% varcache.set('locale_str',locale.makevar("Plugins")) %]
    > <li class="application">
    > <a href="[% cp_security_token %]/scripts/command?PFILE=Plugins">
    > <img class="mr-10" src="[% Whostmgr.get_icon_url('icons/plugins.png') %]" alt="[% varcache.locale_str -%]" aria-hidden="true">
    > <div class="application-details">
    > <div class="application-title">[% varcache.locale_str %]</div>
    > <span class="application-description">[% varcache.locale_str %]</span>
    > </div>
    > </a>
    > </li>
    > [% END %]
    
  4. Run the following command:
    patch -bp0 /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl /usr/src/main.tmpl.patch
  5. That should be it

To restore the page back, either:

  • Restore the backup created by the patch command:
    cp /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl.orig /usr/local/cpanel/whostmgr/docroot/templates/menu/main.tmpl

or:

  • Run upcp:
    /scripts/upcp --force

Once again, you do this at your own risk. Have fun!

 

New csf v12.07

Changes:

  • Added commented out regex lines in csf.pignore on cPanel servers for the upcoming ubic implementation by cPanel
  • Added port 53 filters in cpanel.comodo.allow on cPanel servers
  • Added postfix support for LF_DISTSMTP
  • Switched Sendmail and URLGET modules from using croak to carp to avoid unexpected parent death from child failure
  • Double fork external commands in DA UI to work around DA mod_perl restrictions, allowing full functionality
  • Added reason text information to IPs and CC_LOOKUPS to netblocks for LF_PERMBLOCK and LF_NETBLOCK reports and csf.deny entries

New osm v1.12

Changes:

  • osm will now reprocess exim log line events for the total number of
    recipients listed. This ensures that for this type of detection a
    single email sent to hundreds of recipients will not count as a single
    event, but the total number of recipients. This option can be disabled
    if each log line should be treated as a single event in the Main
    Configuration
  • Improved parent/child pipe processing to avoid delays due to buffering