Wednesday, July 30, 2008

Skip Spamassassin DNS Check If Using MailScanner DNSBL Check

Skip Spamassassin DNS Check If Using MailScanner DNSBL Check

Spamhaus has the limitation for DNS queries from one host. If you are using MailScanner DNSBL Check please edit the configuration under

/etc/mail/spamassassin/local.cf

to add

# By default, SpamAssassin will run RBL checks. If your ISP already
# does this, stop RBL checks in SpamAssassin by un-commenting the
# following line

skip_rbl_checks 1


This will make sure the DNSBL queries is only used by MailScanner not by Spamassassin to scan the same email.

We also received spam from people that used Googlegroup and Yahoogroup. For temporary solution we have disabled Auto Whitelist because it produced failed positive for this type of spam.

# The --auto-whitelist and -a options for "spamd" and "spamassassin" to
# turn on the auto-whitelist have been removed and replaced by the
# "use_auto_whitelist" configuration option which is also now turned on by
# default.

use_auto_whitelist 0

Please also check the /etc/mail/spamassassin/mailscanner.cf and remark those setting so that the setting inside /etc/mail/spamassassin/local.cf will be used.

Please refer to my other blog posts

Email Spam Filtering Next Level
http://blog.harisfazillah.info/2008/07/email-spam-filtering-next-level.html

MailScanner To Used MCP
http://blog.harisfazillah.info/2008/07/mailscanner-to-used-message-content.html

Thursday, July 17, 2008

NagiosQL 2.0.2 RPM For Centos 5 Release

NagiosQL 2.0.2 RPM For Centos 5 Release

More information can be view at

http://songketmail.wiki.sourceforge.net/nagiosQL-RPM

Mirrors
http://knowledge.oscc.org.my/practice-areas/system-administration/network/centos-5-rpm-for-nagiosql

http://code.google.com/p/songketmail/wiki/nagiosQLRPM

This RPM will help you to install NagiosQL 2.0.2. It's tested with Centos 5.2 and should be working with Fedora and Red Hat Enterprise 5. This RPM include nagios 2.11 configuration files that already configure for nagiosQL.

NagiosQL is a web based administration tool for Nagios 2.x. It helps you to easily build a complex configuration with all options, manage and use them. NagiosQL is based on a webserver with PHP, MySQL and file access to the Nagios configuration files.

http://www.nagiosql.org/

Enjoy.

Harisfazillah Jamel
SongketMail Project Admin.

http://blog.harisfazillah.info/

http://www.songketmail.org/

Friday, July 11, 2008

SongketMail Mail Delivery Agent (MDA) - Dovecot

SongketMail Mail Delivery Agent (MDA) - Dovecot

Set Dovecot to used MailDir

default_mail_env = maildir:/var/mail/vmail/%u/Maildir

---

