Swerts-Knudsen.com

webmaster@swerts-knudsen.com  

News

Most of these HowTo's are made based on other peoples HowTo's with my own additions to make them even easier to understand and also easier to install. All new HowTo's will be tested only on 6.0 with the most current updates by myself. I cannot and will not guarantee that they are all perfect and can therefore not be liable for loss of data, downtime and ultimate disaster on your server. This is a completely free service that I do only for fun and to get my own system working the way I like it to.

If you find mistakes then please let me know so they can be corrected. Send an email to webmaster@swerts-knudsen.com

 

This site is just something I do in my spare time and has really nothing to do with what I am doing in my professional life.

 

Navigation Menu: HowTos | PHP Info | System Info | Stats
 
Clam Antivirus update to 0.88.4 August 8, 2006
Clam Antivirus has been updated due to security vulnerability seen in version 0.88.1 to 0.88.3.

Install script has been updated with this change and those who run with the auto-updater should be notified soon.

 

SpamAssasin updated to 3.1.3 June 7, 2006
The SpamAssassin team has released 3.1.2 maintenance release and this will be installed if you install/upgrade via the install script (release announcement). The auto updaters will hopefully also receive this new version if the steps below have been followed.
 

 

SpamAssasin updated to 3.1.2 and e-smith-USA updated May 28, 2006
The automatic updater has been broken for quite a while and I have noticed that out of the ~6400 users of SA 3.0.4 and 3.1.0 only ~1500 has updated to 3.1.1. Now a 3.1.2 maintenance release is out and I suggest you all update.

First update the USA script.
# rpm -Uvh http://sme.swerts-knudsen.com/downloads/SpamFilter/e-smith-USA-0.4.5-1.noarch.rpm

The set the primary download server.
# /sbin/e-smith/db altiplano setprop USAprimary url http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SpamFilter

Then either await the automatics update of force one by issuing:

# /usr/sbin/USA
 

 

Update to USA (Update SpamAssassin) script May 16, 2006
Since contribs.org have started to URL forward the contribs.org/contribs section then the USA script most likely hasn't picked updates correctly. In order to fix this a few very simple but manual steps must be done.

On the console on your server issue the following command:

#[root@sme]# /sbin/e-smith/db altiplano setprop USAprimary url http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SpamFilter

Verify that is has been set correctly by issuing this command and verify the result.

#[root@sme]# /sbin/e-smith/db altiplano getprop USAprimary url
http://distro.ibiblio.org/pub/linux/distributions/smeserver/contribs/swerts-knudsen/SpamFilter

Secondly the USA script must be manually edited. Change the print statement from $8 to $6 in /usr/sbin/USA
 

if [ -e $DLDIR/index.html ]; then
gawk -F"\"" '/spamassassin.*\.rpm/ {print $6}' $DLDIR/index.html > $DLDIR/dl.lst
gawk -F"\"" '/perl-Mail-SpamAssassin.*\.rpm/ {print $6}' $DLDIR/index.html >> $DLDIR/dl.lst
gawk -F"\"" '/sme-spamfilter.*\.rpm/ {print $6}' $DLDIR/index.html >> $DLDIR/dl.lst
gawk -F"\"" '/e-smith-USA.*\.rpm/ {print $6}' $DLDIR/index.html >> $DLDIR/dl.lst
fi

Last try to run the USA script manually and see whether you get updated.

#[root@sme]# /usr/sbin/USA

 

Clam Antivirus update to 0.88.2 April 30, 2006
Clam Antivirus has been updated to version 0.88.2 which is just a minor bug fix release (release announcement) but properly worth updating to anyways. Install script has been updated with this change and those who run with the auto-updater should be notified soon.

 

Clam Antivirus update to 0.88.1 April 9 2006
Clam Antivirus has been updated to version 0.88.1 which is just a minor bug fix release (release announcement) but properly worth updating to anyways. Install script has been updated with this change and those who run with the auto-updater should be notified soon.

 

