From owner-freebsd-questions@FreeBSD.ORG Thu Apr 5 17:42:39 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 3F51516A402 for ; Thu, 5 Apr 2007 17:42:39 +0000 (UTC) (envelope-from howie@thingy.com) Received: from mail.thingy.com (wotsit.thingy.com [212.21.100.67]) by mx1.freebsd.org (Postfix) with ESMTP id 9B94D13C483 for ; Thu, 5 Apr 2007 17:42:38 +0000 (UTC) (envelope-from howie@thingy.com) Received: (qmail 96378 invoked by uid 0); 5 Apr 2007 18:42:36 +0100 Received: from unknown (HELO ?192.168.1.44?) (212.21.124.49) by wotsit3.thingy.com with SMTP; 5 Apr 2007 18:42:36 +0100 Message-ID: <461534F7.4050206@thingy.com> Date: Thu, 05 Apr 2007 18:42:15 +0100 From: Howard Jones User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) MIME-Version: 1.0 To: Jonathan Horne References: <56576.192.168.125.142.1175794565.squirrel@webmail.dfwlp.org> In-Reply-To: <56576.192.168.125.142.1175794565.squirrel@webmail.dfwlp.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: [freebsd-questions] slightly OT - my freebsd email topology X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Apr 2007 17:42:39 -0000 Jonathan Horne wrote: > currently, my email server is just a single box, accepting and sending emails > from and to the internet. spamassassin and sendmail, and so far, it works > satisfactory. > > i would like to change it up, so that i have a pair of servers doing MX from the > internet, which then passes to an internal server for delivery. if i do that, i > could remove spamassassin from the internal server, and run it on just the 2 > external. all those configurations is really not my issue here... what im > really pondering is how would external servers that are seperate from where the > target mailboxes are, know which addressess are acceptable and which to return a > 550? > I did this for our backup MX using qpsmtpd and a plugin I wrote to check against an automatically updated file. qpsmtpd can deliver onwards to any SMTP server after running whatever filtering/fussiness you specify. I believe there is a milter plugin that can do onward queries before accepting mail, too, although I don't use sendmail, so I couldn't tell you the name of it...