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

---

[[email protected] 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
[[email protected] yum.repos.d]#

SongketMail Mail Transfer Agent (MTA) - Postfix

SongketMail Mail Transfer Agent (MTA) - Postfix

Postfix must support OpenLDAP

Check with postconf -m

[[email protected] 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

[[email protected] 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
[[email protected] 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

[[email protected] 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.


My Blog List