On Mar 5, 2013, at 6:23 PM, Ashley Aitken <[email protected]> wrote:

> 
> Hi,
> 
> I'm having some problems with Snow Leopard Server email (mail bouncing or 
> taking a long time to get in, an hour or more, in some cases).
> 
> Can someone please help with clear definitions for (and the purpose of) these 
> settings in the Mail Service > Settings > General tab in Server Admin?
> 
> 1. Domain name:  
> Enter the local Internet domain name.
> 
> What exactly is this meant to be (and how is it used)?
> 
> Currently this is set to "local"
> I only have one server that runs mail and web behind our ADSL modem/router
> Hopefully, ports are forwarded as appropriate from the modem/router to the 
> server
> I do have an internal DNS setup, with the same domain as external for when 
> clients are connected locally.
> 
> 2. Host name:
> Enter the Internet host name of this mail system
> 
> What exactly is this meant to be (and how is it used)?
> 
> Currently this is set to "mydomain.com"
> I would have thought that the Internet host name would have been 
> mail.mydomain.com as in the MX record?
> I think I have used that in the past but my email addresses then looked like 
> [email protected] :-(
> 
> 
> 3. Mail > Settings > Relay 
> 
> With regards to the delay of emails getting accepted (when they don't bounce 
> and only from some servers it seems, e.g. Apple mac.com delivered immediately)
> 
> I thought this was caused by my using some  "junk mail rejection servers 
> (realtime blacklist)"
> 
> However, I've check again and I no longer seem to have any of these 
> configured (are they recommended? which ones?) so something else must be 
> slowing down the mail delivery.  
> 
> I notice in the mail.log lots of entries like this:
> 
>> Mar  6 12:09:06 server postfix/smtpd[52216]: connect from 
>> mailserver.easterncontrols.com[70.90.14.220]
>> Mar  6 12:09:07 server postfix/smtpd[52216]: NOQUEUE: reject: RCPT from 
>> mailserver.easterncontrols.com[70.90.14.220]: 450 4.7.1 
>> <[email protected]>: Recipient address rejected: Service is unavailable; 
>> from=<[email protected]> to=<[email protected]> proto=ESMTP 
>> helo=<mailserver.easterncontrols.com>
>> Mar  6 12:09:08 server postfix/smtpd[52216]: lost connection after DATA (0 
>> bytes) from mailserver.easterncontrols.com[70.90.14.220]
>> Mar  6 12:09:08 server postfix/smtpd[52216]: disconnect from 
>> mailserver.easterncontrols.com[70.90.14.220]
> 
> I thought this was the realtime blacklisting.
> 
> I also see lots of these:
> 
>> Mar  6 12:10:42 server postfix/anvil[51922]: statistics: max connection rate 
>> 5/60s for (smtp:68.203.211.226) at Mar  6 12:06:03
>> Mar  6 12:10:42 server postfix/anvil[51922]: statistics: max connection 
>> count 2 for (smtp:134.7.73.150) at Mar  6 12:04:27
>> Mar  6 12:10:42 server postfix/anvil[51922]: statistics: max cache size 4 at 
>> Mar  6 12:05:25
> 
> Are these just spam sites or is something wrong my end?
> 
> I have checked my email service from outside, using the Web sites that check, 
> and it all seems fine - no open relay, mail server matches reverse dns, etc.  
> 
> Thanks in advance for any assistance.
> 

By default, greylisting is turned on. That's the issue you're having. This 
delays email being delivered to reduce spam. Spammers will rarely if ever retry 
a send., If it fails, they give up after one. But a properly configured server 
will try again after a given interval.

This explains how to turn if off. Be careful though because it can accidentally 
get turned on. Apple's server admin doesn't respect hand edited configuration 
files very well.

http://labs.hoffmanlabs.com/node/1755

To answer your questions in order.

1. Your internet domain should be one of the domains that you receive mail for 
such as : blahblah.com.

2. The host name is the public host name of the system (your MX record will 
tell you what this should be). mail.blahblah.com would be a common one for the 
domain in #1.

3. This where the greylisting comes into play. Turn it off and you'll be fine.

You should also set up a reverse DNS lookup for your mail server's public name. 
Some servers will reject mail that doesn't have a correct reverse DNS lookup. 
Your ISP can do this for you since they control the DNS for the IP addresses 
that they give out to their 
customers._______________________________________________
MacOSX-admin mailing list
[email protected]
http://www.omnigroup.com/mailman/listinfo/macosx-admin

Reply via email to