assp
From WebHostingNeeds.com
http://assp.sourceforge.net/ Install Required Perl Modules cpan install Compress::Zlib install Digest::MD5 install Email::Valid install File::ReadBackwards install Mail::SPF::Query install Mail::SRS install Net::DNS install Sys::Syslog install Net::LDAP install Time::HiRes To exit type "q" and press enter. Make folders mkdir /usr/local/assp/ mkdir /usr/local/assp/spam mkdir /usr/local/assp/notspam mkdir /usr/local/assp/errors mkdir /usr/local/assp/errors/spam mkdir /usr/local/assp/errors/notspam cd /usr/local/src wget http://downloads.sourceforge.net/sourceforge/assp/ASSP_1.5.1.4_1.zip unzip ASSP_1.5.1.4_1.zip cd ASSP_1.5.1.4_1-Install mv -f ASSP/* /usr/local/assp Go there and start it up for the first time. cd /usr/local/assp perl assp.pl Now point a browser to: http://server52.hosthat.com:55555 admin stefin123 vi /etc/postfix/master.cf FIND smtp inet n - n - - smtpd Replace with 125 inet n - n - - smtpd postfix reload ========================================= vi /etc/init.d/assp #!/bin/sh -e # Start or stop ASSP # # original version by Ivo Schaap <[email protected]> had issues on Debian4. Modified by atramos. # ### BEGIN INIT INFO # Provides: ASSP (Anti-Spam SMTP Proxy) # Required-Start: $syslog, $local_fs # Required-Stop: $syslog, $local_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start ASSP # Description: Enable service provided by daemon. ### END INIT INFO PATH=/bin:/usr/bin:/sbin:/usr/sbin case "$1" in start) echo -n "Starting the Anti-Spam SMTP Proxy" cd /usr/local/assp perl assp.pl > /var/log/assp.log & ;; stop) echo -n "Stopping the Anti-Spam SMTP Proxy" kill -9 `ps ax | grep "perl assp.pl" | grep -v grep | awk '{ print $1 }'` ;; restart) $0 stop || true $0 start ;; *) echo "Usage: /etc/init.d/assp {start|stop|restart}" exit 1 ;; esac exit 0 chmod 755 /etc/init.d/assp /etc/init.d/assp status vi /etc/rc.local at end add /etc/init.d/assp start