Installing MailScanner on Ubuntu Linux This guide is based on work produced by Mohammed Alli and his work is gratefully acknowledged.

Remove Ubuntu's MailScanner The setup of MailScanner distributed with Ubuntu is totally broken, as you may have already discovered. So delete it first with /etc/init.d/mailscanner stop apt-get remove mailscanner

Install MailScanner Dependencies apt-get install libconvert-tnef-perl libdbd-sqlite3-perl libfilesys-df-perl libmailtoolsperl libmime-tools-perl libmime-perl libnet-cidr-perl libsys-syslog-perl libio-stringyperl libfile-temp-perl

Install MailScanner from the Debian .deb Source wget http://debian.intergenia.de/debian/pool/main/m/mailscanner/mailscanner_4.68.81_all.deb dpkg -i mailscanner_4.68.8-1_all.deb

Note that the 4.68.8-1 in the 2 commands above should be replaced by the version number you want to install. The version number of the latest distribution can be found on the Downloads page.

Configuring MailScanner and ClamAV Stop Postfix: postfix stop

Install the ClamAV packages: apt-get install clamav clamav-daemon

Update the ClamAV virus definitions (only need to do this once) freshclam

Make directory for SpamAssassin and set permissions mkdir /var/spool/MailScanner/spamassassin chown postfix /var/spool/MailScanner/spamassassin

Backup and edit MailScanner.conf cp /etc/MailScanner/MailScanner.conf /etc/MailScanner/MailScanner.conf.bak vi /etc/MailScanner/MailScanner.conf

Set the following settings in MailScanner.conf %org-name% = ORGNAME %org-long-name% = ORGFULLNAME %web-site% = ORGWEBSITE Run As User = postfix Run As Group = postfix Incoming Queue Dir = /var/spool/postfix/hold Outgoing Queue Dir = /var/spool/postfix/incoming MTA = postfix Virus Scanners = clamav Spam List = SBL+XBL SpamAssassin User State Dir = /var/spool/MailScanner/spamassassin

Postfix settings postconf -e "header_checks = regexp:/etc/postfix/header_checks"

Edir header_checks vi /etc/postfix/header_checks

Add this line to the file, without it nothing will work: /^Received:/ HOLD

Disable permission checks on MailScanner directories

Comment out the lines that check directory permissions on /var/* in /etc/rc2.d/S20mailscanner Set MailScanner to start at boot time In the file /etc/default/mailscanner, make sure this is set to 1: run_mailscanner=1

Start the system /etc/init.d/mailscanner start /etc/init.d/postfix start

Fix for Ubuntu 8.04 If it keeps removing directories when it boots, edit /etc/rc.local and add the following before the exit line: mkdir /var/run/MailScanner mkdir /var/lock/subsys mkdir /var/lock/subsys/MailScanner chown -R postfix:postfix /var/run/MailScanner chown -R postfix:postfix /var/lock/subsys/MailScanner /etc/init.d/postfix restart /etc/init.d/mailscanner restart

Finish You should now have a working MailScanner system running a very recent version of MailScanner, a lot better than the version distributed with Ubuntu. For help and assistance, please join the mailing list.

Installing MailScanner on Ubuntu Linux.pdf

Installing MailScanner on Ubuntu Linux.pdf. Installing MailScanner on Ubuntu Linux.pdf. Open. Extract. Open with. Sign In. Main menu.

129KB Sizes 3 Downloads 227 Views

Recommend Documents

Installing MAMBA in Ubuntu -
May 22, 2012 - This document is an helper for those of you who would like to use Mamba with Linux but who are newcomers (like me..) to Linux. Many friends ...

Installing MAMBA in Ubuntu -
May 22, 2012 - Python (version 2.7 in Ubuntu) is also installed. ... 4) Download and install the packet containing the header files for Python: open the Ubuntu.

Installing Network Simulator in ubuntu 10.10.pdf
Whoops! There was a problem loading more pages. Retrying... Whoops! There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Installing Network Simulator in ubuntu 1

RTL-SDR on Ubuntu -
and installing packages using Synaptic (or the command line). 1 8 bit operation implies ≤48dB of dynamic range of the A/D converter. 2 The capability is noted at http://rtlsdr.org/#history_and_discovery_of_rtlsdr. 3 At https://www.reddit.com/r/RTLS

Asterisk 13, FreePBX 13 on Ubuntu 16.04.2 ARM Devices.pdf ...
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Asterisk 13 ...

Asterisk 13, FreePBX 13 on Ubuntu 16.04.2 ARM Devices.pdf ...
Asterisk 13, FreePBX 13 on Ubuntu 16.04.2 ARM Devices.pdf. Asterisk 13, FreePBX 13 on Ubuntu 16.04.2 ARM Devices.pdf. Open. Extract. Open with. Sign In.

Ubuntu 9.10 post install guide. "Ubuntu 9.10 as it ... - Knightwise.com
Install a basic version of Ubuntu 9.10 using the livecd or the alternate installation method. ... sudo apt-get install ubuntu-restricted-extras community-themes ...

Ubuntu installation
Second, Ubuntu for PC is a multi-user system, whereas Ubuntu for phones currently is not. ... In the past the installer was also comparable to the setup for ​Wubi​ and ​Ubuntu for Android​. ...... Meeting notes 31 March 2010 (Mark / Michael).

Installation Guide - Installing Fedora 13 on x86, AMD64 ...
9. Boot Options. 109. 9.1. Configuring the Installation System at the Boot Menu . ...... This manual helps you install Fedora on desktops, laptops, and servers.

Installation Guide - Installing Fedora 13 on x86, AMD64 ...
Basic System Recovery. 201 .... C.3.3. Creating and Saving Backup Passphrases . ...... If you plan to install from a network location, or install on an iSCSI target:.

Installing the Navicent Health Virtual Desktop Application on an ...
Once installed, choose the “+” symbol in the upper right corner of the app, and enter the address myview.mccg.org and the description MCCG.

ubuntu raspberry pi.pdf
ubuntu netbook. Remotelogin ubuntumatefor raspberry pi 2, with ssh and xrdp. Raspberry pi 2 b con ubuntu youtube. Xbmc 12.0 frodo stable. released. useit on ...

Ubuntu 14.04.pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. Ubuntu 14.04.

ubuntu pdf creator
File: Ubuntu pdf creator. Download now. Click here if your download doesn't start automatically. Page 1 of 1. ubuntu pdf creator. ubuntu pdf creator. Open.

Ubuntu Kung Fu - The-Eye.eu!
3. Show how Ubuntu can be fun. Along the way you'll pick up many skills that will make you a more ...... When the desktop appears remember that you're browsing the pseudo-file system created in RAM .... partition is also used to hold the RAM contents

ubuntu unlock pdf
There was a problem previewing this document. Retrying... Download. Connect more apps... Try one of the apps below to open or edit this item. ubuntu unlock ...

Installing OSCARS 0.6 - GitHub
... memory recommended. • 30GB of hard disk space ... Please note these: a. RPMs do not perform any “merge” of data in case you have both 0.5 and 0.6 tables.

Ubuntu Kung Fu
Throughout this process you'll be able to download updated PDFs from your ..... 192. 148. Use versions of Ubuntu that are entirely Free Software 193. 149. ...... want unhindered (like in, say, Windows XP) should be obvious: admin- istering the ......