[root@yanaserver yum.repos.d]# yum deplist dovecot
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* extras: centosa3.centos.org
* base: centosw.centos.org
* updates: centost.centos.org
* addons: centosw.centos.org
extras 100% |=========================| 1.1 kB 00:00
base 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 951 B 00:00
addons 100% |=========================| 951 B 00:00
Finding dependencies:
package: dovecot.i386 1.0.7-2.el5
dependency: libz.so.1
provider: zlib.i386 1.2.3-3
dependency: lib02_lazy_expunge_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: /bin/mv
provider: coreutils.i386 5.97-14.el5
dependency: liblber-2.3.so.0
provider: openldap.i386 2.3.27-8.el5_1.3
provider: openldap.i386 2.3.27-8.el5_2.4
dependency: /usr/sbin/useradd
provider: shadow-utils.i386 2:4.0.17-13.el5
dependency: libc.so.6(GLIBC_2.1.3)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libssl.so.6
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
dependency: lib11_trash_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: /usr/sbin/userdel
provider: shadow-utils.i386 2:4.0.17-13.el5
dependency: libcom_err.so.2
provider: e2fsprogs-libs.i386 1.39-15.el5
dependency: /bin/sh
provider: bash.i386 3.2-21.el5
dependency: openssl >= 0.9.7f-4
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
dependency: libkrb5.so.3
provider: krb5-libs.i386 1.6.1-25.el5
dependency: /bin/rm
provider: coreutils.i386 5.97-14.el5
dependency: libc.so.6(GLIBC_2.1)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libcrypt.so.1(GLIBC_2.0)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /bin/bash
provider: bash.i386 3.2-21.el5
dependency: libm.so.6
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: lib20_mail_log_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: /sbin/chkconfig
provider: chkconfig.i386 1.3.30.1-2
dependency: libpq.so.4
provider: postgresql-libs.i386 8.1.11-1.el5_1.1
dependency: libc.so.6(GLIBC_2.3.4)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /bin/touch
provider: coreutils.i386 5.97-14.el5
dependency: libc.so.6(GLIBC_2.2)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libk5crypto.so.3
provider: krb5-libs.i386 1.6.1-25.el5
dependency: lib10_quota_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: initscripts
provider: initscripts.i386 8.45.19.EL-1.el5.centos.1
dependency: libpam.so.0
provider: pam.i386 0.99.6.2-3.27.el5
dependency: rtld(GNU_HASH)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: config(dovecot) = 1.0.7-2.el5
provider: dovecot.i386 1.0.7-2.el5
dependency: libgssapi_krb5.so.2
provider: krb5-libs.i386 1.6.1-25.el5
dependency: libdl.so.2
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libdl.so.2(GLIBC_2.1)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libldap-2.3.so.0
provider: openldap.i386 2.3.27-8.el5_1.3
provider: openldap.i386 2.3.27-8.el5_2.4
dependency: libc.so.6(GLIBC_2.3)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /sbin/service
provider: initscripts.i386 8.45.19.EL-1.el5.centos.1
dependency: libdl.so.2(GLIBC_2.0)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libcrypt.so.1
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libc.so.6
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: lib01_acl_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: libc.so.6(GLIBC_2.0)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /usr/sbin/groupdel
provider: shadow-utils.i386 2:4.0.17-13.el5
dependency: libgssapi_krb5.so.2(gssapi_krb5_2_MIT)
provider: krb5-libs.i386 1.6.1-25.el5
dependency: libc.so.6(GLIBC_2.4)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: lib20_convert_plugin.so
provider: dovecot.i386 1.0.7-2.el5
dependency: libmysqlclient.so.15(libmysqlclient_15)
provider: mysql.i386 5.0.45-7.el5
dependency: libpam.so.0(LIBPAM_1.0)
provider: pam.i386 0.99.6.2-3.27.el5
dependency: libcrypto.so.6
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
dependency: libmysqlclient.so.15
provider: mysql.i386 5.0.45-7.el5
[root@yanaserver yum.repos.d]#

SongketMail Mail Transfer Agent (MTA) - Postfix

SongketMail Mail Transfer Agent (MTA) - Postfix

Postfix must support OpenLDAP

Check with postconf -m

[root@yanaserver yum.repos.d]# postconf -m
btree
cidr
environ
hash
ldap
nis
pcre
proxy
regexp
static
unix
---

If your are not using Dbmail. With Dovecot need to set MailDir in postfix main.cf

home_mailbox = Maildir/

----

List of dependencies for Postfix for Linux Centos 5.2