SpamAssasin updated to 3.1.1 and sme-spamfilter updated March 16 2006
sme-spamfilter can now autodelete on a configured score and not only 15 or off. This is configured via the server-manager panel. The 3.1.1 SA release is just maintenance (release announcement) but properly worth updating to anyways. Install script has been updated with this change and those who run with the auto-updater should be notified soon.

 

Clam Antivirus update to 0.88 and sme-antivirus updated Jan 9 2006
Clam Antivirus has been updated to version 0.88. The Install script will use this new version BUT the sme-antivirus automatic updater which is build into the sme-antivirus version 1.4.5 might not pick this up correctly. In order to get this release and future you shall manually update the sme-antivirus rpm.

 

#

 

When the daily update process has taken place you can get an error in the admin email notification message stating something like:

package sme-antivirus-1.4.6-1 (which is newer than sme-antivirus-1.4.5-1) is already installed

Please verify on the console which version of Clam has been installed:

# rpm -qa | grep clam

if this is still:
clamav-es-libs-0.87.1-es01
clamav-es-0.87.1-es01

The manually edit then file /home/e-smith/swerts-knudsen and delete the two lines stating:

clamav-es-0.88-es01=rpm|found|1136840357
clamav-es-libs-0.88-es01=rpm|found|1136840357

You can the run the update process manually by issuing:

# /usr/sbin/UCA

Its a little painfull when the updater is broken - sorry for that.
If you're looking to load test your installation of Clam, you can do so with LoadView (which can be accessed at loadview-testing.com as well as some other free resources. If you're not familiar with the concept of load testing, check out a load testing faq on this site here.

 

Clam Antivirus update to 0.87.1 Nov 10 2005
Finally Clam AV 0.87.1 has been after a bit of delay trying to get the update process affect contribs.org as little as possible. Install script has been updated with this change and sme-antivirus should pick this up as well.

 

 

sme-antivirus updated to use new update mirror Nov 5 2005
Due to excessive load on contribs.org the automatic update system is now looking for updates at another location (ibiblio.org) which should also provide a much better update performance. Please make sure to update the package to help out the guys at contribs.org

# rpm -Uvh http://sme.swerts-knudsen.com/downloads/AntiVirus/sme-antivirus-1.4.5-1.noarch.rpm

 

 

OpenVPN updated to 2.0.2 and support for SME 7.0 Beta5+ added Oct 23 2005
The OpenVPN RPM has been updated to a bug and security fixed version 2.0.2. Also support for SME 7.0 beta5+ has been added with very limited tests performed. Please let me know if something doesn't seem to work properly. If you have a running version of OpenVPN (on SME 6.x) simply upgrade with:

[root@sme openvpn]# rpm -Uvh http://sme.swerts-knudsen.com/downloads/OpenVPN/openvpn-2.0.2-1.i386.rpm

If you're trying to find a hosting company that offers servers capable of running a VPN, Liquidweb is probably one of the best. For more information about server configurations (including VPN configurations), check out Web Hosting Buddy.

 

 

SME-spamfilter updated to support SpamAssassin 3.1.0 Oct 14, 2005
The server-manager rpm has been updated to support new logging format of SpamAssassin 3.1.0. Install/upgrade scripts have been updated to install SA 3.1.0 and the new server-manager module.

 

 

Mirror performance improved and Clam Antivirus updated July 26, 2005
I have placed the mirror server (swerts-knudsen.com) on a new DSL connection with improved bandwidth which you all should gain from during downloads. Clam Antivirus has been updated to 0.86.2 and install/upgrade scripts have been updated as well as locating for automatic updates.

 

 

SpamAssasin and Clam Antivirus updated June 20, 2005
Both of these have been released for their respective origins to version 3.0.4 for SpamAssassin and 0.86 for Clam Antivirus. Both install scripts have been updated.

 

 

