Does that file > blackdomains.txt come pre-loaded with domains ? I havent added any to it. Is it used for blacklisting to bypass all filters ?
Does that file > blackdomains.txt come pre-loaded with domains ? I havent added any to it. Is it used for blacklisting to bypass all filters ?
Hi Radio,
Any chance you work out something that every email account have its own spambox also using pop3? Many clients are complaining about they cant use pop3 and also each of the emails have its own spambox, they dont want use imap. Any chance you do that?
Thanx!
Any chance you work out something that every email account have its own spambox also using pop3?
>
I can't understand , you can't create a spambox folder using pop3 .
imap can be disabled by clients using cPanel frontend.
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
new article by David Norelid on Tweaking assp
http://www.grscripts.com/tweaking.html
Bye
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
Hi Radio, in fact you can, check how the cPanel spambox work, the default cpanel spambox work like that, the user can download each email address spam emails using user@domain.com/spambox as the username. This is one of the most wanted feature of my clients using assp deluxe, and i bet alot of other users here will agree.
Thanx Radio!
btw, your Post installation faq link in your site is giving error 404.
Thanx!
Yes, but his script url is not working :-( giving error 404:
http://www.sanesecurity.co.uk/clamav...aneSecurity.sh
Thanx!
ok, i guess because you wroye the wrong url, the files is a .txt not a .sh, url is:
http://www.sanesecurity.co.uk/clamav...neSecurity.txt
Thanx!
@manokiss
I noted your spambox request .
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
Cos I have lots of servers to install this on, I wrote a little script to install the main parts. I'm not clever enough to add the cron jobs so you have to add those in crontab. Its VERY basic but it does exactly what I need!
This will only work on 32bit as it doesnt have any of the 64 bit stuff in.
Save this text as install.sh and run it in shell.
Once you have run this all you have to do is edit your exim config and paste in the stuff below...#!/bin/sh
# Install Perl modules
mkdir /usr/local/assp
cd /usr/local/assp
wget http://www.grscripts.com/assp/assp_modules_installer
chmod 700 assp_modules_installer
./assp_modules_installer
rm -f assp_modules_installer
echo .
echo .
echo .
echo .
echo .
echo PERL SCRIPTS INSTALLED
echo .
echo .
echo .
echo .
echo .
#ASSP Install
cd /usr/local/assp
wget http://switch.dl.sourceforge.net/sou....1-Install.zip
unzip -d /usr/local/assp /usr/local/assp/ASSP_1.3.1-Install.zip
mv -f --target-directory=/usr/local/assp /usr/local/assp/ASSP/*
mv -f --target-directory=/usr/local/assp /usr/local/assp/ASSP/.DS_Store
rm -rf /usr/local/assp/__MACOSX
rm -rf /usr/local/assp/ASSP
rm -f ASSP_1.3.1-Install.zip
cd /usr/local/assp
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp/assp.tar.gz
tar xvzf assp.tar.gz
rm -f assp.tar.gz
chmod 700 assp.pl
chmod 755 rebuildspamdb.pl
chmod 755 repair.pl
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp150/assp.cfg
cd /usr/local/assp
mkdir pb
cd pb
touch denysmtp.txt
touch exportedextreme.txt
touch pbdb.black.db
touch pbdb.rbl.db
touch pbdb.white.db
cd /usr/local/assp
mkdir notspam
mkdir spam
mkdir errors
mkdir /usr/local/assp/errors/notspam
cd /usr/local/assp
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/start
chmod 700 start
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/stop
chmod 700 stop
cd /etc/rc.d/init.d
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/assp
chmod 755 assp
echo .
echo .
echo .
echo .
echo .
echo ASSP INSTALLED
echo .
echo .
echo .
echo .
echo .
# ASSP Deluxe Install
cd /usr/local/assp
mkdir deluxe
cd /usr/local/assp/deluxe
ln -s /etc/relayhosts /usr/local/assp/deluxe/relayhosts
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp150/deluxe/assp.tar.gz
tar xvzf assp.tar.gz
rm -f assp.tar.gz
chmod 755 *.*
chmod 755 *
chmod 777 *spam_lover
chmod 777 assp_catch_all
chmod 755 /usr/local/assp/rebuildspamdb.pl
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -r -nH --cut-dirs=10 http://www.grscripts.com/whm/whm.tar.gz
tar xvzf whm.tar.gz
rm -f whm.tar.gz
echo .
echo .
echo .
echo .
echo .
echo ASSP DELUXE INSTALLED
echo .
echo .
echo .
echo .
echo .
#Exim Config
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_ips.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_localdomains.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/update_email.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/fix_valiases.php
echo .
echo .
echo .
echo .
echo .
echo EXIM CONFIG DONE
echo .
echo .
echo .
echo .
echo .
#Add Service
chkconfig --add assp
echo .
echo .
echo .
echo .
echo .
echo ASSP SERVICE INSTALLED
echo .
echo .
echo .
echo .
echo .................................
echo Now login to WHM to edit your Exim configuration and configure ASSP Deluxe
echo Dont forget to set your cron jobs!
echo .................................
###### enable assp proxy ######
local_interfaces = 127.0.0.1
daemon_smtp_ports = 125
log_selector = +arguments +subject
Then add your cron jobs...
crontab-e
10 12 * * * /usr/bin/freshclam --quiet --log-verbose --daemon-notify
10 4 * * * cd /usr/local/assp;perl /usr/local/assp/rebuildspamdb.pl
MAILTO=""
*/59 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_localdomains.php
*/3 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/update_email.php
*/1 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/status.php
MAILTO=root
Then go into WHm and configure ASSP Deluxe.
Job done!
Oops, forgot - you also have to edit your assp.cfg file and change the top 5 lines!
Edit....
You can change the config file to your prefs automatically by using this in the script.....
replace nospam4me yourownpassword -- /usr/local/assp/assp.cfg
replace email@youremail.com your@ownemail -- /usr/local/assp/assp.cfg
Edit...
You can also install the cron automatically by doing this...
1. Create a file named asspcron.txt
paste this in...
10 12 * * * /usr/bin/freshclam --quiet --log-verbose --daemon-notify
10 4 * * * cd /usr/local/assp;perl /usr/local/assp/rebuildspamdb.pl
MAILTO=""
*/59 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_localdomains.php
*/3 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/update_email.php
*/1 * * * * /usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/status.php
MAILTO=root
Put it somewhere you can download it from during the install.
Then add this to the script...
wget http://yourserver.com/asspcron.txt
crontab -l > crontab.txt
cat asspcron.txt >> crontab.txt
crontab < crontab.txt
It will export your crontab to crontab.txt then append the contents of asspcron.txt to that file - then install the new crontab.
So now I can install assp deluxe, edit the config file with my own password and email and install the crons, all in one go. Not bad for my first shell script!
Last edited by 4u123; 08-19-2007 at 09:14 AM.
Added those in and a pause function so its easy to check each stage for errors before continuing....
#!/bin/sh
# init
function pause()
{
key=""
echo -n Hit any key to continue....
stty -icanon
key=`dd count=1 2>/dev/null`
stty icanon
}
# Install Perl modules
mkdir /usr/local/assp
cd /usr/local/assp
wget http://www.grscripts.com/assp/assp_modules_installer
chmod 700 assp_modules_installer
./assp_modules_installer
rm -f assp_modules_installer
echo .
echo .
echo .
echo .
echo .
echo PERL SCRIPTS INSTALLED
echo .
echo .
echo .
echo .
echo .
pause
#ASSP Install
cd /usr/local/assp
wget http://switch.dl.sourceforge.net/sou....1-Install.zip
unzip -d /usr/local/assp /usr/local/assp/ASSP_1.3.1-Install.zip
mv -f --target-directory=/usr/local/assp /usr/local/assp/ASSP/*
mv -f --target-directory=/usr/local/assp /usr/local/assp/ASSP/.DS_Store
rm -rf /usr/local/assp/__MACOSX
rm -rf /usr/local/assp/ASSP
rm -f ASSP_1.3.1-Install.zip
cd /usr/local/assp
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp/assp.tar.gz
tar xvzf assp.tar.gz
rm -f assp.tar.gz
chmod 700 assp.pl
chmod 755 rebuildspamdb.pl
chmod 755 repair.pl
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp150/assp.cfg
cd /usr/local/assp
mkdir pb
cd pb
touch denysmtp.txt
touch exportedextreme.txt
touch pbdb.black.db
touch pbdb.rbl.db
touch pbdb.white.db
cd /usr/local/assp
mkdir notspam
mkdir spam
mkdir errors
mkdir /usr/local/assp/errors/notspam
cd /usr/local/assp
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/start
chmod 700 start
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/stop
chmod 700 stop
cd /etc/rc.d/init.d
wget -r -nH --cut-dirs=10 http://www.grscripts.com/service/assp
chmod 755 assp
echo .
echo .
echo .
echo .
echo .
echo ASSP INSTALLED
echo .
echo .
echo .
echo .
echo .
pause
# ASSP Deluxe Install
cd /usr/local/assp
mkdir deluxe
cd /usr/local/assp/deluxe
ln -s /etc/relayhosts /usr/local/assp/deluxe/relayhosts
wget -r -nH --cut-dirs=10 http://www.grscripts.com/assp150/deluxe/assp.tar.gz
tar xvzf assp.tar.gz
rm -f assp.tar.gz
chmod 755 *.*
chmod 755 *
chmod 777 *spam_lover
chmod 777 assp_catch_all
chmod 755 /usr/local/assp/rebuildspamdb.pl
cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -r -nH --cut-dirs=10 http://www.grscripts.com/whm/whm.tar.gz
tar xvzf whm.tar.gz
rm -f whm.tar.gz
echo .
echo .
echo .
echo .
echo .
echo ASSP DELUXE INSTALLED
echo .
echo .
echo .
echo .
echo .
pause
#Exim Config
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_ips.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/ex_localdomains.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/update_email.php
/usr/local/cpanel/3rdparty/bin/php /usr/local/assp/deluxe/fix_valiases.php
echo .
echo .
echo .
echo .
echo .
echo EXIM CONFIG DONE
echo .
echo .
echo .
echo .
echo .
pause
#Add Service
chkconfig --add assp
echo .
echo .
echo .
echo .
echo .
echo ASSP SERVICE INSTALLED
echo .
echo .
echo .
echo .
pause
#Add Cron
#Edit the URL to the location of your cron text file
wget http://yourserver.com/asspcron.txt
crontab -l > crontab.txt
cat asspcron.txt >> crontab.txt
crontab < crontab.txt
rm -f asspcron.txt
rm -f crontab.txt
echo .
echo .
echo .
echo .
echo .
echo CRONTAB INSTALLED
echo .
echo .
echo .
echo .
pause
#Edit assp.cfg with your own settings.
#Change yourownpassword and your@ownemail to your own details.
replace nospam4me yourownpassword -- /usr/local/assp/assp.cfg
replace email@youremail.com your@ownemail -- /usr/local/assp/assp.cfg
echo .
echo .
echo .
echo .
echo .
echo CONFIG UPDATED
echo .
echo .
echo .
echo .
echo .................................
echo Now login to WHM to edit your Exim configuration and configure ASSP Deluxe
echo .................................
if you wish I can add your how to (script) with credits here
http://www.grscripts.com/tweaking.html
Bye
Last edited by Radio_Head; 08-20-2007 at 10:14 AM.
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.
ASSP WHM 3.2.6 avaialable
- maintenance update , it fixes minor problems with update scripts
http://www.grscripts.com/changelog.html
█ Stop SPAM & VIRUS :: ASSP Deluxe for cPanel http://www.grscripts.com
█ ASSP Deluxe is supported by Fritz Borgstedt,ASSP main developer.