[root@yanaserver yum.repos.d]# yum deplist postfix
Loading "fastestmirror" plugin
Loading mirror speeds from cached hostfile
* extras: centosa3.centos.org
* base: centosw.centos.org
* updates: centosk2-msync-dvd.centos.org
* addons: centosw.centos.org
Finding dependencies:
package: postfix.i386 2:2.3.3-2
dependency: libz.so.1
provider: zlib.i386 1.2.3-3
dependency: libnsl.so.1
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: liblber-2.3.so.0
provider: openldap.i386 2.3.27-8.el5_1.3
provider: openldap.i386 2.3.27-8.el5_2.4
dependency: /usr/sbin/useradd
provider: shadow-utils.i386 2:4.0.17-13.el5
dependency: libc.so.6(GLIBC_2.1.3)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libssl.so.6
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
dependency: libc.so.6(GLIBC_2.4)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: fileutils
provider: coreutils.i386 5.97-14.el5
dependency: cyrus-sasl >= 2.1.10
provider: cyrus-sasl.i386 2.1.22-4
dependency: /bin/sh
provider: bash.i386 3.2-21.el5
dependency: openssl
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
dependency: libc.so.6(GLIBC_2.1)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: perl(Getopt::Std)
provider: perl.i386 4:5.8.8-10.el5_0.2
provider: perl.i386 4:5.8.8-10.el5_2.3
dependency: perl(IO::File)
provider: perl.i386 4:5.8.8-10.el5_0.2
provider: perl.i386 4:5.8.8-10.el5_2.3
dependency: /bin/bash
provider: bash.i386 3.2-21.el5
dependency: perl(strict)
provider: perl.i386 4:5.8.8-10.el5_0.2
provider: perl.i386 4:5.8.8-10.el5_2.3
dependency: libresolv.so.2
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /sbin/chkconfig
provider: chkconfig.i386 1.3.30.1-2
dependency: libc.so.6(GLIBC_2.3.4)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libresolv.so.2(GLIBC_2.2)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libc.so.6(GLIBC_2.2)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: sh-utils
provider: coreutils.i386 5.97-14.el5
dependency: perl(File::Find)
provider: perl.i386 4:5.8.8-10.el5_0.2
provider: perl.i386 4:5.8.8-10.el5_2.3
dependency: /usr/sbin/groupadd
provider: shadow-utils.i386 2:4.0.17-13.el5
dependency: rtld(GNU_HASH)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libdb-4.3.so
provider: db4.i386 4.3.29-9.fc6
dependency: /usr/sbin/alternatives
provider: chkconfig.i386 1.3.30.1-2
dependency: setup >= 2.5.36-1
provider: setup.noarch 2.5.58-1.el5
dependency: libdl.so.2
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libpcre.so.0
provider: pcre.i386 6.6-2.el5_1.7
dependency: libldap-2.3.so.0
provider: openldap.i386 2.3.27-8.el5_1.3
provider: openldap.i386 2.3.27-8.el5_2.4
dependency: libsasl2.so.2
provider: cyrus-sasl-lib.i386 2.1.22-4
dependency: libc.so.6(GLIBC_2.3)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: /sbin/service
provider: initscripts.i386 8.45.19.EL-1.el5.centos.1
dependency: openldap >= 2.0.27
provider: openldap.i386 2.3.27-8.el5_1.3
provider: openldap.i386 2.3.27-8.el5_2.4
dependency: libnsl.so.1(GLIBC_2.0)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: config(postfix) = 2:2.3.3-2
provider: postfix.i386 2:2.3.3-2
dependency: libc.so.6
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: libc.so.6(GLIBC_2.0)
provider: glibc.i686 2.5-24
provider: glibc.i386 2.5-24
dependency: pcre
provider: pcre.i386 6.6-2.el5_1.7
dependency: /usr/bin/perl
provider: perl.i386 4:5.8.8-10.el5_0.2
provider: perl.i386 4:5.8.8-10.el5_2.3
dependency: textutils
provider: coreutils.i386 5.97-14.el5
dependency: libcrypto.so.6
provider: openssl.i686 0.9.8b-10.el5
provider: openssl.i386 0.9.8b-10.el5
[root@yanaserver yum.repos.d]#

SongketMail Main Modules

SongketMail Main Modules

This list will help SongketMail Project to identified the needed modules that can be installed individualy. This is base on Linux Centos 5.2.

(1) Mail Transfer Agent (MTA)

Postfix

(2) Mail Delivery Agent (MDA)

Dovecot

Dbmail

(3) Users Directory

OpenLDAP

(4) Web Email

Horde

(5) Spam and Virus Protection

SongketMailFilter

(6) Database

Mysql

Tuesday, July 8, 2008

PHP 5.2.5 On Centos 5.2

I want to test the new Horde Module called DIMP.

http://www.horde.org/dimp/

DIMP is a project to create a version of IMP utilizing AJAX-like technologies to allow a more dynamic user experience (thus DIMP... Dynamic IMP).

but Centos 5.2 is using PHP version 5.1.6

