Posts by fulltilt

    I have removed the new cpan

    Code
    1. rm /usr/local/bin/cpan
    2. unset -f cpan

    now it shows:

    type -a cpan

    cpan is /usr/bin/cpan


    but if I try to install or re-install a package e.g.


    What can I do?

    some more details > cpan -> r

    Ubuntu 18.04.6 LTS

    I-MSCP 1.5.3 (2018120800)


    Today I wanted to update some cpan modules for spamassassin and accidentally ran:

    perl -MCPAN -e upgrade


    Since then I can't change any email address, it gets stuck on toadd ...

    an update or reinstalling packages also shows an error message:

    Code
    1. [FATAL] Carp::croak: 'blocksize' is not a recognized argument at /usr/local/share/perl/5.26.1/Crypt/CBC.pm line 312, <$fh> line 408.
    2. at /var/www/imscp/engine/PerlLib/iMSCP/Crypt.pm line 498.
    3. E: Problem executing scripts DPkg::Post-Invoke 'if [ -x /usr/local/sbin/imscp-dpkg-post-invoke.pl -a ${IMSCP_SETUP:=0} -eq 0 ]; then /usr/bin/perl /usr/local/sbin/imscp-dpkg-post-invoke.pl -d; fi'
    4. E: Sub-process returned an error code

    I then tried to reinstall all perl packages

    Code
    1. apt-get --reinstall install perl libcrypt-blowfish-perl libcrypt-cbc-perl libcrypt-eksblowfish-perl libcrypt-rijndael-perl libdata-validate-ip-perl libdate-simple-perl libdatetime-perl libdbd-mysql-perl libdbi-perl libemail-valid-perl libfile-copy-recursive-perl libfile-homedir-perl libhash-merge-perl libjson-perl libmailtools-perl libmime-tools-perl libnet-dns-perl libnet-libidn-perl libsort-naturally-perl libtimedate-perl libunix-mknod-perl libwww-perl libxml-parser-perl libxml-simple-perl

    shows

    Code
    1. shows:
    2. [FATAL] Carp::croak: 'blocksize' is not a recognized argument at /usr/local/share/perl/5.26.1/Crypt/CBC.pm line 312, <$fh> line 408.
    3. at /var/www/imscp/engine/PerlLib/iMSCP/Crypt.pm line 498.


    LE plugin log (snap fix Kess) shows

    Code
    1. [Thu May 26 17:00:01 2022] [error] main: Couldn't process Let's Encrypt pending tasks: 'blocksize' is not a recognized argument at /$
    2. at /var/www/imscp/gui/plugins/LetsEncrypt/cron/../../../../engine/PerlLib/iMSCP/Crypt.pm line 498.


    CBC package seems to be available

    Code
    1. apt -y install apt-file
    2. apt update
    3. apt-file search Crypt/CBC.pm
    4. libcrypt-cbc-perl: /usr/share/perl5/Crypt/CBC.pm
    5. libmessage-passing-perl: /usr/share/perl5/Message/Passing/Filter/Decoder/Crypt/CBC.pm
    6. libmessage-passing-perl: /usr/share/perl5/Message/Passing/Filter/Encoder/Crypt/CBC.pm
    7. libmessage-passing-perl: /usr/share/perl5/Message/Passing/Role/Crypt/CBC.pm


    It's a productive server with 200 customers on board so it's a bit urgent ...

    How can I solve this problem?

    o.k. I have removed all the KAM stuff from /var/lib/spamassassin/3.004002/

    and tried this way:


    result of spamassassin --lint is good, manual spamass update cron runs without errors, let's see how it looks tomorrow ;-)

    I have added the KAM ruleset channel in spamassassin, the files were installed under:

    /var/lib/spamassassin/3.004002/kam_sa-channels_mcgrail_com


    Instructions for Usage:

    https://mcgrail.com/template/kam.cf_channel


    Is anyone familiar with it on Debian?

    Do I have to add extra scores into /etc/spamassassin/local.cf or an extra kam.cf in this folder if the KAM.cf is available in /var/lib/spamassassin/3.004002/kam_sa-channels_mcgrail_com?


    I've been getting following info every morning:

    Why are you trying to modify the code ?

    There's a specific setting for that !

    Go to: https://your_panel_url:port/admin/settings.php

    Open: Email Settings

    Change: Protect default mail accounts against change and removal to "Disabled"


    yes, but the protection does not allow to change the forwardings afterwards

    e.g. setting postmaster, abuse, webmaster to a local email address afterwards instead of using the profile email address which is mostly forward all postmaster stuff to gmail, hotmail, yahoo etc. and can result in rejects & IP blockings due to attacks or script errors also SPF rules