Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 569449FB325 for ; Tue, 16 Oct 2007 12:31:50 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 03327-09 for ; Tue, 16 Oct 2007 12:31:34 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.5 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 425229FB48B for ; Tue, 16 Oct 2007 12:31:34 -0300 (ADT) Received: by svr2.hagander.net (Postfix, from userid 1000) id 9CC89DCC937; Tue, 16 Oct 2007 17:31:33 +0200 (CEST) Date: Tue, 16 Oct 2007 17:31:33 +0200 From: Magnus Hagander To: Andrew Sullivan Cc: pgsql-www@postgresql.org Subject: Re: Mail setup broken (still/again?) Message-ID: <20071016153133.GK22159@svr2.hagander.net> References: <20071016085209.GD22159@svr2.hagander.net> <20071016140750.GF3255@crankycanuck.ca> <20071016150248.GJ22159@svr2.hagander.net> <20071016152246.GM3255@crankycanuck.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20071016152246.GM3255@crankycanuck.ca> User-Agent: Mutt/1.5.11 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200710/105 X-Sequence-Number: 12692 On Tue, Oct 16, 2007 at 11:22:46AM -0400, Andrew Sullivan wrote: > On Tue, Oct 16, 2007 at 05:02:48PM +0200, Magnus Hagander wrote: > > > > Sure, but does it help us in any way at all? Why do we care where the mail > > is queued up, reall? > > We can't control the policies on all those servers, and some of them > may not queue as long as we like. Also, it's polite to have more > than one mail server, and not force others to queue mail when you > have an outage. This is part of the reason one has more than one MX > possible, after all. > > > If we reject it on the secondary MX, we'll be creating a whole bunch of > > bounces for invalid addresses that spammers sent to. If our secondary MX > > can just drop them, that never happens since they get a reject at the SMTP > > protocol level. > > You mustn't _ever_ "just drop them". Yes, I know people are doing > that instead of bouncing, but it's wrong, bad, evil, and completely > in contradiction of the totally plain MUSTs in the relevant RFCs. I meant reject, not drop. But it's better for us to reject them at the SMTP level than it is to generate our own bounce. > I think you meant refuse, though, which is a different matter. It's > not actually hard to rsync the user map among the various servers > using postfix (I do it myself), so that seems to me to be an > alternative, yes. And that can be done with multiple user lists. As do I, so yeah, it's fairly simple. But if you have to interface with an external system (in this case, hub.org) that makes things a lot more complex quickly. > There is another thing we could do, BTW, to try to reduce the > spam-induced bounces, and still have multiple servers in place. What > you do is add an MX with priority 0 that always gives a soft error. > Most spambots won't try the next MX, so your "real" MX (with, say, > priority 1) doesn't get the spam attempt. Hmm. Interesting idea :) But I'm not sure how big of a problem that part really is. //Magnus