[root@yanaserver log]# php -v
PHP 5.1.6 (cli) (built: May 24 2008 14:07:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

I can used Fedora Core 9 for the testing, but for SongketMail I need to make sure PHP 5.2.5 stable enough for Centos 5.2

Found this

http://oss.oracle.com/projects/php/dist/documentation/installation.html

and lead me to this

http://oss.oracle.com/projects/php/

and found the source rpm for php 5.2.5 under 'Download"

I will recompiled it back.


Wednesday, June 4, 2008

OpenLDAP Configuration Automation

We are building a SPEC RPM that will help to automatically setup a basic OpenLDAP server. It will ask important questions like domain name and the password for the openLDAP manager account.

The flow :-

(1) Check and install dependencies. OpenLDAP Server
(2) ask for domain name
(3) Ask for Manager password
(4) create the ldif
(5) alter Openldap server /etc/ldap/sldap.conf
(6) restart
(7) load basic ldif

We need to make sure the domain is valid and support virtual hosting.

Thursday, March 6, 2008

Customization Of OpenLDAP

Customization Of OpenLDAP

We are working with customization scripts and rpm specs for OpenLDAP to be included with SongketMail. With OpenLDAP it will help in term of management of the users and directory listing.

PHPLdapAdmin
with be used as the management interface. This will help to ease the pain of users managements.

My blog at http://blog.harisfazillah.info/

Sunday, January 13, 2008

SongketMail at SourceForge.net Project Approved Email

Subject: SourceForge.net Project Approved

Your project registration for SourceForge.net has been approved.


Project Information:

Project Descriptive Name: songketmail
Project Unix Name: songketmail
CVS Server: songketmail.cvs.sourceforge.net
Shell Server: shell.sourceforge.net
Web Server: songketmail.sourceforge.net


Project Administration:

The Project Admin page for your project may be accessed at
https://sourceforge.net/project/admin/?group_id=213253
after logging-in.


Service Availability for New Projects:

The DNS for your project web site may take up to 24 hours to become
active. Until DNS is active for your project, attempts to access
your project web site will result in 404 errors. Once DNS is active,
you will see an empty directory index when accessing your project
web site, until you have placed content in your project web space
(remember: project web space is provided solely for use in storing
project-related information; see the Web section of the Project Admin
page for additional details).

Your access to the project shell and CVS servers (including your
new CVS repository, which has already been initialized and is ready
for your first import) are typically available within four hours
from the time when your project was approved. If after 6 hours
your shell/CVS accounts still do not work, please submit a Support
Request (on the "alexandria" project, see below), so as that we may
look in to the problem.


Site Documentation and Support:

SourceForge.net maintains a large amount of documentation about
the SourceForge.net site and services offered to hosted projects.
This documentation may be accessed using the "Site Docs" link in the
left navbar, or directly at: https://sourceforge.net/docman/?group_id=1

Should you need to contact the SourceForge.net team, we may be reached
by submitting a Support Request at:
https://sourceforge.net/tracker/?func=add&group_id=1&atid=200001


Reminder: Acceptable Use and Project Licensing:

By using the SourceForge.net site, you agree to be bound by the terms
and conditions of the SourceForge.net Terms of Use Agreement.

SourceForge.net provides hosting solely for Open Source software
development projects; if your project is not being released under an
Open Source license, or is not developing software, please contact
the SourceForge.net team immediately for assistance. Questions
regarding acceptable use of the SourceForge.net site and resources
should be directed to the SourceForge.net team by submitting a
Support Request (see above).


Donation System:

SourceForge.net provides a donation system that allows users and
projects to accept donations on an opt-in basis.

You may opt-in your user account to receive donations at:
https://sourceforge.net/my/donate_manage.php

You may opt-in this project to receive donations at:
https://sourceforge.net/project/admin/donations.php?group_id=213253

Documentation on the donation system may be found at:
https://sourceforge.net/docman/display_doc.php?docid=20244&group_id=1


Getting Started:

A significant amount of project service information may be found
on the Project Admin pages for your project, as seen at:
https://sourceforge.net/project/admin/?group_id=213253

The Project Admin page for your project is the best place to start.
Please ensure that you have established a suitable Public Description
for your project, and have categorized your project within the Trove;
both of these operations may be performed using the "Public Info"
section of your Project Admin pages.


Enjoy the system, and please tell others about SourceForge.net. Let us know
if there is anything we can do to help you (we can always be reached
by submitting a Support Request on the "alexandria" project (see above)).

-- the SourceForge.net crew

SongketMail Version 1 Project Roadmap

SongketMail Version 1 Project Roadmap

http://songketmail.wiki.sourceforge.net/songketmail-roadmap
http://code.google.com/p/songketmail/wiki/SongketMailRoadmap

SongketMail Project is devided into two projects, SongketMail and SongketMailFilter.

SongketMail

An automation solution using RPM and YUM to configure and customization of Email server in Linux Operating System. This will help in minimize the numbers of steps needed to configure an email system in Linux enviroment.

Softwares in Open Source that have been identified to be used with SongketMail

CentOS 5 http://www.centos.org/
- The Operating system

Postfix http://www.postfix.org/
- For SMTP

Dbmail http://www.dbmail.org/
- For email storage and POP3/IMAP4 server

MySQL http://www.mysql.org/
- For database solution

Horde IMP http://www.horde.org/
- For WebMail

Apache http://httpd.apache.org/
- For web server

SongketMail Version 1 by June 2008

SongketMailFilter

An automation solution using RPM and YUM to configure and customization of spam and anti virus filtering system in Linux Operating System. SongketMailFilter combine with SongketMail will create a total Email server solution from SongketMail Project.

Spamassassin Using Bayesian MySQL http://spamassassin.apache.org/
- Spam identify program

MailScanner http://www.mailscanner.info/
- Anti-virus and anti-spam filter

MailWatch http://mailwatch.sourceforge.net/
- Web Interface for MailScanner

Clamav http://www.clamav.net/
- Anti virus program

SongketMailFilter Version 1 by March 2008

Tasks summary can be view at
http://sourceforge.net/pm/?group_id=213253

Saturday, January 12, 2008

Bayesian SpamAssassin MySQL SPEC RPM

Bayesian SpamAssassin MySQL SPEC RPM

Internet links :

http://songketmail.wiki.sourceforge.net/bayesian-mysql
http://code.google.com/p/songketmail/wiki/BayesianMySql

This documentation need to refer to files residing in BayesianMySql at
SongketMail Project Wiki. This RPM will configure Spamassassin to used
Bayesian with MySql. This document refer to bayesian-mysql version
0.0.1. This version is tested using MySql 5.0.22 and spamassassin 3.1.9.

SPEC RPM can be found here
http://songketmail.wiki.sourceforge.net/bayesmysql-specrpm
http://code.google.com/p/songketmail/wiki/BayesianMySqlCode

Source to be used with SPEC RPM
http://sourceforge.net/project/showfiles.php?group_id=213253&package_id=257222
http://code.google.com/p/songketmail/downloads/list

Building RPM
http://www.rpm.org/RPM-HOWTO/build.html

Simple steps

(1) Copy the tar.bz2 file to /usr/src/redhat/SOURCE
(2) Copy the above spec file to /usr/src/redhat/SPEC and name it
bayesian-mysql.spec
(3) Run rpmbuild -bb /usr/src/redhat/SPEC/bayesian-mysql.spec


You need to install development packages and rpmbuild to build RPM.

This installation is using CentOS 5 as the main Linux Operating
System. Your installation may be different with Red Hat and Fedora.
Opensuse may vary need to get the right RPM name for the packages.

(1) Install Packages needed as per CentOS 5.

spamassassin, mysql, mysql-server, perl-DBI, perl-DBD-MySQL,
perl-Net-Daemon, perl-libwww-perl

or by yum

yum install spamassassin mysql mysql-server perl-DBI perl-DBD-MySQL
perl-Net-Daemon perl-libwww-perl

(2) Start the Mysql Server and create database name bayesianmysql
(login as root)

mysqladmin create bayesianmysql

Assign the user

GRANT ALL ON bayesianmysql.* to bayesianmysql@localhost identified by
'yourpassword1234';

Change the password yourpassword1234 to your own.

(3) Create the tables needed by the database.

http://wiki.apache.org/spamassassin/BetterDocumentation/SqlReadme
http://wiki.apache.org/spamassassin/BetterDocumentation/SqlReadmeBayes
http://wiki.apache.org/spamassassin/BetterDocumentation/SqlReadmeAwl

or load the SQL file used by Bayesianmysql SPEC RPM

http://code.google.com/p/songketmail/wiki/BayesianMySqlSkeletonTables
http://songketmail.wiki.sourceforge.net/bayesianmysql-sql

mysql -p -u bayesianmysql bayesianmysql < nameofsqlfile.sql

(4) Copy 2 spamassassin cf files to /etc/mail/spamassassin

Get the file name bayesian-mysql.cf

http://songketmail.wiki.sourceforge.net/bayesian-mysql.cf
http://code.google.com/p/songketmail/wiki/BayesianMySqlCf

and file name bayesian-mysql-mysql.cf

http://code.google.com/p/songketmail/wiki/BayesianMysqlSpamassassinCf
http://songketmail.wiki.sourceforge.net/bayesian-mysql-mysql.cf

Remember to change password as per your site or item 2.

(5) You need at least to trained spamassassin one ham and spam email
using sa-learn.

Spamassassin Public Corpus can be used if you don't have any examples.

http://spamassassin.apache.org/publiccorpus/
http://spamassassin.apache.org/publiccorpus/readme.html

The command :-

http://spamassassin.apache.org/full/3.1.x/dist/doc/sa-learn.html

sa-learn --ham hamemail.txt
sa-learn --spam spamemail.txt

(6) Finishing the setup

Sync the dataset

sa-learn --sync --force-expire

Update the rules

sa-updates

Run the LINT test

spamassassin --lint -D

Watch the debug output from spamd and look for the following debug
line:

debug: bayes: Database connection established
debug: bayes: Using username:

Forum and discussion

http://sourceforge.net/forum/?group_id=213253
http://groups.google.com/group/songketmail

Blog

http://songketmail.harisfazillah.info/


Harisfazillah Jamel for SongketMail
version 1.0
12 Jan 2008

http://songketmail.wiki.sourceforge.net/bayesian-mysql-guide
http://code.google.com/p/songketmail/wiki/BayesianMysqlGuide

SongketMail Project Website

http://www.songketmail.org/

My Blog List