From owner-freebsd-isp Mon Nov 25 1:23:41 2002 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0198737B401 for ; Mon, 25 Nov 2002 01:23:40 -0800 (PST) Received: from opium.co.za (opium.co.za [196.34.165.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4062A43ED4 for ; Mon, 25 Nov 2002 01:23:38 -0800 (PST) (envelope-from mark@opium.co.za) Received: from mark (helo=localhost) by opium.co.za with local-esmtp (Exim 3.36 #1) id 18GFSj-0001ah-00 for freebsd-isp@freebsd.org; Mon, 25 Nov 2002 11:23:29 +0200 Date: Mon, 25 Nov 2002 11:23:29 +0200 (SAST) From: Mark Bojara X-X-Sender: mark@opium.co.za To: freebsd-isp@freebsd.org Subject: exim setup Message-ID: <20021125111716.N6040-100000@opium.co.za> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Hello, I require some help on a solution with exim 4. Basically I will have 2 smtp servers.. The one is hosted onsite the other offsite.. Both SMTP servers serve mics.co.za. (MX goes to offsite server). All mail for that specific domain (domainlist stored in a mysql db.. dont worry about mysql parts). Will first be checked if it can do a local delivery. If it fails it must automatically route to a specific smtp server (if the domain is in a domainlist). Then only if that server fails it must sent the reciepient the error message. Basically a quick drawing: [incoming email] | | [check if it can deliver locally -- possibly end of delivery] | | [if not, smart route email to a single remote smtp server.. if reciepient domain is in mysql database] | | [end of delivery] Any help would be very appreciated. Thanks, Mark ---------------------------------------------------------------- Data/Spock '96 the Logical Choice! ---------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message