From owner-freebsd-ports@FreeBSD.ORG Thu Dec 13 16:46:23 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from sup-afu.wrk.terra.com.br (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id 7244316A417; Thu, 13 Dec 2007 16:46:22 +0000 (UTC) (envelope-from mnag@FreeBSD.org) Message-ID: <476161DD.6070303@FreeBSD.org> Date: Thu, 13 Dec 2007 14:46:21 -0200 From: Marcus Alves Grando Organization: FreeBSD.org User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: jekillen References: <2cbc5d8d7f9f7b5f0c8ee35cff89a189@prodigy.net> In-Reply-To: <2cbc5d8d7f9f7b5f0c8ee35cff89a189@prodigy.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ports Subject: Re: rebuilding Postfix to ad MySQL support X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2007 16:46:23 -0000 jekillen wrote: > Hello; > Can I get some advice: > I have Postfix installed from package at system install. > I am trying to set up Cyrus Imap and Cyradm. These > have specified use of mysql for database types. After > carefully crafting the configuration files for Postfix, I > am informed tha Postfix does not support MySQL tables > as it stands. I have received instruction from Postfix list > about how to add the support: > > $ make -f Makefile.init makefiles \ > 'CCARGS=-DHAS_MYSQL -I/usr/local/include/mysql' \ > 'AUXLIBS=-L/usr/local/lib/mysql -lmysqlclient -lz -lm' > > Wietsed > > I assume this is done in the Postfix port dir (and, impatiently, > I am wondering if this is the correct syntax for csh). > My question is: > should I de-install the existing Postfix package first? > I have laboriously crafted main.cf and the various > database files. I could copy them somewhere else > and re instate them. But why if the existing configuration > files won't be bothered. > Please forgive my novice* user level. I am learning as I go > along. I am a hobbyist at this stage. Perhaps tomorrow, > who knows? > * I am a little beyond 'newby' but not by much. > Thank you in advance > Jeff K Jeff, You need select MYSQL option in "make config" in postfix port. cd /usr/ports/mail/postfix make config <- Select MYSQL option in menu make all deinstall install clean DONE Now you can use postfix with mysql support. Regards > > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" -- Marcus Alves Grando marcus(at)sbh.eng.br | Personal mnag(at)FreeBSD.org | FreeBSD.org