From owner-freebsd-questions Thu Jan 2 9: 9:10 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 C305837B401 for ; Thu, 2 Jan 2003 09:09:08 -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 458EA43EDC for ; Thu, 2 Jan 2003 09:09:08 -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 18U8q6-000GlD-00 for questions@freebsd.org; Thu, 02 Jan 2003 09:09:02 -0800 Date: Thu, 2 Jan 2003 09:09:02 -0800 From: Nathan Kinkade To: questions@freebsd.org Subject: Re: Procmail and Exim - Freebsd Message-ID: <20030102170902.GF5327@sub21-156.member.dsl-only.net> Reply-To: nkinkade@dsl-only.net Mail-Followup-To: Nathan Kinkade , questions@freebsd.org References: <20030102161006.M177@eldar.hayholt.org> <1041521947.14301.6.camel@pan.ehsbrann.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1041521947.14301.6.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 03:39:07PM +0000, Ian Watkinson wrote: > Trying to get Fetmail - Procmail - Exim working. > > >From the Exim site for Version 4, it suggests > > # transport > procmail_pipe: > driver = pipe > command = /usr/local/bin/procmail -d $local_part > return_path_add > delivery_date_add > envelope_to_add > check_string = "From " > escape_string = ">From " > user = $local_part > group = mail > > # router > procmail: > driver = accept > check_local_user > transport = procmail_pipe > > > 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" > > Line 228 of the config file is the > driver = accept > line. > > Anyone got exim and procmail working together, > and would care to share that part of the file with the > list. > > Thanks in advance. > > 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message