September 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Categories

September 2014
M T W T F S S
1234567
891011121314
15161718192021
22232425262728
2930  

Postfix on CentOS 6.4

MAIL SERVERSETUP USING POSTFIX ON CENTOS 6.4

Part 1 MTA Postfix

Chapter 1 Email Service Chapter 2 Mail Transfer Agents Chapter 3 Installation and Startup Chapter 4 Postfix Configuration

Part 2 IMAP & POP3 Server

Chapter 5 IMAP and POP3 on Dovecot Chapter 6 MUA Configuration

Part 3 Postfix aliases & access control

Chapter […]

Qmail delivery problems

We’re a PA partner and have clustered Qmail with 4 servers + NFS storage. We’ve seen an issue where Qmail throws the following error:

failure: Sorry,_I_could_not_find_a_mail_exchanger_or_IP_address._(#5.4.4)/

This is a permanent error and means Qmail will not retry, the sender will receive an NDR (Non delivery reply / bounce back).

I’ve seen 3 causes so far […]

Configure Postfix on CentOS/RHEL 6/5

Postfix is fast and popular SMTP server widely used. The main job of postfix is to relay mail locally or to intended destination outside the network. Some of the most popular SMTP servers are Sendmail, Postfix and Qmail. By default Sendmail comes pre-installed with CentOS/RHEL 5. We will need to remove it and install Postfix. […]

Backup MX Server with RHEL

This post will explain how to configure a backup MX server for queuing mail for two (or more) domains if the primary mail server of those domains become unreachable. I’ve tested this configuration for relaying mail to Microsoft Exchange, Postfix, QMail, Sendmail, Lotus Domino, Merak and other less common mail server without any kind of […]

manage Postfix mail queue

This post will show a simple perl tool to manage (delete) one or more message in Postfix mail queue.

The main script to use is delete-mailq.pl Create a file called delete-mailq.pl in /usr/local/bin with the the following content :

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 […]

SMTP relay server with RHEL

I prefer to use corporate mail server for mail relay mails from Linux box.

While settingup Nagios for my friend and as he insisted using Gmail to send Nagios alters I found interesting post.

Install dependencies.

yum -y install openssl-perl

If /etc/pki/CA/private/cakey.pem does not exists

/etc/pki/tls/misc/CA.pl -newca

That will create the cakey.pem file in /etc/pki/CA/private

[…]

Qmail – Relay Mails to Gmail

Earlier we have covered postfix- relay mails to gmail

This tip is for the qmail server using Jms patch.

Many of us prefer Qmail instead of Postfix, especially when it come to use as mail server, for the one who wish to relay mails postfix is easy to install.

Make sure you have created cert […]

Relay host in mail server

How to setup Relay host in mail server POSTED ON SEPTEMBER 12, 2013 //

Please refer to the following information to assist in configuring various of the common mail servers:

Microsoft Exchange 2003

Important: If you are using Exchange with smtp-proxy.tm.net.my, you must configure your server to reject invalid recipients during the SMTP session, rather […]

qmail Remote host said: 504 5.5.2 Helo command rejected: need fully-qualified hostname

root@localhost control]# pwd /var/qmail/control [root@localhost control]# cat helohost cat helohost mail.rmohan.com

/var/qmail/control/me

mail.rmohan.com

control file of qmail

control file of qmail

Presented by demilitarized area December 31, 2003 Last updated:

control file, which controls the behavior of qmail resides in / var / qmail / control directory. Unlike such as sendmail, each control, it is not organized in a single file, you can set as a file of each control in […]