Unable to find primary relay for domain.com
Okay, I'm a total OSX 10.8 server noob.
I've been running OS X Server 10.3.9 for years now. I had the server configured so that it would:
a) only accept mail from inside my network
b) deliver mail from inside my network to "the outside world" (ie, other mail servers outside my domain.
I basically used the server to allow various machines on the network (printers, switches, etc) to send email alerts to me, my staff, or outside monitoring companies without the hassle of having to set up accounts for each machine on our Exchange server.
This setup has worked brilliantly for years now. However, during a recent planned downtime, the OSX 10.3.9 server refused to come back up. I had already been planning to retire it as it was getting a bit long-in-the-tooth, so I had bought a brand-spanking new Mac Mini Server running OS X 10.8.5.
So, I'm trying to configure the mail server to do basically the same thing as my previous mail server. But it will not deliver mail for love or money. I've managed to get things to a point where it seems to be accepting the mail for delivery but it keeps showing this in the log:
server.local postfix/smtp[8476]: EFBA9155163: to=<user@domain.com>, relay=none, delay-2412, delays=2412/0.01/0.01/0, dsn=4.4.4, status=deferred (unable to find primary relay for domain.com).
I've googled for the "unable to find primary relay" and not found anything that I can understand as it all seems to be related to people trying to do totally different things or it was so heavy in postfix-speak that I got lost.
There's probably some report or file I could give you the contents of that would explain my settings more succinctly but here's what I know:
DNS:
Forwarding servers: 192.168.58.128 <---this is the IP of our primary DNS server on our network
DNS is set to perform lookups for "This server itself" and "Clients on the local network"
Primary Zone: domain.com (has 3 entries)
pd.domain.com (machine)
pd.domain.com (nameserver)
mail.domain.com (mail exchanger)
server.domain.com (machine) <--- note this is the DNS name for the Mac Mini server
server.domain.com (mail exchanger
Reverse Zone: 58.168.192.in-addr.arpa
192.168.58.95 (reverse mapping) <--- note this is the IP of the Mac Mini server
Under the Mail settings:
Provide mail for 3 domains:
Domain Name: server.local
Virtual Domains: server.domain.com, server.domain.local
Authentication: Local Users
Relay outgoing mail through ISP is "off"
Limit mail to ___ MB per user is "off"
I'm not using any filter settings.
So, that's what I know. I hope someone here can help me with this. I'm at wit's end.
MAC MINI SERVER (LATE 2012), OS X Mountain Lion (10.8.5)