From owner-freebsd-questions Thu Jan 2 10:54:52 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6B02837B401 for ; Thu, 2 Jan 2003 10:54:50 -0800 (PST) Received: from sub21-156.member.dsl-only.net (sub21-156.member.dsl-only.net [63.105.21.156]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7C8F43EC5 for ; Thu, 2 Jan 2003 10:54:49 -0800 (PST) (envelope-from nkinkade@sub21-156.member.dsl-only.net) Received: from nkinkade by sub21-156.member.dsl-only.net with local (Exim 4.10) id 18UAUT-000Gpk-00 for questions@freebsd.org; Thu, 02 Jan 2003 10:54:49 -0800 Date: Thu, 2 Jan 2003 10:54:49 -0800 From: Nathan Kinkade To: questions@freebsd.org Subject: Re: Procmail and Exim - Freebsd Message-ID: <20030102185449.GH5327@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: Nathan Kinkade , questions@freebsd.org References: <20030102170902.GF5327@sub21-156.member.dsl-only.net> <1041531501.317.2.camel@pan.ehsbrann.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1041531501.317.2.camel@pan.ehsbrann.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, Jan 02, 2003 at 06:18:21PM +0000, Ian Watkinson wrote: > On Thu, 2003-01-02 at 17:09, Nathan Kinkade wrote: > > On Thu, Jan 02, 2003 at 03:39:07PM +0000, Ian Watkinson wrote: > > > Trying to get Fetmail - Procmail - Exim working. > > > In the exim config file, however, when I start Exim, I get > > > > > > exim > > > 2003-01-02 15:35:27 Exim configuration error in line 228: > > > transport procmail: cannot find transport driver "accept" > > > > > > Ian > > > > Are you sure that sure that each of your "transport" and "route" > > declarations are in the correct sections of the config file? Make sure > > that your router configuration ONLY comes after the the line > > "begin routers" and that your transport config only comes after the line > > "begin transports". The config file is not randomly parsed. There are > > definite discrete sections that need to be observed. It looks as if you > > have put your router definition in the transport section. > > > > Nathan > > Hallelujah! Nathan said let there be light, and a bulb appeared above Ian's head! > > That looks to be it, looking at the exim docs again, it's not clear anywhere that it needs to > be inserted in certain sections. > > Thanks very much for that. > > Any idea if these replace any of the normal router/transports, or are pure additions? > > > > Ian Watkinson > > EHS Brann > > Systems Administrator You should be able to concoct your own routes/transports. From what I understand, when going through the "router" section, Exim will use the first route if finds that matches the given address - and I think it will skip the rest and immediately go to the specified transport. So, depending on the rules of your route, it may or may not replace an other given routes. The order of the routes matters, the order of transports does not. This is made clear in the config file itself. The docs at Exims site are rather outstanding, in my opinion. Good luck! Nathan Nathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message