How to diagnose outgoing mail problems and delivery delay notifications.
If it is possible to send mail locally (from one account to another on the server) but are not able to send mail out side of the domain of server, this article will assist with diagnosis of the issue.
It is often configuration of a firewall or proxy server that does not allow the mail traffic to send or receive remotely. To help diagnose this, use the Telnet command. Further information on using the Telnet command can be found at: Article ME020207
>C:\telnet mail.mailenable.com 25
A successful attempt will show a connection and subsequent welcome message as outlined below;
220 mailenable.com ESMTP MailEnable Service, Version: 0--1.04 ready at
If the firewall or proxy is not allowing SMTP traffic out then the following will be displayed;
Connecting To mail.example.com...Could not open a connection to host on port
: Connect failed
If messages are being dispatched by the server and mail is still not being delivered, then the next thing to check is whether the mail is being addressed and delivered correctly. Checking the SMTP debug and activity logs may show reasons for mail delivery failure. Two links that can help diagnose any DNS issues are as follows;
The MailEnable utility will show some basic information on a domain and the relay settings. The DNSReport link will give a more comprehensive report of the status of the DNS settings.
If a mail server is refusing connection when trying to send mail, the logs will report that the connection was refused. If there are many lines in the logs stating that the connection was refused, then it is likely that a PTR record has not been set up for the server, or the server IP address has been blacklisted on a Reverse DNS Blacklist. A basic check for blacklisting, and/or to check for a PTR record can be done here:http://www.dnsstuff.com
Delivery Delay Notifications
If a user is receiving
delivery delay notifications, the message is most likely still queued for outgoing delivery
on the MailEnable server. Determine why messages are generating delay notifications
by reviewing the SMTP Activity and Debug logs. Use the MailEnable log analysis utility
) to analyse
the log files. Later versions of MailEnable also allow the SMTP outbound message queue
to be reviewed with a summary description outlining why the delay occurred. Log files
can be opened from within the MailEnable Administration program.
Search the Activity log for the mail address of the sender who is receiving the Delivery Delay notification. This will identify where the message is actually attempting to be sent. Also, inspect the MailEnable SMTP Outgoing Queue and determine the Message ID, and search the log for this.
Once the SMTP transactions have been located in the Activity Log, review the Debug Log for entries that same time period. The combination of these two logs should provide enough information as to why the message is not being sent.
Client and Relay settings preventing mail send
There are various reasons why this can occur:
On a new install, MailEnable sets the
following relay settings:
- Allow relay for authenticated senders
- Allow relay for privileged IP ranges
The first option, 'Allow relay for authenticated senders' means that only email clients that send a username and password from an active MailEnable mailbox will be able to send email to a non-local email address. So in order to send email to non-local addresses, SMTP authentication needs to be enabled on the email client.
How to diagnose Inbound Message delivery delays: Article ME020318
Error "Message Delivery has been delayed":Article ME020125
Sending or receiving fails on the DATA command: Article ME020063
BUG: "Communications Error: Could not populate sockets address pack" appears in log:Article ME020017
Could not resolve MX list for domain:Article ME020337
Why are messages to external domains not being sent?Article ME020133
PRB: MailEnable will not send mail to remote mail servers:Article ME020014
|Product:||MailEnable (All Versions)|
|Keywords:||outgoing remote delivery delay SMTP firewall send sending|
|Class:||HOWTO: Product Instructions|
|Created:||20/06/2003 6:51:00 PM|
|Revised:||Wednesday, May 4, 2016|