Postfix provides Mime header check for all incoming messages. You can put restrictions on .exe / .bat / .vbs files and block all attachments. mime_header_checks directive allows you to define file, you will place a restriction for any file extensions that you do not want to have passing through your mail sever system. On most […]


Librenix has a posted small and sweet article that explains basic steps to configure and install a mail server with antivirus / antispam in minutes. From the article: This article illustrates a situation where you need to set up your own mail server (be it your home mail server, or a small office one). It […]


Postfix is free and powerful MTA. You can easily configure Postfix to block spam. You need to add following directives to /etc/postfix/ file: => disable_vrfy_command = yes : Disable the SMTP VRFY command. This stops some techniques used to harvest email addresses. => smtpd_delay_reject = yes : It allows Postfix to log recipient address information […]


Address rewriting allows changing outgoing email ID or domain name itself. This is good for hiding internal user names. For example: SMTP user: tom-01 EMAIL ID: Server name: However when tom-01 send an email from shell prompt or using php it looks like it was send from In some cases internal hosts […]


Email filtering is an essential task. There are many methods like: => Bayesian spam filtering => SpamAssassin/DSPAM programs => Check open relay using RBL etc Now is shutting down its operation. ORDB is quite effective and I use this list against all of email servers. Spammers still use 3rd party servers and desktop computers […]


PHP has mail() function to send an email to users. However this mail() will not work: => If sendmail (or compatible binary) is not installed => If Apache Web server / Lighttpd running in chrooted jail => And your smtp server needs an authentication before sending an email => Or you just need to send […]


When you cannot monitor your server for service availability, it is better to take help of automated monitor and restart utility. Last 4 days I was away from my server as I was enjoying my vacation. During this time due to load my lighttpd webserver died but it was restarted automatically within 2 minutes. I had utility configured for monitoring services on a Linux system called monit. It offers all features you ever needed for system monitoring and perform error recovery for UNIX like system.