How To Install ASSP On Linux System Without Cpanel?

May 28, 2008

How to install ASSP on linux system without cpanel.

View 2 Replies


ADVERTISEMENT

ASSP Install Issues.

Mar 13, 2007

I followed the tutorial provided here for installing ASSP but am running into a small problem with exim failing on my vps. I am using ConfigServers csf and lfd and didn't know if there was more modifications needed for ASSP.

my exim panic log shows this:

2007-03-12 00:19:39 socket bind() to port 125 for address 127.0.0.1 failed:
Address already in use: daemon abandoned

I think that it may have to be my exim.conf or assp.cfg, but both read the same.

Exim.conf
local_interfaces = 127.0.0.1.125

Assp.cfg
smtpDestination:=127.0.0.1:125

View 11 Replies View Related

Plesk 11.x / Linux :: Secure Connection To System When Posting Data - Install PEM Certificate

Nov 20, 2014

I've written a script to send property data to rightmove.co.uk as part of their new automated data feed. However they require a secure connection to their systems when posting the data. They have provided me with a .pem file which is a security certificate. I need to install this on my plesk server but where to start as most certificates require a private key and the actual certificate. The private key I have been provided is only an 8 charter string, like a password.

View 1 Replies View Related

VPS With Cpanel And Preinstalled ASSP Instead Of SpamAssassin

Sep 10, 2008

I am looking for a VPS provider that can install ASSP instead

of SpamAssassin does anybody know of any?

View 0 Replies View Related

Howto: ASSP Installation In CPanel

Jan 29, 2007

What is ASSP? ASSP is an Anti-Spam SMTP Proxy . The homepage can be found here. ASSP is a lightweight daemon that can filter mail based on various things such as SPF, RBLs, Bayesian word lists, as well as blocking email addresses from getting mail, or having mail filtered.

This tutorial will walk you through getting the admin interface for CPanel setup for ASSP. Currently, a paid user interface can be obtained here (note that I am in no way affiliated with, nor have I tried to use this UI, I am just offering the link to those that might find it useful)

Firstly, the setup:
You will need to activate Cpanel PRO (pro.cpanel.net/activate) for your server in order for this to fully work. This activation is currently free. Simply go to the previous mentioned URL and enter your IP address if you have not done so already.
Once you have activated CPanel PRO, go into whm->addon modules and check clamav connector, then click on "save". This will install clamav for you to use
Once you have done THIS, go to whm->service manager and UNcheck spamd (it is no longer necessary with ASSP), and again click on save/submit. Note that this IS optional, however the purpose of ASSP is to defeat spam before it GETS to SpamAssassin.
Once you have done THAT, go into whm -> tweak settings and uncheck SpamAssassin and BoxTrapper mail.

Secondly, the requirements:
ASSP needs certain perl modules established To install these, simply login (as root) to your server, and type the following

Code:
/scripts/perlinstaller --force Compress::Zlib
/scripts/perlinstaller --force Email::Valid
/scripts/perlinstaller --force File::ReadBackwards
/scripts/perlinstaller --force File::Scan::ClamAV
/scripts/perlinstaller --force Mail::SPF::Query
/scripts/realperlinstaller --force Mail::SRS
/scripts/realperlinstaller --force Tie::RDBM
/scripts/realperlinstaller Sys::Syslog
/scripts/perlinstaller --force Net::LDAP
/scripts/perlinstaller --force Time::HiRes
/scripts/perlinstaller --force Tie::DBI
Note that the --force is optional, however it will make sure you've got it installed. Do these one at a time as some of these have configurable options to them.
One more perl module is needed. Since the later versions of Net::DNS are known to cause issues with RBLs, SPFs and the like, it is advised to use 0.57 . This can be obtained by doing the following:

