Secure Email Server On Centos   June 4th, 2010

Qmailtoaster is a project whose purpose is to install Qmail with RPMs on RPM based Linux and these RPMs are source RPMs. The advantage of Qmailtoaster is that it contains all patches needed for Qmail for example domainkeys etc.

Included Featureset by Qmailtoaster

  • Source RPM packages easily rebuilt for multiple distributions
  • SMTP with SMTP-AUTH, TLS, REMOTE-AUTH
  • DomainKeys, SPF “Sender Policy Framework” and SRS “Sender Rewriting Scheme”
  • Integrated SpamAssassin, ClamAV and Simscan
  • Warlord virus and worm loader realtime MIME signature scanning
  • CHKUSER 2.0 functions for qmail-smtpd
  • Qmail-Tap provides email archive capability
  • Virtual Domains and Virtual Users using MySQL
  • Autoresponder for vacation/away from office messages
  • Integrated Mailing List (ezmlm)
  • Web-based email system using Squirrelmail
  • Web-based administration tools
  • POP3, POP3-SSL, IMAP and IMAP-SSL
  • Submission port (587) allows roaming users to skip RBL checks and port 25 blocks
  • eMPF patch for advanced policy control over email

Qmailtoaster has support for RHEL/CentOS (3.x, 4.x, 5.x , Fedora, Suse, Mandriva. We are going to install Qmailtoaster for CentOS 5.x

Prerequisites: Install Centos 5 base system, remaining packages and dependencies will be installed automatically with qmailtoaster scripts.

1) Configuration Read the rest of this entry »

In this how-to I’ll guide you how to install postfix with mysql & dovecot and I’ll also introduce a new tool named (PostfixMailAdmin) for managing postfix mysql users.

We all knows Postfix is fast, easy to administer, and secure. The outside has a definite Sendmail-ish flavor, but the inside is completely different.

Installing Postfix

cd /usr/ports/mail/postfix
make install clean(Be sure “SASL2”, “TLS“, “MySQL“, and “VDA” are selected in the menu).

Note: If you want use dovecot as backend for SASL then also select DOVECOT from option menu.

I have already mentioned that i will introduce a new software for managing postfix virtual users. The software name is postfixmailadmin.

The main feature of this software is new web interface, easy to use, optimized search and vacation module.

You can download postfixmailadmin from this url: http://sourceforge.net/projects/postfixmiladmin/

Now Install PostfixMailAdmin

cd /var/www/html
tar -xzvf postfixmailadmin-1.0.1.tar.gz Read the rest of this entry »

FreeBSD-Postfix-MySQL-SpamAssassin-Maia-Virtual Setup

First, I would like to thank DrkShdw, Worth, and Fr0zen from ##FreeBSD on FreeNode for their time and ideas when it came down to me writing this tutorial/guide. So, thanks a ton, fellas! Now, on with it!
I wrote this tutorial because of the many, MANY times I’ve been asked about how to set up Postfix on a FreeBSD system. There are many great tutorials out there that can guide people through a Postfix setup. However, none of them are related to FreeBSD. So, I’ve decided to give it a go and here it is.
Note: Please be aware that there will be a lot more installed than actually concentrated on due to this tutorial utilizing the FreeBSD Ports System and installing any dependencies that a port may require to run efficiently.
Any questions or comments can be sent to the PHO Postfix Mailing Lists. Standard comments are welcome here on the site. However, there will be no replies via the comment pages. Also, it just seems more useful for others to be able to read questions and answers on the mailing lists. You can also join us for whatever reason you see fit on our PHO IRC Server. So, enjoy and please, please, PLEASE let me know if you run into any problems. How the hell am I to fix something if no one reports errors?
With the above being stated and you having still read to here, I’ll go ahead and assume that you’re going to follow this tutorial/guide. If so, please keep in mind that anything writen in BOLD, RED TEXT will be something that needs to be edited. Also, you should be sure that your FreeBSD Ports Tree is up-to-date. So, let’s get started, shall we? Use the links below to begin.

logo_postfixFirst, I would like to thank DrkShdw, Worth, and Fr0zen from ##FreeBSD on FreeNode for their time and ideas when it came down to me writing this tutorial/guide. So, thanks a ton, fellas! Now, on with it!

I wrote this tutorial because of the many, MANY times I’ve been asked about how to set up Postfix on a FreeBSD system. There are many great tutorials out there that can guide people through a Postfix setup. However, none of them are related to FreeBSD. So, I’ve decided to give it a go and here it is. Read the rest of this entry »

Squid2MySQL for FreeBSD 5.2 (08.07.2004 r)

What Squid2MySQL? This authorization, and accounting traffic users
Internet. There is a proxy-server Squid (http://www.squid-cache.org/)
and the database MySQL, (http://dev.mysql.com/)
Squid caching of information involved, and MySQL stores information about
user (name, password, URL and downloaded, etc.).
Binder link – it Squid2MySQL (http://evc.fromru.com/squid2mysql/download.html) 1.0.0
by Eugene V. Chernyshev for Linux.

For those who use Linux as the OS for servers – it will be better
Visit poster’s Squid2MySQL and use information from
Copyright (http://evc.fromru.com/squid2mysql/download.html) site.
I just ported squid2mysql under FreeBSD, and corrected a few errors
them were reported to the author for correspondence e-mail.

This article describes the stages and features of the installation of the corrected
version squid2mysql under FreeBSD.
Let’s go …

1) must be installed MySQL, Squid and Perl. Check
efficiency of these programs: go to MySQL, make a simple
request to table mysql; check Perl command perl-v; do not forget
do for Squid base command squid-z. Check the DNS team
nslookup host, if there will be problems with DNS, you will not run Squid.

2) Download the archive squid2mysql (http://www.uvsw.narod.ru/project/squid2mysql_v.tar.gz)
under FreeBSD (~ 600 Kb) and unpack

# Tar-zxvf squid2mysql_v.tar.gz

3) Go to the newly created directory squid2mysql_v. Go to the subdirectory
for_perl and install the modules for the Perl DBI-1.42.tar.gz and
Msql-Mysql-modules-1.2219.tar.gz or download the newer.

# Tar-zxvf DBI-1.42.tar.gz
# Cd DBI-1.42
# Perl Makefile.PL
# Make
# Make test
# Make install

analogous set module Msql-Mysql-modules-1.2219.tar.gz Read the rest of this entry »

MySQL Change root password   March 7th, 2010

If you have never set a root password for MySQL, the server does not require a password at all for connecting as root. To setup root password for first time, use mysqladmin command at shell prompt as follows:

1 mysqladmin -u root password NEWPASSWORD

However, if you want to change (or update) a root password, then you need to use following command

1 mysqladmin -u root -p'oldpassword' password newpass

For example, If old password is abc, and set new password to 123456, enter:

1 mysqladmin -u root -p'abc' password '123456'

source here