Comments on How to install ASSP v.2 on CentOS 7 64 bit

This howto shows the steps to install ASSP on a minimal CentOS 7 installation. It does not cover the installation of CentOS nor the setup of the mail server. The CentOS-7.0-1406-x86_64-Minimal.iso image is suitable for this setup. If you have the DVD image, choose Minimal Install and proceed with the installation.

8 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Leszek

Very nice piece of software.

By: Martin

Hi,

Great tutorial - well done. I'm having small problem with the startup script (assp.service) - it cannot start the assp daemon. When issue the command directly from bash it works fine. When included in the startup script I'm getting following error:

[root@assp assp]# systemctl status assp

Feb 27 00:03:10 assp systemd[1]: Starting AntiSpam SMTP Proxy...Feb 27 00:03:10 assp perl[3809]: Can't locate Thread/Queue.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /var/db/assp/assp.pl line 105.Feb 27 00:03:10 assp perl[3809]: BEGIN failed--compilation aborted at /var/db/assp/assp.pl line 105.Feb 27 00:03:10 assp systemd[1]: assp.service: main process exited, code=exited, status=2/INVALIDARGUMENTFeb 27 00:03:10 assp systemd[1]: Failed to start AntiSpam SMTP Proxy.Feb 27 00:03:10 assp systemd[1]: Unit assp.service entered failed state.

Please advise,

Martin

By: s2s

Hi Martin,

Sorry for the *very late* reply. The error points out that  Thread/Queue.pm is not or has not been installed properly. In the howto there is a section called 'Install CPAN modules for ASSP:'. There you can see that Thread::Queue is added to the installation. Maybe it failed to install. Please (re)install it again with 'cpan -i Thread::Queue'

To verify that it has been installed issue the command cpan -l | grep Thread::Queue. The output of a successful install will show the version and name of the module, eg. 'Thread::Queue 3.05'

  

By: Michael - Natural IT

You need to copy the THREAD folder to the other PERL folder... then it will work fine.

 

cp /root/perl5/lib/perl5/Thread/* /usr/local/lib64/perl5/Thread/

Just have it working 100%

By: Daniel

 systemctl status clamd.service

 

Failed to get properties: Access denied

NOT WORKING... waste of time reading this so called: howto... 

By: bunbon

hi, i am want to test assp before use in my system, i test local with postfix, dovecot,squirellmail, but assp doesnt work,it cant block ip or anything all service is active, am i wrong anywhere, thank you

By: fildenis

Good day! When I create the assp.service and it is run, in dashboard the status of multiple modules becomes "not installed". If I run perl assp.pl then everything is fine. Can help with this problem?

By: Istok

I'm having the same issue. I resolved all dependencies, but when I run ASSP as a service it starts to complain about missing modules. Also, systemctl start assp never really changes it's state to running, it's always in "Active: activating (start)".