mailscanner-4.85.2-3 on Debian Jessie

Kevin Miller kevin.miller at
Thu May 14 21:52:07 UTC 2015

I just tried installing 4.85.2-3 on Jessie and got the following at the end of the process.  Apparently it didn't like that /etc/default/mailscanner didn't exist.
I created it manually.  Should I just rerun the installer?

Installing the MailScanner .deb package ... 
Selecting previously unselected package mailscanner.
(Reading database ... 60187 files and directories currently installed.)
Preparing to unpack .../mailscanner-4.85.2-3-noarch.deb ...
cp: cannot stat '/etc/default/mailscanner': No such file or directory
dpkg: error processing archive /root/Mail_Gateway/MailScanner-4.85.2-3/mailscanner-4.85.2-3-noarch.deb (--install):
 subprocess new pre-installation script returned error exit status 1
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.

One thing I did do, was copy the /etc/MailScanner directory from one of my running servers so that I could easily update MailScanner.conf.  I don't know if this threw anything off - it was just the stuff in /etc/MailScanner, no binaries were on the system yet...

Kevin Miller
Network/email Administrator, CBJ MIS Dept.
155 South Seward Street
Juneau, Alaska 99801
Phone: (907) 586-0242, Fax: (907) 586-4500
Registered Linux User No: 307357 

More information about the MailScanner mailing list