BlockCracking 1.8 released (exim.pl 23 and /etc/exim.variables.conf updates)

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
9,158
Hello,

BlockCracking 1.8 been released.
This version is to address issues from BC 1.7 where it was overly aggressive in the block of sends from the / path.
Things like crons and bounces require this, so should be allowed.

Now requires exim.pl 23 for a new get_env funciton, and "HOME" in the keep_environment in the /etc/exim.variables.conf.
Running
Code:
cd /usr/local/directadmin/custombuild
./build update
./build exim_conf
should take care of all of this for you.

No version change has been made to the 4.x SpamBlocker versions, as the version 23 and keep_environment are only needed by BlockCracking 1.8.

John
 
How do I get the exim.pl version 23? I'm still at version 21.

Having issues with updating blockcracking momentarily:
Downloaded file /usr/local/directadmin/custombuild/exim.blockcracking-1.8.tar.gz does not exist or is empty after download
cwd is: /usr/local/directadmin/custombuild
Fileserver might be down, using the backup file server..
--2017-10-08 21:53:48-- http://69.162.69.58/services/custombuild/blockcracking/exim.blockcracking-1.8.tar.gz
Connecting to 69.162.69.58:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-10-08 21:53:49 ERROR 404: Not Found.



*** MD5 Checksum for blockcracking/exim.blockcracking-1.8.tar.gz failed *again*.***
The md5 checksum value may be incorrect, or a wrong file is being downloaded.
Install continuing with this possibly corrupted file. (it may also be fine)



gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
 
Until it syncs, for now use:
Code:
./build set downloadserver files1.directadmin.com
after 24 hours, you can revert back
Code:
./build set_fastest
John
 
Thank you, that worked.

However, there still is no exim.pl version 23, not even on files1.directamin.com. Was that a typo on your behalve? And is it correct the latest version is still exim.pl version 21?
 
phpmail not working after updating to version 1.8 !
How can I solve the problem?
===
edited
after rebuild exim and restart it, phpmail work again
 
Last edited:
We are also seeing the following errors after updating to 1.8:

spamcheck transport output: An error was detected while processing a file of BSMTP input.
R=spamcheck_director T=spamcheck: Child process of spamcheck transport returned 2 from command: /usr/sbin/exim

After recompiling spamassassin and running ./build exim_conf spamassassin is working again.
 
I have disabled blockcracking for now, it's putting too many messages in frozen state and throwing errors in the log.
Code:
2017-10-09 23:38:43 1e0PPm-00075J-De cancelled by timeout_frozen_after
2017-10-09 23:38:43 cwd=/var/spool/exim 7 args: /usr/sbin/exim -t -oem -oi -f <> -E1e0PPm-00075J-De
2017-10-09 23:38:43 1e1fl5-0006fJ-Pd F=<> rejected by non-SMTP ACL: failed to expand ACL string "${perl{get_env}{HOME}}": Undefined subroutine &main::get_env called.

2017-10-09 23:38:43 1e1fl5-0006fJ-Pd Error while reading message with no usable sender address (R=1e0PPm-00075J-De): rejected by non-SMTP ACL: local configuration problem
2017-10-09 23:38:43 1e0PPm-00075J-De Process failed (1) when writing error message to [email protected] (frozen)
This is probably spam, but should get rejected or deleted, not frozen.
The rebuild.services is not belonging to our customers.
 
Hmm. it has been there a while:
http://files1.directadmin.com/services/exim.pl.23
http://files1.directadmin.com/services/

shows:
08-Oct-2017 13:4316K

But I did fine the symlinks right in the SB folders, eg:
http://files1.directadmin.com/services/SpamBlocker/4.5.7/exim.pl

were pointing to .21, which might be what was going on.
BUT.. the download does use the first path, above:
Code:
wget ${WGET_CONNECT_OPTIONS} -O /etc/exim.pl.cb20 http://${DOWNLOADSERVER_OPT}/services/exim.pl.${EXIM_PL_VER}
so perhaps there was some other code grabbing the exim.pl from the link, which was incorrect.

I've updated the links for the latest of each 4.x version.
Sorry for any confusion!

John
 
But I did fine the symlinks right in the SB folders, eg:
http://files1.directadmin.com/services/SpamBlocker/4.5.7/exim.pl
Yes that was where I was looking so that must have been the case. I even got a exim.pl 16 some how later on. LoL.
Then I went and found the 21 version, but did not find the 23. Must have been looking at the wrong place.:)

I will try again, hopefully this will also fix the frozen messages then.

Edit: Looks good now, also bounces get correctly in the mailbox.
 
Last edited:
Back
Top