How to install Spamassassin for systems with directadmin
April 22, 2009 on 7:53 pm | In Algemeen | No CommentsThis little how to explains how to install spamassassin on systems with directadmin.
cd /usr/local/directadmin/scripts
Change your directory to the DA install scripts
./spam.sh
builds spamassassin, when askes for information you should hit enter unless you are sure you want to change the settings.
Start the spamassassin daemon:
/usr/bin/spamd -d -c -m 5
edit /etc/exim.conf
vi /etc/exim.conf
Change:
# Spam Assassin
#spamcheck_director:
# driver = accept
# condition = “${if and { \
# {!def:h_X-Spam-Flag:} \
# {!eq {$received_protocol}{spam-scanned}} \
# {!eq {$received_protocol}{local}} \
# {exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
# {< {$message_size}{100k}} \
# } {1}{0}}"
# retry_use_local_part
# transport = spamcheck
# no_verify
to
# Spam Assassin
spamcheck_director:
driver = accept
condition = "${if and { \
{!def:h_X-Spam-Flag:} \
{!eq {$received_protocol}{spam-scanned}} \
{!eq {$received_protocol}{local}} \
{exists{/home/${lookup{$domain}lsearch{/etc/virtual/domainowners}{$value}}/.spamassassin/user_prefs}} \
{<{$message_size}{100k}} \
} {1}{0}}"
retry_use_local_part
transport = spamcheck
no_verify
And save the exim.conf
restart exim
/sbin/service exim restart
You can now manage spamassassin from directadmin. That’s it.
Plesk Qmail RBL DNS blacklists
April 22, 2009 on 7:35 pm | In Algemeen | No CommentsMost plesk servers are also used as outgoing mail relay. The suggested list also include the spamhaus.org PBL list. This list contains ip’s of end users who should not be allowed to send mails to other mailserver then the one provided by their isp. Removing zen.spamhaus.org and replacing it with xbl.spamhaus.org;sbl.spamhaus.org solves this issue. More details on the spamhaus PBL list can be found here.
How to switch the psa database type in Plesk for Windows manually
April 21, 2009 on 11:03 pm | In Algemeen | No CommentsThe plesk configurator has a tool where you can convert the plesk database from the standard Access database to MySql or MSSQL. If the conversion fails for some reason you will be stuck with an invalid Plesk database configuration.
You can return to the previous state by executing regedit.exe
Go to HKEY_LOCAL_MACHINE, SOFTWARE, PLESK
And change the value: PLESK_DATABASE_PROVIDER_NAME from Mysql of Mssql to Jet and change mySQLDBName to the path of the access database: eg. : C:\Program Files\SWsoft\Plesk\admin\db\psa.mdb of C:\Program Files\SWsoft\Paallels\admin\db\psa.mdb
Restart the plesk services and you’re done.
Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds.
Valid XHTML and CSS. ^Top^