Slower email and update respone time from me June 4, 2005
As I have founded a new company called Nangate together with some old colleagues and have tons of work to get this rolling nice, there will be a little less time to answer emails and come with suggestions for all kinds of questions. As we (naturally) are using a SME server in the company (along with MANY CentOS 3/4 servers) I will keep especially Clam Antivirus, Spamfilter and OpenVPN updated as they are used. Many of the other contribs will properly be left a little alone for the time being.

 

 

New improved Sme-Antivirus May 4, 2005

The sme-antivirus package has now been updated to include functionality to automatically keep both the Clam Antivirus Engine as well as the package itself updated.

 

 

SpamAssasin and Clam Antivirus updated April 29, 2005
Both of these have been released for their respective origins to version 3.0.3 for SpamAssassin and 0.84 for Clam Antivirus. Both install scripts have been updated.

Update: More than 2400+ SpamAssassin and 100+ Clam Antivirus upgrades/installs within 24 hours!!

 

All scripts uses now swerts-knudsen.com due to lack of bandwidth March 27, 2005
I have changed all script to use swerts-knudsen.com as their primary source for RPMs as I am running low on bandwidth here at home (swerts-knudsen.com) and my VoIP telephony (Asterisk) does sound as good as I would like. Please, as habit, use the sme.swerts-knudsen.com site to download from if you as I have noticed some people do make copies of my entire site from time to time. The two sites are 100% synchronized.

The downside for you is that the sme.swerts-knudsen.com site is slightly slower - please respect this anyways :-)

 

 

Clam Antivirus Update February 5, 2005
Clamav has been updated to version 0.81 which has new functionality so update is recommended. I have also added support for SME 6.5beta and enhanced the daily statistics report.

The timezone problem seen in various placed around the world should have been fixed (thanks to Laurent Dinclaux)

How to install Antivirus Server-Manager Panel

 

AwStats Security Update January 18, 2005
I have been notified that there is a security issue with the version of AwStats I had in my script (6.1). I have now updated the install script to install version 6.3 which should be without this issue and have created a update script for those who already have AwStats installed.

 

[root@e-smith ]# wget -N http://sme.swerts-knudsen.com/downloads/AwStats/update_awstats.sh

[root@e-smith ]# sh update_awstats.sh

For details on the vulnerability see:

http://www.idefense.com/application/poi/display?id=185&type=vulnerabilities&flashstatus=true

 

OpenVPN Server <-> Client  Howto November 23, 2004
I have been bothered a long time with the instability of the build-in PPTP VPN server and have happily found a very solid alternative. I have therefore created a Howto based on the way I have done my own internal system.

How to install OpenVPN Server and Client

 

 

Network Information Service (NIS) Howto November 11, 2004
When you have multiple servers in your network you always have the problem that the users have to be added, removed and have their password changed on all servers. The solution to that is NIS. I have created a Howto based on the way I have done my own internal system.

Network Information Service (NIS) Howto

 

 

Change of IP address September 27, 2004
My ISP has decided to provide me with a new static IP changing from 192.38.236.80 to 83.73.66.29. This change will occure Tuesday Sept. 28 between 7AM and 8AM CET. I have already changed DNS to reflect this change so between now (9PM CET Monday) and the actual change there can be some DNS failures.

 

General Security Updates September 12, 2004
During the daily scan of the excellent tool Rootkit Hunter I noticed several modules that were vulnerable and have gathered all the modules the needed an update.

 

The latest RooKit Hunter can be downloaded from:

http://contribs.org/contribs/dthomas/smeserver/6.x/Contrib/rkhunter/

 

And all the security updates for SME 6.0x only from:

http://sme.swerts-knudsen.com/downloads/Updates/6.0.1/

 

Notice that the PHP upgrade requires you to download the php4.3.8-upgrade.sh and run in from root. For the rest of the upgrades a standard rpm -Uvh should do the job. When the OpenSSH installation is complete then fire of the following commands:

