Re: Snow Leopard Server Mail Settings?
Tim Roberts <[email protected]> Wed, 6 Mar 2013 15:49:12 -0600
| Newsgroups | gmane.comp.macosx.admin |
|---|---|
| Message-ID | <[email protected]> |
On Mar 6, 2013, at 2:00 PM, [email protected] wrote: > Message: 3 > Date: Wed, 6 Mar 2013 13:34:22 +0800 > From: Ashley Aitken <[email protected]> > Subject: Re: Snow Leopard Server Mail Settings? > To: "[email protected] OSX" <[email protected]> > Message-ID: <FF7A6CC2-5670-45A2-BE7F-A06C7430BF21-ee4meeAH724@public.gmane.org> > Content-Type: text/plain; charset=3Dus-ascii >=20 >=20 > Hi Mike (et al.), >=20 > Thank you for your very helpful post Mike. >=20 > On 06/03/2013, at 12:31 PM, Mike Friedman <[email protected]> = wrote: >>=20 >> 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. >>=20 >> 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. >>=20 >> http://labs.hoffmanlabs.com/node/1755 >=20 > After posting, I became aware also that I was confusing real-time = blacklisting with greylisting. I have used real-time blacklisting in = the past as well but I believe I turned it off for some reason. >=20 >> =46rom what I read it sounds like a good thing to have greylisting - = IIRC it did reduce my spam significantly, apparently because spammers = don't retry bounced emails - so I will leave it on. >=20 >=20 >> To answer your questions in order. >>=20 >> 1. Your internet domain should be one of the domains that you receive = mail for such as : blahblah.com. >=20 > I am sorry to be pedantic (because postfix is ;-) but do you really = mean any domain? I receive mail for a handful of domains? How will it = be used? E.g. I don't want email replying from one domain for another. >=20 > As I mention, I current have this as "local" which has seemed to work = fine, since I guess it is a (local) domain from which the server = receives email for. Can I leave this as that? >=20 >> 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. >=20 > By public host name I guess you mean FQDN? >=20 > I have set this as the public host name of the server (which is the MX = record) mail.mydomain.com but then I seem to remember emails replying = with addresses like name-i4yH9JU3wRtWVPTZF4YnfwC/[email protected], which didn't look very good. >=20 > I currently have this as "mydomain.com" and it seems to work ok = (maybe). Can I leave this as that? Sorry, again just trying to be = clear. >=20 >=20 >> 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. >=20 > I have that thanks. >=20 > Finally, if you don't mind me asking another question, in Mail Server = > Advanced > Hosting, there are another two setting as well that are not = very clear: >=20 > 1. Include server's domain as local host alias > Checked on. >=20 > What does that actually mean? I can't parse that sentence (fragment)? >=20 > I currently have all sorts of things in here, e.g. mail.mydomain1.com, = mydomain1.com, <public host name>, mail.mydomain2.com, mydomain2.com ... >=20 > 2. Enable virtual hosting > Checked on. >=20 > What does this actually do? =20 >=20 > Until today I think I had that on but with out any entries, and I = thought I was hosting virtual domains just fine. It has all worked = fine. =20 >=20 > Today I added mydomain1.com just to see if it would fix things. >=20 > Do I need this? What does it do?=20 >=20 > Sorry for all the questions, and thanks again for your assistance. >=20 > Cheers, > Ashley. If you are hosting multiple domains, you'll need to use Virtual Hosting. = To get email separated into various domains takes some work with the = Postfix configuration files. The GUI setup is too simplistic to handle more than two domains very = efficiently. But it can be done. You add the Domain to the Virtual Hosting section. Then in Workgroup = Manager you add another username to whichever users use that domain in = the form [email protected] I'd also suggest read some of Postfix Virtual Hosting documentation. Best, Tim Roberts=