mailscanner 4.85.2 on ubuntu server 16.04 lts

Patrick Goupell patrick at
Wed Apr 27 14:48:33 UTC 2016

I am trying to setup mailscanner on ubuntu 16.04 lts using the install 
package at

During install I get the folow messages

Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ...
Unpacking mailscanner (4.85.2-3) ...
dpkg: dependency problems prevent configuration of mailscanner:
  mailscanner depends on perl-modules (>= 5.8.7); however:
   Package perl-modules is not installed.
   Version of perl-modules on system, provided by perl-modules-5.22:all, 
is <none>.

dpkg: error processing package mailscanner (--install):
  dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Errors were encountered while processing:

Installation Error

The MailScanner package failed to install. Address the required
dependencies and run the installer again.

Note that Perl modules need to be available system-wide. A
common issue is that missing modules were installed in a
user specific configuration.

If I do an apt-cache search perl-modules I get the following

libperl5.22 - shared Perl library
perl-base - minimal Perl system
perl-modules-5.22 - Core Perl modules
kamailio-perl-modules - Perl extensions and database driver for Kamailio
libnet-smtpauth-perl - Perl module that provides SMTP authentication 

What do I do now?

Patrick Goupell

Are you free?  Find out at
Income taxes?  Find out at

More information about the MailScanner mailing list