install mailscanner on centos7 / centos 8

Mark Sapiro mark at msapiro.net
Wed Apr 1 19:24:03 UTC 2020


On 4/1/20 11:55 AM, support at mmarzouki.de wrote:
> hello,
> 
> i want to install mailscanner for centos7.
> but after the sucessfully installation of install.sh from github https://github.com/MailScanner/v5/tree/master/builds
> the mailscanner doesn't start.
> then i installed the rpm package to and i received this message from systemd:
> 
> 
> [root at mg-mailscanner ~]# systemctl status mailscanner.service
> ● mailscanner.service - LSB: MailScanner daemon
>    Loaded: loaded (/usr/lib/MailScanner/init/ms-init; disabled; vendor preset: disabled)
>    Active: failed (Result: exit-code) since Wed 2020-04-01 20:53:23 CEST; 6s ago
>      Docs: man:systemd-sysv-generator(8)
>   Process: 23595 ExecStart=/usr/lib/MailScanner/init/ms-init start (code=exited, status=1/FAILURE)
> 
> Apr 01 20:53:21 mg-mailscanner.test.com systemd[1]: Starting LSB: MailScanner daemon...
> Apr 01 20:53:21 mg-mailscanner.test.com ms-init[23595]: MailScanner starting ...
> Apr 01 20:53:23 mg-mailscanner.test.com ms-init[23595]: Can't locate Filesys/Df.pm in @INC (you may need to install the Filesys::Df module) (@INC con>
> Apr 01 20:53:23 mg-mailscanner.test.com ms-init[23595]: BEGIN failed--compilation aborted at /usr/sbin/MailScanner line 88.
> Apr 01 20:53:23 mg-mailscanner.test.com systemd[1]: mailscanner.service: Control process exited, code=exited status=1
> Apr 01 20:53:23 mg-mailscanner.test.com systemd[1]: mailscanner.service: Failed with result 'exit-code'.
> Apr 01 20:53:23 mg-mailscanner.test.com systemd[1]: Failed to start LSB: MailScanner daemon.


Try running

sudo ms-configure

That should install all the required Perl modules.

-- 
Mark Sapiro <mark at msapiro.net>        The highway is for gamblers,
San Francisco Bay Area, California    better use your sense - B. Dylan


More information about the MailScanner mailing list