Troubleshooting Course Content Rough Drafts-Identify And Resolve Mail Flow Issues: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<strong>ROUGH DRAFT</strong> | <strong>ROUGH DRAFT</strong> | ||
==Section I - General Info== | ==Section I - General Info== |
Revision as of 18:27, 11 February 2015
ROUGH DRAFT
Section I - General Info
Email traffic depends on DNS MX records
Section II - Trouble with Incoming Messages
Why are my messages not getting delivered? Check your DNS MX records from this linux command
host –t mx yourdomain.com
You should see something like…
yourdomain.com is handled by 10 mail.yourdomain.com.
Check to see if the MTA IP address is correct
host -t a mail.yourdomain.com
Is the IP correct?
Section III - Trouble with Outgoing Messages
Why are my messages not getting sent out?
Is your Network provider denying outbound smtp connections?
telnet smtp.hp.com 25
Section IV - Troubleshooting Tools
- /opt/zimbra/postfix/sbin/mailq
- /opt/zimbra/postfix/sbin/postqueue
- sudo /opt/zimbra/libexec/zmqstat
- /opt/zimbra/libexec/zmmsgtrace
Section V - Differences between zimbraMtaRelayHost & zimbraSmtpHostname
zimbraMtaRelayHost: Used by the zimbra MTA, postfix's value for postconf relayhost.
zimbraSmtpHostname: Used by the zimbra user store node not running MTA service.
Section VI - Real World case examples
OS MTA vs. Zimbra MTA
When a Linux OS is installed, the OS will include either Postfix or Sendmail. You must be aware that if the OS installs Postfix, the binary paths will be different.
[root@mail ~] which postfix
/usr/sbin/postfix
[zimbra@mail ~] which postfix
~/bin/postfix
See the difference? Make sure when you are running postfix commands like postconf, that you are running the commands as the zimbra user, not root.
Also, make sure to disable the OS MTA from the start up sequence.
chkconfig postfix off
or
update-rc.d -f /etc/init.d/postfix remove