# /sbin/e-smith/expand-template /etc/ssh/sshd_config
# /sbin/e-smith/signal-event remoteaccess-update

 

New Antivirus Server Manager Module September 2, 2004
The SME Antivirus Server-Manager Panel uses the Clam Antivirus and Amavis-Ng for scanning. The new panel allows you to configure which interfaces you want to scan for virus and also provides you the options of daily statistics and automatics deletion of old Quarantined/Problems emails.

See Antivirus Panel HowTo

 

New Spam Filter Server Manager Module August 17, 2004
The SME SpamFilter uses the new SpamAssassinV3 engine and has updated Razor2, and DCC network test modules associated. In the new Server-Manager panel  it has been made very simple to configure Real Time Block/Black Lists (RBLs), White/Black Lists (WBLs) and other SpamAssasssin functions. 

See Spam Filter HowTo

 

New AwStats Installation Script July 12, 2004
I have now created a fully automatic installation script for AwStats Web Statistics. The script will generate configuration files for all the domains registered on the server and also create an index page in the ibay you choose for your installation. 

 

Mirror site now established July 5, 2004
I have now established a initial mirror site of the content located on http://sme.swerts-knudsen.com at http://sme.swerts-knudsen.com. All web-pages are synchronized daily and  when running all my scripts they will detect whether the primary site is down and switch to the mirror site for RPM download. The last thing I need to do is to change all the Howto's to indicate this option but I am sure you can figure out in the meantime that if you need the SpamAssassin install script you can get it from:

[root@e-smith]# wget http://sme.swerts-knudsen.dk/downloads/SpamAssassin/sa_install.sh

or

[root@e-smith]# wget http://sme.swerts-knudsen.com/downloads/SpamAssassin/sa_install.sh

 

Server downtime June 26, 2004
As some of you might have noticed then sme.swerts-knudsen.com has been down now two times over the last month. These two times are the only two times this server has been down without it being my deliberate choice. The first time two weeks ago the server simply ran out of memory and I have order some more to compensate for that. My 128Mb couldn't handle the 200.000+ hits a month and all the stuff I do myself on my local LAN. This week my DSL provider (Tele2.com) suddenly decided to change the way they ran static IP addresses without informing me and thereby caused my line to be down since Tuesday and I didn't notice that as I was traveling.

I hope that going forward this should be more stable - anyways I will do my best.

 

Clam Antivirus Updated  May 16, 2004
Clam Antivirus has been updated to version 0.70 in order to get new functionality as well as close a few security issues. Simply download the script from this site and go through the upgrade process. Ensure to have deleted any old clamav_install.sh script you might have on your server to ensure you run the updated.

 

Gallery Installation updated to 1.4.3  May 3, 2004
Updated to latest release (1.4.3) and now Gallery can be installed in a user specified ibay by use of a install script command line parameter rather than just the default "gallery" ibay. 

 

New HylaFAX Howto  March 4, 2004
With great help from Howto from Chaloner Hale and script initiated by Carlos Martínez I now have a HylaFAX installation howto. 

 

Heavy activity on SME.Swerts-Knudsen.com  February 27, 2004
This site has seen an immense growth of traffic over the last two months reaching more than 130.000 hits here in February! The scripts on this site has also been used a lot with ClamAV being number one with ~1000 installations, SpamAssasssin with ~900 installation, MRTG with ~500 installations and Gallery and DShield with ~250 and ~100 respectively. I appreciate all the positive feedback and want to thank all the people that have contributed to the Howto's located here.

 

Updated Gallery to 1.4.2  February 23, 2004
Updated the Gallery install script to support the latest release (1.4.2) as well as the most recent update of jhead.

 

New look and feel for SME.Swerts-Knudsen.com  February 9th, 2004
I have updated the look and feel a little as I was getting very tired of the dark colors.