Category Archives: Email

Urdu CBT Linux System Administration qmail 5/7

This is an old/dated CBT (created in 2006). It explains how you can configure qmail SMTP server (written by Dan Bernstein), with all the bells and whistles, using steps outlined by the creator of qmailrocks.com website (now de-functional). The qmailrocks guide was somewhat in-sufficient in explaining how qmail actually works. It just spoon-feeds you the steps to do (copy/paste). I was learning qmail myself when I created these CBTs, so there are areas in this CBT which are weak. I don’t recommend this CBT to be used to setup a production qmail server. It has only been uploaded for archiving reason. If you really want to learn qmail, the best sources are “Life with Qmail” and John Simpson’s “http://qmail.jms1.net/” .

Author: Muhammad Kamran Azeem
Courtesy: http://wbitt.com

Published by:

Urdu CBT Linux System Administration qmail 4/7

This is an old/dated CBT (created in 2006). It explains how you can configure qmail SMTP server (written by Dan Bernstein), with all the bells and whistles, using steps outlined by the creator of qmailrocks.com website (now de-functional). The qmailrocks guide was somewhat in-sufficient in explaining how qmail actually works. It just spoon-feeds you the steps to do (copy/paste). I was learning qmail myself when I created these CBTs, so there are areas in this CBT which are weak. I don’t recommend this CBT to be used to setup a production qmail server. It has only been uploaded for archiving reason. If you really want to learn qmail, the best sources are “Life with Qmail” and John Simpson’s “http://qmail.jms1.net/” .

Author: Muhammad Kamran Azeem
Courtesy:http://wbitt.com

Published by:

Urdu CBT Linux System Administration qmail – 2/7

It explains how you can configure qmail SMTP server (written by Dan Bernstein), with all the bells and whistles, using steps outlined by the creator of qmailrocks.com website (now de-functional). The qmailrocks guide was somewhat in-sufficient in explaining how qmail actually works. It just spoon-feeds you the steps to do (copy/paste). I was learning qmail myself when I created these CBTs, so there are areas in this CBT which are weak. I don’t recommend this CBT to be used to setup a production qmail server. It has only been uploaded for archiving reason. If you really want to learn qmail, the best sources are “Life with Qmail” and John Simpson’s “http://qmail.jms1.net/” .

Author: Muhammad Kamran Azeem
Courtesy:http://wbitt.com

Published by:

Urdu CBT Linux System Administration qmail 1/7

It explains how you can configure qmail SMTP server (written by Dan Bernstein), with all the bells and whistles, using steps outlined by the creator of qmailrocks.com website (now de-functional). The qmailrocks guide was somewhat in-sufficient in explaining how qmail actually works. It just spoon-feeds you the steps to do (copy/paste). I was learning qmail myself when I created these CBTs, so there are areas in this CBT which are weak. I don’t recommend this CBT to be used to setup a production qmail server. It has only been uploaded for archiving reason. If you really want to learn qmail, the best sources are “Life with Qmail” and John Simpson’s “http://qmail.jms1.net/” .

Author: Muhammad Kamran Azeem
Courtesy: http://wbitt.com

Published by:

Postfix Mail Delivery SMTP Troubleshooting

Articles CentOS Email How To How To's Linux Mail Mail Server Postfix SMTP Tips and Tricks troubleshooting

To avoid delay in emails, specially for gmail. Just find which MX is working by issuing below commands:

# dig mx gmail.com

# telnet mx-IP/name 25

upon success, just see the name of first mx tried from /var/log/maillog

and add an entry in /etc/hosts file.

In my case, the entry is given below:
# vim /etc/hosts

74.125.25.26 aspmx.l.google.com
74.125.25.26 alt1.aspmx.l.google.com
74.125.25.26 alt2.aspmx.l.google.com

:save and exit

now open postfix main.cf and add smtp_host_lookup directive under inet_protocols = all

# vim /etc/postfix/main.cf

inet_protocols = all
smtp_host_lookup=native
save and exit

now restart postfix

# service postfix restart

by default postfix host lookup is done via DNS, native mode uses nsswitch.conf settings and will check /etc/hosts first and then DNS if entry not found in /etc/hosts

Published by: