Languages

Mac OS X Server: Microsoft Outlook clients may not be able to send mail

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.

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.

For OS X Server (Mountain Lion)

  1. In /Library/Server/Mail/Config/postfix/main.cf, locate the smtpd_helo_restrictions setting.
  2. Remove "reject_non_fqdn_helo_hostname" from the list of settings.
  3. Restart the Mail service.

For Mac OS X Lion Server and Mac OS X Server v10.6.x

  1. In /etc/postfix/main.cf, locate the smtpd_helo_restrictions setting.
  2. Remove "reject_non_fqdn_helo_hostname" from the list of settings.
  3. Restart the Mail service.
Important: Information about products not manufactured by Apple is provided for information purposes only and does not constitute Apple’s recommendation or endorsement. Please contact the vendor for additional information.
Last Modified: Aug 21, 2012
Helpful?
Yes
No
  • Last Modified: Aug 21, 2012
  • Article: TS3023
  • Views:

    18142
  • Rating:
    • 100.0

    (1 Responses)

Additional Product Support Information

Start a Discussion
in Apple Support Communities
See all questions on this article See all questions I have asked