Mac OS X Server 10.2: Unable to receive mail after upgrading from Mac OS X Server 10.1

Email sent to the server after the upgrade may be returned with a message indicating that delivery failed because the sender is not a valid local user on the SMTP server.
Symptom

The server can send mail without issue, but it will not accept incoming mail. A sender may receive a message indicating the mail was rejected because she is not a valid user on the SMTP server.

Products Affected

Solution

This occurs if the server was previously set to use the "Require local 'From' address to exist in Users and Groups" and then updated to Mac OS X Server 10.2. To resolve the issue, follow these steps:

  1. Use Server Settings to stop Mail service.
  2. Open NetInfo Manager (/Applications/Utilities).
  3. Click the lock button to authenticate as an Admin user.
  4. In the local domain, navigate to /config and select AppleMailServer.
  5. In the lower pane, scroll to the require_local_from_flag property.
  6. Double click on the value for this property and change it from "1" to "0".
  7. Choose Save Changes from the Domain menu.
  8. Restart Mail service.


Published Date: Oct 11, 2016