Code:
mkdir /usr/local/assp
cd /usr/local/assp
mkdir /usr/local/assp/tmp
cd /usr/local/assp/tmp
wget [url]
tar xzf Net-DNS-0.57.tar.gz
cd Net-DNS-0.57
perl Makefile.PL
make
make test
make install
Do NOT remove the /usr/local/assp/tmp directory as when you update cpanel, it will try to auto update Net::DNS again, so you will want this intact.

Now, let's get with the program here and install ASSP:

Code:
cd /usr/local/assp
wget [url]
unzip -d /usr/local/assp /usr/local/assp/ASSP_1.2.6-Install.zip
mv --target-directory=/usr/local/assp /usr/local/assp/ASSP/*
mv --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.2.6-Install.zip
rm -f Win32-quickstart-guide.txt;rm -f freshclam.bat
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 /usr/local/assp/notspam
mkdir /usr/local/assp/spam
mkdir /usr/local/assp/errors
mkdir /usr/local/assp/errors/notspam
cd /usr/local/assp
wget [url]
chmod 755 start
wget [url]
chmod 755 stop
cd /etc/rc.d/init.d
wget [url]
chmod 755 assp
The core of ASSP is now installed. However, the development versions have updated functions to use for users. Of course, this is completely optional, but is recommended completely. This can be done by the following in SSH

Code:
cd /usr/local/assp/
mv assp.pl assp.pl_old
mv spamdb spamdb.old
mv rebuildspamdb.pl rebuildspamdb.pl.old
mv repair.pl repair.pl.old
mkdir Data
mkdir Data/Lists
wget [url]
wget [url]
000F4555.2/rebuildspamdb.pl
wget [url]
wget [url]
mv assp.css images
wget [url]
cd Data/Lists
wget [url]
chmod u+x /usr/local/assp/*.pl
Now, let's get it up and running, and configure it, shall we?

Code:
cd /usr/local/assp
/etc/init.d/assp start
You'll see ASSP sending out some messages and then doing nothing. This is ok, and it's the expected response. Now, we need to edit some stuff. Hit ctrl-c (cancel) to shut down ASSP
once it's stopped, you'll see the following file in the assp directory - assp.cfg . Edit that with whatever you want for an editor, something like:

Code:
nano assp.cfg
You want to change a few options immediately just to get it working
Look for the lines that are something like:

Code:
runAsGroup:=
runAsUser:=
and change them to be:

Code:
runAsGroup:=root
runAsUser:=root
Then look for the line that is

Code:
AsADaemon:=
and change it to

Code:
AsADaemon:=1
Now, let's change the password just so that we're secure:
look for the line that is

Code:
webAdminPassword:=nospam4me
and change that to

Code:
webAdminPassword:=insertrandompasswordhere
Now, let's tell ASSP to setup and accept mail for our domains. Look for the line something like

Code:
localDomains:=
and change that to be

Code:
localDomains:=file:/etc/localdomains
Almost there, just a couple more changes needed.
Look for the line that is something like

Code:
smtpDestination:=127.0.0.1:225
and change that to be

Code:
smtpDestination:=127.0.0.1:125
(or another port instead of 125, just REMEMBER the port!)
and one more change
change the line that looks like

Code:
listenPort:=125
to

Code:
listenPort:=25
Now save and exit the file. If you're using nano/pico, that would be ctrl-x , just make SURE to save the file before you exit!
Now, let's get ASSP fired up again

Code:
/etc/init.d/assp start
let's make sure you have assp starting on system boot:

Code:
chkconfig --add assp
Let's add a crontab to make sure that ASSP rebuilds the bayesian spam list

Quote:

crontab -e

Code:
10 4 * * * cd /usr/local/assp;/usr/local/assp/rebuildspamdb.pl
Occasionally, what I've seen is ASSP will get "hung" on certain things and just kill itself. This fix will work for this, and make sure your ASSP installation is running smoothly

Open up another file on the server, my example will be /bin/asspcheck. In this file, add the following contents

Code:
assplog=/usr/local/assp/check.log
DATE=`date "+%m-%d-%y [%k:%M]"`
pidof=/usr/local/assp/pid
thispid=`cat $pidof`
if [ ! -d /proc/$thispid ];then
rm -rf $pidof;
/etc/init.d/assp start
echo "$DATE - ASSP - restarted" >> $assplog
else
echo "$DATE - ASSP - ok" >> $assplog
fi
Now, chmod the file itself

Code:
chmod u+x /bin/asspcheck
Now, make sure it's called every 60 seconds. Add this to your root crontab

Quote:

crontab -e

Code:
* * * * * /bin/asspcheck
Now, let's go BACK into WHM and setup the variables needed to get exim to use ASSP
In exim configuration editor, click on "advanced editor"
Clear out EVERYTHING from all of the existing boxes. Keeping these with data can cause ASSP to not function as it should
When you've done that, add the following to the top box:

Code:
# assp
local_interfaces = 127.0.0.1.125
If you changed this variable to something else

Code:
smtpDestination:=127.0.0.1:125
put in the other port, NOT 125, so it would look like 127.0.0.1.whateverporthere

Click on Save
Exim will restart and you now have a working installation of assp

Now, let's go to it and work with it a bit, shall we?
go to [url], enter the user admin and the password you changed nospam4me to. This will get you logged in and you can tweak the settings as you feel necessary.

ASSP is a great and powerful proxy for any mail server, which blocks using RBLS, whitelists, etc. It is advisable to setup the email interface and let your customers know of this so that you can get them to help you in reporting and addressing spam.

Parts of this howto were taken from this page, however much of that data has been found to be outdated as far as downloads from CVS and the like go, and I've added quite a bit of useful information into it as well.

Go through the ASSP configuration VERY carefully, and ONLY change what you're sure of.

Start with the RBLs, increase the list to 5 and max hits to 2 as suggested.

If you notice problems with this or know how it might be better, hey, feel free to post in here and I'll keep it as updated as possible :)

View 14 Replies View Related

Install Xen Vps System To Test Out

Jul 31, 2008

I'd like to install xen vps system to test out instead of paying Virtuozzo $1k+ for licensing.

I found this article:
[url]

I installed this on Centos 5 server. I got one tiny problem now:

[root@server ~]# virt-manager
Traceback (most recent call last):
File "/usr/share/virt-manager/virt-manager.py", line 304, in ?
main()
File "/usr/share/virt-manager/virt-manager.py", line 224, in main
import gtk
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 76, in ?
_init()
File "/usr/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py", line 64, in _init
_gtk.init_check()
RuntimeError: could not open display

Also, that tutorial doesn't explain how to create actual vps

Anyone care to explain? Isn't there some web gui available for xen too?

View 14 Replies View Related

Plesk 12.x / Linux :: Possible To Install To Debian Jessie With Auto-install Script?

Jul 19, 2015

Is it possible to install Plesk 12 to Debian Jessie with the autoinstall script?

View 7 Replies View Related

Linux System

Jan 3, 2007

I am planning to start linux hosting but don't have much knowledge about linux Operating system... can I do this without having sufficient knowledge of linux background?

Also please suggest me some good links from where I can get basic linux command and some kind of flash tutorials from which I get to know how to do work in Appache and dns etc.

how to download tar file using Terminal,

View 6 Replies View Related

ASSP

Mar 9, 2007

I tried to understand ASSP by searching in your documentation but nowhere it mentions that when we use a mail client programs. For example:

I install ASSP correctly. I start it. Actually, our spam database is empty. From my understanding, ASSP still let spams and non spams e-mails go through to build its database.

My question is:

Is there a way to know our first 400 or 1000 e-mails are spams in despite to categorize them properly?

How to categorize them on our server when we use Kmail or Outlook to download e-mails from the server?

If I create two folders: spam and nonspam in Outlook or Kmail and move the e-mails to the prosper folders, will it be synchronized with the server automatically?

View 6 Replies View Related

Rescue Linux System - UK Datacenter

May 7, 2009

Does rapidswitch and poundhost offer Rescue Linux System on their portal?

I want to load a linux distro on server RAM and do my own FreeBSD installation.

View 7 Replies View Related

Learning Linux System Administration

Jan 5, 2008

Where would someone go to learn Linux System Administration?

Are the Redhat courses worthwhile?

View 3 Replies View Related

Determining Operating System (Linux)

Nov 15, 2007

Without having all of the operating systems at my disposal for testing, I would like to figure out a way to determine the operating system of a remotely accessed Linux machine.

It seems pretty strange though, since cPanel reports both machines I am using as being

CENTOS Enterprise 4.5 i686, yet one's uname -a reports:

Code:
Linux hostsentry.crucialwebhost.com 2.6.9-023stab044.4-enterprise #1 SMP Thu May 24 17:41:23 MSD 2007 i686 i686 i386 GNU/Linux

Code:
Linux main.7kb.org 2.6.9-55.0.6.ELsmp #1 SMP Tue Sep 4 21:36:00 EDT 2007 i686 i686 i386 GNU/Linux
I'm assuming there is a way to determine the OS from this information. Anyone know how?

View 8 Replies View Related

Assp Configuration

Apr 9, 2009

I Want to use ASSP for a large number of server with different IP,

ASSP is use as SMTP proxy for the outbound traffic,

In Relaying > AcceptAllMail in put my network,

the question is : does the network will be scanned by assp, i have see that the network contribute to the whitelist?

View 4 Replies View Related

ASSP X No Good

Jul 16, 2008

My host seem to like interfering with spam setting on the server. They had spamassasin installed which works perfectly and i haven't been getting any spam when i enable the software.

All of a sudden all my subscription and a lot of email is rejected and now perfectly legit email is marked as spam.

I fail to understand why use software that reject normal mail.

View 3 Replies View Related

ASSP With Plesk

Jul 16, 2007

I have been running ASSP for a long time on a Fedora/Postfix box without a single problem. Recently, however, I have acquired a CentOS/Plesk/Qmail machine and I am having a terrible time getting ASSP to play nicely with qmail.

I am attempting to follow the directions on the assp wiki regarding plesk. I changed qmail to listen on 125 instead of 25 by editing /etc/services. I then restarted everything but it then appeared that mail was going through without authentication. I was successfully able to send mail from an internal address to an external one without a problem, but I think I was able to do so without authenticating myself.

However, when attempting to send mail from an outside address to an internal one, I get a relay denied error message. Obviously ASSP isn't aware of the addresses I have set up on the system.

Also - I attempted to manually run the sh scripts downloaded from the wiki entry, but I kept getting the error message that I couldn't execute binary file, even though I gave the file execute permissions. I even tried adding #!/bin/sh to the top of the file, to no avail....

If anyone has successfully installed assp with Plesk and has authentication and the plesk automation scripts running like they should, please let me know how you did it.

Right now this machine is processing about 3000 emails a day, 90% of which are spam, so I really need to get ASSP installed and running here.

View 3 Replies View Related

ASSP Deluxe

Sep 1, 2007

Anyone recommend using ASSP Deluxe for cpanel 11 on a shared server or even dedicated?

I couldn't find any reviews, except a couple poor ones on the clone asspx

View 1 Replies View Related

Which Linux Family Operating System Is More Stable

Aug 6, 2008

I would like to know which Linux family Operating System is more stable and have a better support for a Dedicated Server .....?

View 8 Replies View Related

Horde IMP Webmail / ASSP

Mar 25, 2009

I have a Windows 2003 server running Plesk 8.3, Mailenable with Horde IMP webmail client. I have installed Anti-Spam SMTP Proxy (ASSP) [url] on my server to counter SPAM.

I have configured it with the instructions found here - [url]This configuration works perfectly apart from one issue - whenever I try to send emails from my Horde IMP webmail interface, I get an error saying "unable to set sender to [emailaccount at domain]".

If I deactivate ASSP everything works fine.

I believe this is not an issue with ASSP since no one's complaining on ASSP forums. I posted this issue there and someone suggested it had something to do with how Horde IMP tries to send emails. I posted this to Horde's mailing list too but no one ever answered.

View 0 Replies View Related

ASSP Anti-spam

Jun 14, 2008

I am interested in ASSP as a anti-spam tool and have heard good things, but I have 1 question I can't seem to find an answer too.

With ASSP is there a way to screen image spam like you can with FuzzyOCR? With ASSP do you even need to scan images at all? Because it waits for the sending server to respond for authentication?

I was running MailScanner / SpamAssasin / FuzzyOCR combo with a couple of chron jobs (to sweep fake bounce email out of the mail que for example) with very effective results, but it took forever to tweak all three to reduce server load. MailScanner was breaking webmail randomly so I have it disabled currently so I get a lot more spam.

View 0 Replies View Related

ASSP Spam Forwarding

Mar 13, 2007

All of my forwarded spams to my spam box e-mail is not listed in errors/spam.

View 5 Replies View Related

Plesk 11.x / Linux :: File System Loop Detected

Sep 19, 2012

I do not know how this happened though. When I use find command on shell, I got the following error.

find: File system loop detected; `/var/named/chroot/var/named' is part of the same file system loop as `/var/named'.

It is minimal CentOS6.3 install with plesk 11.

View 15 Replies View Related

Plesk 12.x / Linux :: Enabled Rkhunter To Check System

Sep 20, 2014

I enabled rkhunter in Plesk 12 to check the system weekly. I get a warning now, which I never got in older versions of Plesk:

The current hash function (/usr/bin/sha1sum) or package manager (DPKG) is incompatible with the hash function (Unset) or package manager (Unset) used to store the values. Debian 7.6 x64

View 6 Replies View Related

Plesk 12.x / Linux :: File System Loop Detected

Jun 28, 2015

in CENTOS 6.6 / PLESK 12 when I use the find command I get this notice:find: File system loop detected; "/var/named/chroot/var/named" is part of the same file system loop as "/var/named".

View 2 Replies View Related

Plesk 11.x / Linux :: Query List Of System Users Using API RPC

Sep 9, 2014

Is it possible to query for a list of system users using the API RPC? I know it's possible with a MySQL query

Code:
select id, login, account_id from sys_users order by login;

I've searched through the API RPC manual, but I don't see a way to do this. I always have to specify a filter, I can't find a way to just query for all users.

View 1 Replies View Related

Plesk 12.x / Linux :: Unable To Migrate All Subscriptions Of Old System Into New One

Oct 13, 2014

I got a new Server with Plesk 12.0.8 (old one has 11.5.30). Now I have to migrate all Subscriptions of the old System into the new one.

I tested it with one item and all time I get this warning:

Warning:SSL certificate "default certificate" Execution of /opt/psa/admin/plib/api-cli/certificate.php --create default certificate -cert-file /opt/psa/PMM/tmp/pmm-cert-GzVcei -key-file /opt/psa/PMM/tmp/pmm-privkey-PgXbaU -print-signature -admin -ignore-nonexistent-options failed with return code 1. Stderr is Unable to create certificate "default certificate": Unable to set the private key: Probably, the private key format is invalid.

View 2 Replies View Related

Plesk 11.x / Linux :: Recreate Vhost System Directory?

Jul 13, 2015

My /var/www/vhosts/system directory was accidentally deleted. The actual vhost directories are unharmed, e.g. /var/www/vhosts/example.com. Is there a non-destructive script I can run to re-initialize the system directory? I am on Plesk 11.5.30.

View 2 Replies View Related

How To Uninstall ASSP On Windows 2008

Jul 4, 2009

How can i completely uninstall ASSP from my windows 2008 server? i am using plesk with mailenable pro.

View 0 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved