Can't receive mail

Hi,

I have set up my server, and it is all running well except that mail from external addresses can't sent to the machine.

I have set up the a record for the domain pointing to my IP. I have set up PTR on the domain to mail.example.com. I have set up the mx record for mail.example.com and I have set up a cname for www to mail.example.com

I can send mail fine internally and externally, it is when I try to reply back I get this error from an external account

Illegal host/domain name found

When I send an email to myself internally I get nothing.

Any ideas on what is happening?

Cheers,
Dave.

MacBook Black 2.16GHz 4GB 250GB 2700RPM, Mac OS X (10.6), iPhone 3G 16GB White

Posted on Aug 27, 2009 7:10 PM

Reply
30 replies

Sep 8, 2009 9:38 AM in response to farmer tan

I'm not certain which hardware you have, but a few resources to check out:

http://en.wikipedia.org/wiki/PathMTUdiscovery

This will give you an overview of path MTU discovery....to understand better what happens when it isn't set properly (and some good diagnostic information for general use) can be found here:

http://www.netopia.com/support/hardware/technotes/NIR_067.html

Which you will see is suspiciously similar to the behavior you describe. I had a router go South on me, and the symptom was that short e-mails from .Mac would fly through, but anything with an attachment (an iCal event invite is a good one to test against) or something with a lot of HTML would fail.

Hope that helps. Please let us know how that works out.

Sep 8, 2009 4:05 PM in response to root 66

** I've started a new thread for this query**

Since upgrading to 10.6 Server, I'm also unable to receive mail for my virtual domains. Message is the same as above

"Sep 2 21:57:36 server postfix/smtpd(1647): NOQUEUE: reject: RCPT from mail.example.com(123.123.123.123): 450 4.7.1 <me@mydomain.com>: Recipient address rejected: Service is unavailable; from=<you@yourdomain.com> to=<me@mydomain.com> proto=ESMTP helo=<mail.example.com>"

Any help would be appreciated, Cheers

Message was edited by: lemoncheese

Sep 19, 2009 7:13 PM in response to Matt Domenici

Just for completeness (and knowing that this is in response to Matt's post, not the original poster's, but in order to allow future searchers to find this info), I would like to point out that I had exactly the same message as Matt but greylisting was not enabled on my system.

Instead it turned out that the problem was from a completely different cause. I had moved the mail folder (imap/dovecat/mail) to an external volume, which was not mounting correctly at startup (because I had moved swupd there, too, and re-pointed Software Update, which barfs if you do that). Because the mail folder volume didn't mount, incoming mail was rejected with the "Recipient address rejected: Service is unavailable" message.

Oct 22, 2009 5:24 PM in response to DrSupachicken

Hi, I think I'm having a similar problem but possibly a completely new one...

First my problem was I couldn't receive mail. I then re-entered the mail account and it seems to be keeping up to date. However I'm now having problems with my iPhone. I have tried recreating the mail account on my phone with no luck. The server is up to date but the only way I can find any mail after the 16th Oct is to do a search for it.

Anyone have any ideas?

Nov 12, 2009 11:14 AM in response to Robert LaRocca

how do I edit this file? I understand how to open terminal and enter the first line, but from there, how do I actually edit this value? Do I paste the whole thing in?

+sudo pico /etc/postfix/main.cf+

from

+smtpd recipientrestrictions = permit saslauthenticated permit_mynetworks reje ct unauthdestination check policyservice unix:private/policy permit+

to

+smtpd recipientrestrictions = permit saslauthenticated permit_mynetworks reje ct unauthdestination permit+

Jan 17, 2010 7:02 AM in response to Robb Allan

@ Robb Allan

First, thanks for sharing your observations since otherwise I would have been searching for a greylist related solution.
I encounter the exact same problem: "Recipient address rejected: Service is unavailable" and it seems to be related to the fact, that I store my Mail data on the second hard drive of a new mac mini server.

If I set the path to where the Mail-data is stored /Volumes/Macintosh HD2/ServiceData/Mail and save the change, emails are delivered once. But unfortunately the next email doesn't make it trough.

I wonder if you could come up with a solid solution? Did you solve it yet?

Best regards,
Andrash



edit: is there a way to move the /ServiceData/Mail to the main hard drive which is Server HD?

Message was edited by: Andreas Franz.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Can't receive mail

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.