Mac OS X Server: Microsoft Outlook clients may not be able to send mail
Products Affected
Lion Server, Mac OS X Server 10.6
Symptoms
Users who use Microsoft Outlook as their email client and who connect to an email server running on Mac OS X Server v10.6 or later may not be able to send mail. The following (or similar) alert is returned to Outlook clients:
The message could not be sent because one of the recipients was rejected by the server. The rejected email address was "recipient@example.com" is subject "example", account: "mail.example.com" , server "mail.example.com", protocol: SMTP, server response: "504 5.5.2 < hostname > : Helo command rejected: need fully qualified host name", port: 25, secure (SSL): no, server error: 504, error number: 0x800CCC79.
Resolution
This issue occurs when the Mac OS X Server Mail service (postfix) is configured to require a fully qualified hostname from SMTP clients. This setting is enabled when you turn on spam filtering in Mac OS X Server v10.6 or later.
In Lion Server, this setting is not part of the default spam filter in Lion Server v10.7.3 or later, but it will still be set if you enabled spam filtering before updating to Lion Server v10.7.3 or later.
The fully qualified hostname requirement can be configured separately from other spam filter settings by editing a configuration file. Any modification of a security-related setting should be evaluated prior to making the change.
Once you have evaluated the change, you can use the following steps to implement it:
Note: Use these guidelines when editing a configuration file.
- In /etc/postfix/main.cf, locate the smtpd_helo_restrictions setting.
- Remove "reject_non_fqdn_helo_hostname" from the list of settings.
- Restart the Mail service.
Twitter
Facebook