Assp anti spam
wordpress meta
title: 'ASSP as Anti-Spam Filter'
date: '2013-12-06T14:12:43-06:00'
status: draft
permalink: /assp-anti-spam
author: admin
excerpt: ''
type: post
id: 497
category:
- ASSP
tag: []
post_format: []
title: 'ASSP as Anti-Spam Filter'
date: '2013-12-06T14:12:43-06:00'
status: draft
permalink: /assp-anti-spam
author: admin
excerpt: ''
type: post
id: 497
category:
- ASSP
tag: []
post_format: []
A quick howto on installing ASSP version 2. Specifically ASSP_2.3.3_13276 was used for this installation on a Fedora 20 32-bit OS.
Reference:
http://sourceforge.net/projects/assp/files/ASSP%20Installation/
Versions I have used:
our $version = '1.9.1.5';
our $modversion = '(1.0.00)';
our $version = '1.9.9';
our $modversion = '(13334)';
our $version = '1.9.9';
our $modversion = '(13335)';
$version='2.3.3';
$build = '13276';
$modversion="($build)";
Out of scope of this howto you need to change sendmail / postfix / exim to run on a different port ie 125 in my case
I use the the /usr/local/assp directory.
cd /usr/local
tar xpf /root/assp_installs/ASSP_2.3.3_13276_install.zip
[root@gally assp]# more /etc/init.d/assp
#!/bin/bash
#
# assp This shell script takes care of starting and stopping assp
# Note that this daemon runs on regular port 25 and sendmail was changed to run on port 125
#
# chkconfig: 2345 80 30
# description: ASSP is a Anti-Spam Mail Transport Agent, which is the program \
# that moves mail from one machine to another.
# processname: assp
# config: /usr/local/assp/assp.cf
# pidfile: /var/run/assp.pid
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ ${NETWORKING} = "no" ] && exit 0
BASE=/usr/local/assp;
export BASE
[ -f $BASE/assp.pl ] || exit 0
RETVAL=0
prog="ASSP Anti-SPAM Proxy server"
start() {
# Start daemons.
echo -n $"Starting $prog in $BASE: "Nov-29-13 00:00:01 [Main_Thread] Running ASSP version 2.3.3(13276)
Nov-2
trap '' 1
LANG=
export LANG
if ! test -f /var/lock/subsys/assp ; then
perl $BASE/assp.pl $BASE
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/assp
cp $BASE/pid /var/run/assp.pid
return $RETVAL
else
echo "allready running..."
exit 1
fi
}
stop() {
# Stop daemon.
echo -n $"Shutting down $prog: "
if test -f /var/run/assp.pid ; then
kill `cat /var/run/assp.pid`
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/assp
rm -f /var/run/assp.pid
return $RETVAL
else
echo "no pid to shutdown"
exit 1
fi
}
# See how we were called.perl-IO-Compress-Zlib
case "$1" in
start)
start
;;
stop)
stop
;;
restart|reload)
stop
start
RETVAL=$?
;;
condrestart)
if [ -f /var/lock/subsys/assp ]; then
stop
start
RETVAL=$?
fi
;;
status)
#status assp
ps -fp `cat /var/run/assp.pid`
RETVAL=$?
;;
*)
echo $"Usage: $0 {start|stop|restart|condrestart|status}"
exit 1
esac
exit $RETVAL
Nov-29-13 00:00:01 [Main_Thread] Running ASSP version 2.3.3(13276)
Nov-2
mod_inst.pl
[root@gally assp]# iptables --list | grep 55555
ACCEPT tcp -- anywhere anywhere state NEW tcp dpt:55555
Use web frontend to configure some initial values:
http://zalem.com:55555
root / nospam4me
Relaying > acceptAllMail = 127.0.0.|68.178.123.60
SPAm Lover/Hater > spamLovers = postmaster|abuse|mace@zalem.com|jason@zalem.com|foxisland@zalem.com|marth@zalem.com
NoProcessing > noProcessingFrom = rrossouw@yahoo.com
Recipients > LocalDomains = *zalem.com|adpuddy.com
Whitelisting > whiteListedDomains
[root@gally assp]# grep keste files/whitedomains.txt
@keste.com
Whitelisting > whiteRe = (TMDA)
NoProcessing > npRe = TMDA
Validate Helo > myServerRe = zalem.com|gally.zalem.com|127.0.0.1
Validate Helo > noHelo = 127.0.0.1
Validate Helo > heloBlacklistIgnore = 127.0.0.1
[root@gally assp]# egrep "listenPort|smtpDestination|noMsgID|acceptAllMail|spamLovers|noProcessingFrom|LocalDomains|whiteListedDomains|whiteRe|npRe|myServerRe|noHelo|heloBlacklistIgnore|MaxLogAge" assp.cfg
listenPort:=25
smtpDestination:=127.0.0.1:125
smtpDestinationRT:=
listenPortSSL:=
smtpDestinationSSL:=
listenPort2:=
NoAUTHlistenPorts:=Nov-29-13 00:00:01 [Main_Thread] Running ASSP version 2.3.3(13276)
Nov-2
spamLovers:=postmaster|abuse|mace@zalem.com|jason@zalem.com|foxisland@zalem.com|marth@zalem.com
noProcessingFrom:=rrossouw@yahoo.com
npRe:=TMDA
whiteRe:=(TMDA)
whiteListedDomains:=file:files/whitedomains.txt
acceptAllMail:=127.0.0.|68.178.123.60
myServerRe:=zalem.com|gally.zalem.com|127.0.0.1
noHelo:=127.0.0.1
heloBlacklistIgnore:=127.0.0.1
noMsgID:=127.0.0.|192.168.|10.
MaxLogAge:=30
MaxLogAgeSchedule:=1
NoTLSlistenPorts:=
Service start and stop:
[root@gally assp]# /etc/init.d/assp stop
Stopping assp (via systemctl): [ OK ]
[root@gally assp]# /etc/init.d/assp start
Starting assp (via systemctl): Job for assp.service failed. See 'systemctl status assp.service' and 'journalctl -xn' for details.
[FAILED]
[root@gally assp]# systemctl status assp.service
assp.service - SYSV: ASSP is a Anti-Spam Mail Transport Agent, which is the program that moves mail from one machine to another.
Loaded: loaded (/etc/rc.d/init.d/assp)
Active: failed (Result: exit-code) since Fri 2013-11-29 03:04:12 PST; 37s ago
Process: 14402 ExecStop=/etc/rc.d/init.d/assp stop (code=exited, status=1/FAILURE)
Process: 15334 ExecStart=/etc/rc.d/init.d/assp start (code=exited, status=25)
Main PID: 14380 (code=exited, status=1/FAILURE)
Nov 29 03:04:09 gally.zalem.com assp[15334]: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp: ASSP 2.3.3(13276) is starting in directory /usr/local/assp
Nov 29 03:04:10 gally.zalem.com assp[15334]: on host gally.zalem.com
Nov 29 03:04:10 gally.zalem.com assp[15334]: using Perl /usr/bin/perl version 5.018001 (5.18.1)
Nov 29 03:04:11 gally.zalem.com assp[15334]: compiling code please wait ..... checking config in /usr/local/assp/assp.cfg - OK
Nov 29 03:04:12 gally.zalem.com assp[15334]: Abort: ASSP is still running with process-ID: 14508 - (or delete file /usr/local/assp/pid)
Nov 29 03:04:12 gally.zalem.com assp[15334]: Abort: ASSP is still running with process-ID: 14508 - (or delete file /usr/local/assp/pid)
Nov 29 03:04:12 gally.zalem.com assp[15334]: BEGIN failed--compilation aborted at /usr/local/assp/assp.pl line 5123.
Nov 29 03:04:12 gally.zalem.com systemd[1]: assp.service: control process exited, code=exited status=25
Nov 29 03:04:12 gally.zalem.com systemd[1]: Failed to start SYSV: ASSP is a Anti-Spam Mail Transport Agent, which is the program that moves mail from one machine to another..
Nov 29 03:04:12 gally.zalem.com systemd[1]: Unit assp.service entered failed state.
[root@gally assp]# rm /usr/local/assp/pid
rm: remove regular file ‘/usr/local/assp/pid’? y
[root@gally assp]# /etc/init.d/assp start
Starting assp (via systemctl): Job for assp.service failed. See 'systemctl status assp.service' and 'journalctl -xn' for details.
[FAILED]
[root@gally assp]# systemctl status assp.service
assp.service - SYSV: ASSP is a Anti-Spam Mail Transport Agent, which is the program that moves mail from one machine to another.
Loaded: loaded (/etc/rc.d/init.d/assp)
Active: failed (Result: timeout) since Fri 2013-11-29 03:10:04 PST; 19min ago
Process: 14402 ExecStop=/etc/rc.d/init.d/assp stop (code=exited, status=1/FAILURE)
Process: 15350 ExecStart=/etc/rc.d/init.d/assp start (code=killed, signal=TERM)
Main PID: 14380 (code=exited, status=1/FAILURE)
Nov 29 03:09:21 gally.zalem.com assp[15350]: Nov-29-13 03:09:21 [Worker_10000] Griplist download completed
Nov 29 03:09:21 gally.zalem.com assp[15350]: Nov-29-13 03:09:21 [Worker_10000] Info: next Griplist download in 10 hours 17 mins
Nov 29 03:09:21 gally.zalem.com assp[15350]: Nov-29-13 03:09:21 [Worker_10000] Griplist download completed: binary download 121296 bytes
Nov 29 03:09:21 gally.zalem.com assp[15350]: Nov-29-13 03:09:21 [Worker_10000] Griplist - starting binary to text conversion for Griplist
Nov 29 03:09:41 gally.zalem.com assp[15350]: Nov-29-13 03:09:41 [Worker_10000] Griplist binary read OK: /usr/local/assp/griplist.tmp, 0 IPv6 addresses, 30321 IPv4 addresses
Nov 29 03:09:41 gally.zalem.com assp[15350]: Nov-29-13 03:09:41 [Worker_10000] Writing merged Griplist binary
Nov 29 03:09:41 gally.zalem.com assp[15350]: Nov-29-13 03:09:41 [Worker_10000] Writing merged Griplist binary finished
Nov 29 03:10:04 gally.zalem.com systemd[1]: assp.service operation timed out. Terminating.
Nov 29 03:10:04 gally.zalem.com systemd[1]: Failed to start SYSV: ASSP is a Anti-Spam Mail Transport Agent, which is the program that moves mail from one machine to another..
Nov 29 03:10:04 gally.zalem.com systemd[1]: Unit assp.service entered failed state.
[root@gally assp]# ps -ef | grep assp
root 14448 1 2 Nov28 ? 00:13:51 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 03:30:10 2013
root 14508 1 30 Nov28 ? 02:18:13 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 03:30:10 2013
root 15351 1 31 03:05 ? 00:07:57 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 03:30:10 2013
root 15392 15042 1 03:30 pts/0 00:00:00 grep --color=auto assp
Nov 29 03:05:04 gally systemd: Starting SYSV: ASSP is a Anti-Spam Mail Transport Agent, which is the program that moves mail from one machine to another....
Nov 29 03:05:07 gally assp: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp: ASSP 2.3.3(13276) is starting in directory /usr/local/assp
Nov 29 03:05:07 gally assp: on host gally.zalem.com
Nov 29 03:05:07 gally assp: using Perl /usr/bin/perl version 5.018001 (5.18.1)
Nov 29 03:05:09 gally assp: compiling code please wait ..... checking config in /usr/local/assp/assp.cfg - OK
Nov 29 03:05:12 gally assp: ASSP uses AsspSelfLoader 2.03 - check [OK]
Nov 29 03:05:13 gally assp: loading configuration [OK]
Nov 29 03:05:13 gally assp: 1046 values loaded [OK]
Nov 29 03:05:27 gally assp: defining environment [OK]
Nov 29 03:05:27 gally assp: setting up global ENV [OK]
Nov 29 03:05:40 gally assp: loading modules.........U [failed] - errors are written to file /usr/local/assp/moduleLoadErrors.txt
Nov 29 03:05:40 gally assp: loading database drivers [OK]
Nov 29 03:05:40 gally assp: setup regular expressions [OK]
Nov 29 03:05:41 gally assp: loading plugins [OK]
Nov 29 03:05:42 gally assp: fixing up config [OK]
Nov 29 03:05:53 gally assp: check process env [SKIP]
Nov 29 03:05:54 gally assp: check process permission [OK]
Nov 29 03:05:55 gally assp: setting up modules.......... [OK]
Nov 29 03:05:55 gally assp: checking directories [OK]
Nov 29 03:05:55 gally assp: loading caches and lists [OK]
Nov 29 03:05:55 gally assp: starting maintenance worker thread -> init all databases starting maintenance worker thread [OK]
Nov 29 03:06:43 gally assp: starting rebuild SpamDB worker thread [OK]
starting 5 communication worker threadscommunication wor[OK]threads .....
Nov 29 03:08:26 gally assp: initializing main thread and logging [OK]
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:27 [startup] Starting in console mode
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:40 [startup] ASSP-professional version 2.3.3(13276) (Perl 5.018001) (on linux) initializing
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:42 [startup] Info: registered encrypted POP3ConfigFile file /usr/local/assp/files/pop3cfg.txt
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:43 [startup] AdminInfo: failed to open option list file for reading '/usr/local/assp/files/MaxRealSize.txt' (MaxRealSizeAdr): No such file or directory
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:43 [startup] AdminInfo: failed to open option list file for reading '/usr/local/assp/files/MaxRealSizeExt.txt' (MaxRealSizeExternalAdr): No such file or directory
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:43 [startup] AdminInfo: failed to open option list file for reading '/usr/local/assp/files/MaxSize.txt' (MaxSizeAdr): No such file or directory
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:43 [startup] AdminInfo: failed to open option list file for reading '/usr/local/assp/files/MaxSizeExt.txt' (MaxSizeExternalAdr): No such file or directory
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:46 [startup] Info: no valid recipient replacement rule found
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:46 [startup] Info: Regex invalidFormatHeloRe: 3 weighted regular expression defined
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:50 [startup] Info: Regex SuspiciousVirus: 16 weighted regular expression defined
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:50 [startup] AdminInfo: failed to open option list file for reading '/usr/local/assp/files/bombskipheadertagre.txt' (bombSkipHeaderTagRe): No such file or directory
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:50 [startup] Warning: NO MSGIDsig-secrets activated - MSGIDsig-check is now disabled : 10 records ignored because of wrong syntax or using default values : 0=key0|1=key1|2=key2|3=key3|4=key4|5=key5|6=key6|7=key7|8=key8|9=key9
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:50 [startup] Info: 10 BATV-secrets activated
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:52 [startup] Info: switched (DNS) nameserver order from to 64.122.32.71
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:52 [startup] Info: removed 0 config change schedules
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:52 [startup] Info: an ASSP restart will be done with:
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:53 [startup] ASSP version 2.3.3(13276) (Perl 5.018001) (on linux)running on server: gally.zalem.com (68.178.123.60)
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:53 [startup] Info: unicode support is available on that system
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] Threads module 1.89 installed
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] Threads::shared module 1.45 installed
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] Thread::Queue module 3.02 installed
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] IO::Poll module 0.09 installed
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] IO::Select module 1.21 installed
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] ASSP is using IOEngine - Poll
Nov 29 03:08:26 gally assp: Nov-29-13 03:05:54 [init] Thread::State 0.09 module is not installed.
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] IO::Socket::INET6 module is not detected (enableIPv6 is not set).
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::LDAP module version 0.57 installed and available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::DNS module version 0.72 installed and available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::SMTP module version 2.31 installed and available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::SMTP::TLS module version 0.12 installed and available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] NetSNMP::agent module is not installed.
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Mail::SPF::Query module is not installed.
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Mail::SPF module version 2.009 installed and available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Mail::SRS module version 0.31 installed - Sender Rewriting Scheme available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Compress::Zlib module version 2.062 installed - HTTP compression available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Digest::MD5 module version 2.53 installed - delaying can use MD5 keys for hashes
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Digest::SHA1 module version 2.13 installed - BATV and FBMTV check available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] File::ReadBackwards module version 1.05 installed - searching of log files enabled
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Time::HiRes module version 1.9726 installed - CPU usage statistics available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Sys::Syslog module version 0.33 installed - Unix centralized logging enabled
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Unicode::GCString module is not installed - unable to detect east asian language strings as sequence of UAX #29 Grapheme Clusters
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Text::Unidecode module version 0.04 installed - can transliterate unicode characters to ASCII
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Tie::RDBM module version 0.73 installed - database usage available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] DB_File module is disabled in config - DB_File (Berkeley V1) database usage not available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] BerkeleyDB module version 0.54 installed - Berkeley database usage available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] BerkeleyDB DB-version 5.3 / Berkeley DB 5.3.28: (September 9, 2013) is installed
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Info: griplist is using basic 'orderedtie' in file /usr/local/assp/griplist
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::CIDR::Lite module version 0.21 installed - hyphenated IP address range available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] NetAddr::IP::Lite module version 1.51 installed - hyphenated IP and CIDR address range calculation available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Net::IP module version 1.26 installed - hyphenated IP and CIDR address range calculation available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] LWP::Simple module version 6.00 installed - procedural LWP interface available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Email::MIME module version 1.925 installed - MIME charset decoding and conversion interface and attachment detection available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] MIME::Types module version 2.04 installed - TNEF conversion may possible
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Email::Send module version 2.199 installed - sending .eml files available
Nov 29 03:08:27 gally assp: Nov-29-13 03:05:54 [init] Convert::TNEF module version 0.18 installed - TNEF conversion is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Mail::DKIM::Verifier module version 0.4 installed - DKIM verification is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Schedule::Cron module version 1.01 installed - RebuildSpamdb Scheduler is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Sys::MemInfo module version 0.91 installed - memory calculation is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Sys::CpuAffinity module is not installed - setting CPU Affinty not available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Authen::SASL module version 2.16 installed - SMTP AUTH is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Regex::Optimizer module is disabled in config - enhanced Regular Expression Optimization is not available - regex processing will take approximately 6 times longer
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] AsspSelfLoader module version 2.03 installed - ASSP Code Load Optimization is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] ASSP_WordStem module is not installed - ASSP multi lingual word stemming engine for Bayesian and HMM checks is not available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] ASSP_FC module is not installed - ASSP file commander is not available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] ASSP_SVG module version 1.01 installed - ASSP graphical STATS are available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] IO::Socket::SSL module version 1.955 installed - https and TLS/SSL is possible
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Found valid certificate and private key file - https and TLS/SSL is available
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:54 [init] Warning: There were module load errors detected - look in to file /usr/local/assp/moduleLoadErrors.txt for more details. To solve this issue install the failed modules or disable them in the 'Module Setup' section in the GUI.
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: the DBI connection string is set to: 'DBI:mysql:database=;host='
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: Whitelist loaded from /usr/local/assp/whitelist with 3 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: PersBlack loaded from /usr/local/assp/persblack with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: Redlist loaded from /usr/local/assp/redlist with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: Delay loaded from /usr/local/assp/delaydb with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: DelayWhite loaded from /usr/local/assp/delaydb.white with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: PBWhite loaded from /usr/local/assp/pb/pbdb.white.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: PBBlack loaded from /usr/local/assp/pb/pbdb.black.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: RBLCache loaded from /usr/local/assp/pb/pbdb.rbl.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: URIBLCache loaded from /usr/local/assp/pb/pbdb.uribl.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: PTRCache loaded from /usr/local/assp/pb/pbdb.ptr.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: MXACache loaded from /usr/local/assp/pb/pbdb.mxa.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: RWLCache loaded from /usr/local/assp/pb/pbdb.rwl.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: SPFCache loaded from /usr/local/assp/pb/pbdb.spf.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: SBCache loaded from /usr/local/assp/pb/pbdb.sb.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: PBTrap loaded from /usr/local/assp/pb/pbdb.trap.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: DKIMCache loaded from /usr/local/assp/pb/pbdb.dkim.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: BATVTag loaded from /usr/local/assp/pb/pbdb.batv.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Info: BackDNS loaded from /usr/local/assp/pb/pbdb.back.db with 0 records
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Warning: unable to open /usr/local/assp/spamdb to load Spamdb
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Warning: unable to open /usr/local/assp/spamdb.helo to load HeloBlack
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Warning: unable to open /usr/local/assp/ldaplist to load LDAPlist
Nov 29 03:08:28 gally assp: Nov-29-13 03:05:55 [init] Starting maintenance worker thread [10000] - ThreadCycleTime is set to 3000 microseconds
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:15 [Worker_10000] Info: switched (DNS) nameserver order from 64.122.32.71 to 64.122.32.71
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:18 [Worker_10000] Worker_10000 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:18 [init] Starting rebuild SpamDB worker thread [10001] - ThreadCycleTime is set to 30 microseconds
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:18 [Worker_10000] Info: 0 records of PersBlack saved
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:18 [Worker_10000] Info: last delta Griplist download was at: Nov-28-13 20:47:59
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:18 [Worker_10000] Uploading stats via direct connection
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:43 [Worker_10001] Worker_10001 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:43 [init] Starting SMTP-worker-threads with ThreadCycleTime set to 3000 microseconds
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:43 [init] Starting communication worker threads [1 to 5]
Nov 29 03:08:28 gally assp: Nov-29-13 03:06:43 [Worker_10001] Info: found module /usr/local/assp/lib/rebuildspamdb.pm version 6.30
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:07 [Worker_1] Worker_1 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:21 [Worker_10000] Downloading assp version check via direct HTTP connection
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:22 [Worker_10000] Assp version check already up to date
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:22 [Worker_10000] Info: next assp version check download in 18 hours 43 mins
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:32 [Worker_2] Worker_2 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:07:47 [Worker_3] Worker_3 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:10 [Worker_4] Worker_4 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:20 [Worker_10000] Downloading TLDlist via direct HTTP connection
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_10000] TLDlist already up to date
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_10000] Downloading level-2-TLDlist via direct HTTP connection
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_10000] Level-2-TLDlist already up to date
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_10000] Downloading level-3-TLDlist via direct HTTP connection
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_10000] Level-3-TLDlist already up to date
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:21 [Worker_5] Worker_5 started
Nov 29 03:08:28 gally assp: Nov-29-13 03:08:25 [init] All Threads are started
Nov 29 03:08:29 gally assp: Nov-29-13 03:08:29 [init] Info: HMMdb is using 'BerkeleyDB' version 5.3 in file /usr/local/assp/HMMdb.bdb, because HMMusesBDB is set to ON
Nov 29 03:08:29 gally assp: Nov-29-13 03:08:29 [init] Warning: Bayesian spam database has only 0 records
Nov 29 03:08:29 gally assp: Nov-29-13 03:08:29 [init] Warning: whitelist has only 3 records: (ignore if this is a new install)
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:29 [init] Info: saving Stats in file asspstats.sav
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:29 [init] Info: saving ScoreStats in file asspscorestats.sav
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:30 [init] Error: couldn't create server socket on port '25' -- maybe another service is running or I'm not root (uid=0)? -- or a wrong IP address is defined? -- Address already in use
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:30 [init] Error: couldn't create server socket on port '55555' -- maybe another service is running or I'm not root (uid=0)? -- or a wrong IP address is defined? -- Address already in use
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:30 [init] Error: couldn't create server socket on port '55553' -- maybe another service is running or I'm not root (uid=0)? -- or a wrong IP address is defined? -- Address already in use
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:30 [init] Current PID: 15351
Nov 29 03:08:30 gally assp: Nov-29-13 03:08:30 [init] Info: command queue released
Nov 29 03:08:32 gally assp: Nov-29-13 03:08:30 [init] Info: central signalhandler - STKFLT(16) - NUM50(50) - FPE(8) - TSTP(20) - XFSZ(25) - NUM38(38) - NUM46(46) - NUM62(62) - NUM36(36) - NUM56(56) - NUM54(54) - NUM49(49) - TTOU(22) - PROF(27) - NUM60(60) - ILL(4) - PIPE(13) - NUM55(55) - NUM37(37) - NUM40(40) - UNUSED(68) - NUM63(63) - POLL(67) - ABRT(6) - VTALRM(26) - QUIT(3) - NUM59(59) - PWR(30) - NUM51(51) - TRAP(5) - XCPU(24) - NUM43(43) - NUM33(33) - TTIN(21) - NUM44(44) - IOT(65) - NUM41(41) - NUM47(47) - CONT(18) - BUS(7) - NUM58(58) - NUM45(45) - NUM57(57) - STOP(19) - NUM35(35) - WINCH(28) - NUM53(53) - IO(29) - NUM39(39) - URG(23) - NUM48(48) - RTMAX(64) - NUM42(42) - SEGV(11) - KILL(9) - NUM32(32) - NUM61(61) - NUM52(52) - RTMIN(34) - SYS(31) - INT(2) - HUP(1) - TERM(15) - CHLD(17) - CLD(66) - ALRM(14) - installed
Nov 29 03:08:33 gally assp: Nov-29-13 03:08:31 [Worker_10000] Info: MaxAllowedDups - 6 files registered in spam folder
Nov 29 03:08:33 gally assp: Nov-29-13 03:08:32 [Main_Thread] MainThread started
Nov 29 03:08:53 gally assp: Nov-29-13 03:08:52 [Worker_10000] Info: next Droplist download in 17 hours 52 mins
Nov 29 03:09:02 gally assp: Nov-29-13 03:09:02 [Worker_10000] Info: synchronizing all BerkeleyDB hashes to disk
Nov 29 03:09:02 gally assp: Nov-29-13 03:09:02 [Worker_10000] Info: compacting all BerkeleyDB hashes on disk
Nov 29 03:09:19 gally assp: Nov-29-13 03:09:19 [Worker_10000] Downloading griplist.conf via direct HTTP connection
Nov 29 03:09:19 gally assp: Nov-29-13 03:09:19 [Worker_10000] Griplist.conf already up to date
Nov 29 03:09:19 gally assp: Nov-29-13 03:09:19 [Worker_10000] Info: loaded GRIPLIST upload and download URL's from /usr/local/assp/griplist.conf
Nov 29 03:09:19 gally assp: Nov-29-13 03:09:19 [Worker_10000] Downloading Griplist via direct HTTP connection
Nov 29 03:09:21 gally assp: Nov-29-13 03:09:21 [Worker_10000] Griplist download completed
Nov 29 03:09:21 gally assp: Nov-29-13 03:09:21 [Worker_10000] Info: next Griplist download in 10 hours 17 mins
Nov 29 03:09:21 gally assp: Nov-29-13 03:09:21 [Worker_10000] Griplist download completed: binary download 121296 bytes
Nov 29 03:09:21 gally assp: Nov-29-13 03:09:21 [Worker_10000] Griplist - starting binary to text conversion for Griplist
Nov 29 03:09:37 gally assp: Nov-29-13 03:09:36 [Worker_10000] Info: PersBlack loaded from /usr/local/assp/persblack with 0 records
Nov 29 03:09:39 gally assp: Nov-29-13 03:09:39 [Worker_10000] Info: PersBlack loaded from /usr/local/assp/persblack with 0 records
Nov 29 03:09:41 gally assp: Nov-29-13 03:09:41 [Worker_10000] Griplist binary read OK: /usr/local/assp/griplist.tmp, 0 IPv6 addresses, 30321 IPv4 addresses
Nov 29 03:09:41 gally assp: Nov-29-13 03:09:41 [Worker_10000] Writing merged Griplist binary
Nov 29 03:09:41 gally assp: Nov-29-13 03:09:41 [Worker_10000] Writing merged Griplist binary finished
Nov 29 03:10:04 gally systemd: assp.service operation timed out. Terminating.
[root@gally assp]# ps ax | grep "/usr/bin/perl /usr/local/assp/assp.pl" | grep -v grep | awk '{ print $1 }'
14448
14508
15351
[root@gally assp]# kill -9 `ps ax | grep "/usr/bin/perl /usr/local/assp/assp.pl" | grep -v grep | awk '{ print $1 }'`
Systemd specifics:
[root@gally system]# cat assp.service
[Unit]
Description=ASSP
After=network.target
;Requires=syslog.socket
[Service]
Type=forking
ExecStart=/etc/rc.d/init.d/assp start
ExecStop=/etc/rc.d/init.d/assp stop
PIDFile=/usr/local/assp/pid
TimeoutSec=900
[Install]
WantedBy=multi-user.target
[root@gally system]# systemctl status assp.service
assp.service - ASSP
Loaded: loaded (/etc/systemd/system/assp.service; disabled)
Active: active (running) since Fri 2013-11-29 04:40:51 PST; 13min ago
Process: 15915 ExecStart=/etc/rc.d/init.d/assp start (code=exited, status=0/SUCCESS)
Main PID: 15916 (perl)
CGroup: /system.slice/assp.service
└─15916 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 04:54:15 2013
Nov 29 04:40:23 gally.zalem.com assp[15915]: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp:
Nov 29 04:40:24 gally.zalem.com systemd[1]: PID file /usr/local/assp/pid not readable (yet?) after start.
Nov 29 04:40:51 gally.zalem.com systemd[1]: Started ASSP.
[root@gally system]# ls -l /usr/local/assp/pid
-rw-r--r-- 1 root root 5 Nov 29 04:42 /usr/local/assp/pid
[root@gally system]# systemctl enable assp.service
ln -s '/etc/systemd/system/assp.service' '/etc/systemd/system/multi-user.target.wants/assp.service'
[root@gally system]# systemctl status assp.service
assp.service - ASSP
Loaded: loaded (/etc/systemd/system/assp.service; enabled)
Active: active (running) since Fri 2013-11-29 04:40:51 PST; 14min ago
Main PID: 15916 (perl)
CGroup: /system.slice/assp.service
└─15916 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 04:55:20 2013
Nov 29 04:40:23 gally.zalem.com assp[15915]: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp:
Nov 29 04:40:24 gally.zalem.com systemd[1]: PID file /usr/local/assp/pid not readable (yet?) after start.
Nov 29 04:40:51 gally.zalem.com systemd[1]: Started ASSP.
[root@gally system]# systemctl status assp.service
assp.service - ASSP
Loaded: loaded (/etc/systemd/system/assp.service; disabled)
Active: active (running) since Fri 2013-11-29 04:40:51 PST; 13min ago
Process: 15915 ExecStart=/etc/rc.d/init.d/assp start (code=exited, status=0/SUCCESS)
Main PID: 15916 (perl)
CGroup: /system.slice/assp.service
└─15916 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 04:54:15 2013
Nov 29 04:40:23 gally.zalem.com assp[15915]: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp:
Nov 29 04:40:24 gally.zalem.com systemd[1]: PID file /usr/local/assp/pid not readable (yet?) after start.
Nov 29 04:40:51 gally.zalem.com systemd[1]: Started ASSP.
[root@gally system]# ls -l /usr/local/assp/pid
-rw-r--r-- 1 root root 5 Nov 29 04:42 /usr/local/assp/pid
[root@gally system]# systemctl enable assp.service
ln -s '/etc/systemd/system/assp.service' '/etc/systemd/system/multi-user.target.wants/assp.service'
[root@gally system]# systemctl status assp.service
assp.service - ASSP
Loaded: loaded (/etc/systemd/system/assp.service; enabled)
Active: active (running) since Fri 2013-11-29 04:40:51 PST; 14min ago
Main PID: 15916 (perl)
CGroup: /system.slice/assp.service
└─15916 /usr/bin/perl /usr/local/assp/assp.pl MainLoop - next: Fri Nov 29 04:55:20 2013
Nov 29 04:40:23 gally.zalem.com assp[15915]: Starting ASSP Anti-SPAM Proxy server in /usr/local/assp:
Nov 29 04:40:24 gally.zalem.com systemd[1]: PID file /usr/local/assp/pid not readable (yet?) after start.
Nov 29 04:40:51 gally.zalem.com systemd[1]: Started ASSP.