background preloader

Dspam

Facebook Twitter

Installing the DSPAM web frontend on lenny | Debian Tutorials. This tutorial covers installing and configuring the DSPAM web frontend. Using the web frontend, the mail users can configure the sensitivity of the spam filter, see statistics and more. I assume you already have the Apache2 web server and DSPAM daemon installed. 1. Install the dspam-webfrontend package and suexec module for the Apache2 web server. apt-get install dspam-webfrontend apache2-suexec 2. Enable the suexec module a2enmod suexec 3. SuexecUserGroup dspam dspam Addhandler cgi-script .cgi Options +ExecCGI -Indexes Alias /dspam /var/www/dspam/ <Directory /var/www/dspam/> Addhandler cgi-script .cgi Options +ExecCGI -Indexes DirectoryIndex dspam.cgi AuthType Basic AuthName "DSPAM Control Center" AuthUserFile /etc/dspam/webfrontend.htpasswd Require valid-user AllowOverride None </Directory> 4.

Htpasswd -c /etc/dspam/webfrontend.htpasswd user1 Change user1 into the username you want to allow access. Installation/Postfix/RelayJeff - DSPAM Wiki. Author: JeffKarpinski There's a LOT of bad info out there about setting dspam up with postfix, particularly when you're using a postfix as a relay. Here's an easy way to integrate dspam with minimal fuss... About this document The goal here is to add dspam to an existing postfix mail relay gateway (e.g. mail is forwarded to an internal server like Exchange), accept user re-training via user@SPAM.example.com and user@HAM.example.com , and restrict dspam processing to mail destined for example.com only. Implementation Build and install dspam with the storage driver of your choice. Configuration /usr/local/etc/dspam.conf : You'll want to add dspam as a trusted user, set dspam's delivery agent, and tell dspam to tag suspect spam so your users can filter it out...

TrustedDeliveryAgent "/usr/sbin/sendmail" Trust dspam Preference "spamAction=tag" Preference "spamSubject=**SPAM**" /etc/postfix/master.cf : Here you'll define the content filter for the smtp service... MYDOMAIN="example.com" Usage. Linux:Serveur de mail avec CyrusImap Sieve Postfix Clamav Dspam - Djjnet. Présentation de la solution : solution hébergement d'emails complète multidomaines avec login/email du type : utilisateur@domaine.com serveur Pop/Imap : CyrusImap serveur smtp avec possibilité d'envoi en dehors du réseau local par authentification : Postfix antivirus : Clamav antispam par apprentissage avec possibilité de quarantaine et préférences propre à chaque utilisateur : Dspam interface de gestion des comptes emails et alias avec administrateurs de domaines : Web-cyradm webmail : Squirrelmail Cette documentation est basée sur les versions des logiciels dans Debian Etch.

Installation des packages Partie MySQL : apt-get install mysql-server-5.0 Partie Postfix : apt-get install postfix postfix-mysql postfix-pcre Choisir "Site Internet" comme configuration pour postfix, nous modifierons les fichiers de configuration ensuite. Partie CyrusImap : apt-get install libsasl2-modules cyrus-admin-2.2 cyrus-clients-2.2 cyrus-common-2.2 cyrus-doc-2.2 cyrus-imapd-2.2 cyrus-pop3d-2.2 sasl2-bin #! /! #! Dspam relay. From Gentoo Linux Wiki Intro This HowTO details how to have Postfix /dspam act as an anti spam/anti virus mail relay for another mail server. Postfix does not store any mail locally. All mail is forwarded on to the remote mail server. Since this install is purely acting as a relay, dspam is configured to have one user process all email and do the retraining. Purpose Anyone running a mail server who wants to have the garbage dropped before the mail server has to process the mails.

First steps Remove ssmtp if it is installed emerge -C ssmtp then install postfix. emerge -av postfix Next install mysql by emerge -av mysql Follow the post-install instructions to create the initial database and root user. Finally we install Clamav emerge -av clamav Use Flags Add the following to packages.keywords to get the most recent versions. Echo "mail-filter/dspam" >> /etc/portage/package.keywords echo "www-apps/dspam-web" >> /etc/portage/package.keywords then emerge dspam emerge --config =dspam-add-version-here Code: code:

Installation/Postfix/RelayClamExchangeWebUiToActiveDirectory - DSPAM Wiki. This documentation describes (hopefully) everything I did in order to get an acceptable, free Antispam and Antivirus solution working for our company email. I borrow (steal) very heavily from the Step-By-Step HowTo , as I used it to do most of the work to get this working. I have rearranged the previous layout to leave breaking Postfix for last. This way we can be sure to get everything installed and be able to test it before...breaking Postfix References: Assumptions This document is geared towards configurations exactly like or very similar to our configuration, which is a dual-processor P3 server with Ubuntu 5.10 Server as the Linux distribution. You will need to have the following packages installed. . # apt-get install libgd2-xpm-dev libgd2-dev libgd2-xpm libgd2 libgd-gd2-perl libgd-graph-perl libgd-text-perl Users and group creation Add dspam user and group. . # groupadd -g 2000 dspam # useradd -u 2000 -g 2000 -d /var/empty -c "DSPAM Server" -s /sbin/nologin -G postdrop dspam # nano admins.

Storage Drivers/MySQL - DSPAM Wiki. Setting up an existing MySQL database for use with Dspam is very simple. If you need help getting MySQL up for the first time, check MySQL Setup . MySQL 4.1 and later # mysqladmin create dspam # mysql dspam < . /src/tools.mysql_drv/mysql_objects-4.1.sql # mysql mysql> grant all on dspam.* to dspam@localhost identified by 'ThisIsMyPassword'; # .

/configure --with-mysql-includes=DIR --with-mysql-libraries=DIR --with-storage-driver=mysql_drv --enable-mysql4-initialization Do not use the same password everywhere. To keep your database nice and clean you will want to run this command nightly: mysql -udspam -pThisIsMyPassword dspam < purge-4.1.sql MySQL 4.0 and earlier First of all, you should consider upgrading MySQL, since 4.1 will run faster /and/ have a smaller database. # mysqladmin create dspam # mysql dspam < . mysql -udspam -pThisIsMyPassword dspam < purge.sql Backing up the dspam database # mysqldump -q -r BackupFileName dspamdb Destroying the dspam database # mysqladmin drop dspam.