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  

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 […]

Exchange 2010 Relaying – How to use it, how to turn it off

Email Relay is one of the more annoying features of email servers. However, there are times it can be pretty useful. It’s annoying because Spammers love to exploit it, and it’s useful because it can allow you to centralize a lot of email services.

What is Email Relay?

Email relay is, quite simple, a feature […]

How To Close An Open Relay In Exchange 2007 / 2010

f you have an Exchange 2007 or Exchange 2010 server and you discover that you are an Open Relay, there is a very simple command that you can run from the Exchange Management Shell to close this down. The command is: Get-ReceiveConnector “YourReceiveConnectorName” | Remove-ADPermission -User “NT AUTHORITY\ANONYMOUS LOGON” -ExtendedRights “ms-Exch-SMTP-Accept-Any-Recipient” Replace “YourReceiveConnector” with the […]

Block Spam Mail with Qmail

Qmail is a modern, secure and powerful SMTP email system. We used QmailRocks as a qmail installation resource. I would like to introduce few step for “Block Spam Mails with Qmail“.

1. Qmail block mail from spammers based on the envelope sender Qmail has the ability to unconditionally block mail from spammers based on the […]