------------------------------------------------------------------------------------------------
(C)2008-2010 - Matthias Hackbath - http://www.haggybear.de
Plesk Spamdyke Config Panel

History:
2.3.3      (10.02.2010) - A graphical view of the TOP5-Stats added. Just as an eyecatcher
2.3.2      (31.10.2009) - Automatic abuse function for admin to inform the webmaster of the spamming server.
                          The template for the generated mail can be edited in the administration.
2.3.1      (13.10.2009) - Datefix for SuSE-Systems. More flags added, and the live country detection
                          can be enabled/disabled by the admin. In the config.inc.php the new parameter
                          WHOIS_DETECT has beed added. This is for the dailyreport in which way the country
                          will be detected.
2.3        (11.08.2009) - Speeded up the country detection of the statistics and added a live
                          country detection to the view 
2.2        (27.06.2009) - The RDNS-Backlist has been added to the overview and list-settings.
                          If you want to use this feature you have to put the path into your
                          spamdyke.conf and create the file within the folder:
                          touch "/var/qmail/spamdyke/blacklist_rdns"
                          put into spamdyke.conf -> "rdns-blacklist-file=/var/qmail/spamdyke/blacklist_rdns"
                          After that you have to readd the rights of rdns to your users (disable/enable)

                          Also a export was added, to download the email-traffic as a csv-file.
2.1.4      (13.06.2009) - Filter settings improved. All filters staying active until they are
                          resetted by the user
2.1.3      (11.05.2009) - IP-Whois in statistics and daily report improved. 
2.1.2      (08.05.2009) - Global White/Blacklist bug fixed. RDNS-Name country detection and
                          IP-Whois within statistics added.
2.1.1      (19.03.2009) - Plesk 9 Fix for 'Level Up' and wrong view with other installed addons.
2.1        (11.03.2009) - New white/blacklist management. Domain specific lists are possible
2.0.3      (17.02.2009) - IP search fix within detail-layer.Multi-domain-rights function added to
                          deativate or activate all methods for one domain or all domains for
                          one method.
2.0.2      (26.01.2009) - IP search fix in MySQL version. User view fixed openening settings and
                          filterbar. Directionview in adminview corrected!
2.0.1      (10.01.2009) - Bugfix in TOP-Stat view in File-Version
2.0.0      (09.01.2009) - First public release
------------------------------------------------------------------------------------------------

Install Instructions:

1)
-Change into you Plesk Admin htdocs directory (e.g. /opt/psa/admin/htdocs)
-Make a directory for the Spamdyke Config Panel (e.g. "mkdir spamdyke")
-Set chown of the directory you made above to root:psaadm ("chown root:psaadm spamdyke") 
-Set chmod of the directory you made above to 755 ("chmod 755 spamdyke")
-Extract all files of the ZIP into that directory
-Set chown of all files to root:psaadm ("chown -R root:psaadm *")
-Set chmod of all files to 755 ("chmod 755 -R *")
-Set the wrapper to chown root:root ("chown root:root wrapper")
-Set the wrapper to chmod 4755 ("chmod 4755 wrapper")
-Set the rights.txt and reports.txt to chmod 777
-Set the Folder stats to chmod 777

============================================================================================================
IMPORTANT IF THE SCP DON'T WORK ON PLESK 8.x (WHITE SCREEN), SET ALL FILES TO 775
============================================================================================================

-make your settings in file config.inc.php

Make sure the Spamdyke is installed and working, don't forget to set the correct path to the spamdyke.conf

2)
-Login to your Plesk as admin
-Make a new Custom Button with the following settings:

Button label: Just choose a name ;-)
Location: Domain administration page
Priority: 100
Background image: choose the dslogo.gif of the ZIP
URL: your directory you made above an the index file (e.g. "/spamdyke/index.php")
Include domain id: yes
Include domain name: yes
Include FTP Login: no
Include FTP password: no
Include client id: yes
Include client's company name: no
Include client's contact name: no
Include client's e-mail: no
Context help tip contents: whatever you want
Open URL in the Control Panel: yes
Visible to all sub-logins: yes (if your clients are allowed to manager their subdomains)

Thats it!

Have Fun!

14.08.08 Haggy (ich@haggybear.de)
