From owner-freebsd-ports@FreeBSD.ORG Thu Dec 6 01:04:53 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D93A16A417 for ; Thu, 6 Dec 2007 01:04:53 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: from smtp123.sbc.mail.sp1.yahoo.com (smtp123.sbc.mail.sp1.yahoo.com [69.147.64.96]) by mx1.freebsd.org (Postfix) with SMTP id 41C8113C45A for ; Thu, 6 Dec 2007 01:04:53 +0000 (UTC) (envelope-from jekillen@prodigy.net) Received: (qmail 47516 invoked from network); 6 Dec 2007 01:04:52 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=prodigy.net; h=Received:X-YMail-OSG:Mime-Version:Content-Transfer-Encoding:Message-Id:Content-Type:To:From:Subject:Date:X-Mailer; b=NPxNLX4Y/EoqNGZ8DO8zkchqzGZtjuDYV0qvwfV4LZXRHsx8sCsgmt7J2s61RcQpxsbgBvkm4XZQGirjFsg2UYSum9K/S7+7TDVcyJvNZ12KuQRBBi4v5aOhSsCxtNqrDxQRVElEjDb2Q7pc09OGwkkz9kVNUflQD300s4tx8vA= ; Received: from unknown (HELO ?75.7.236.228?) (jekillen@prodigy.net@75.7.236.228 with plain) by smtp123.sbc.mail.sp1.yahoo.com with SMTP; 6 Dec 2007 01:04:52 -0000 X-YMail-OSG: YAu3VcIVM1n6eMdAp.R1g9Pzr_DntlKtPZbwuA.1521euRTYd82TtybCtiDo61LO5I2DiDlb.k_k__liFBKHj5icTgeo74R1OjddfWSs6ehe5SHOOQ-- Mime-Version: 1.0 (Apple Message framework v622) Content-Transfer-Encoding: 7bit Message-Id: <2cbc5d8d7f9f7b5f0c8ee35cff89a189@prodigy.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-ports From: jekillen Date: Wed, 5 Dec 2007 17:06:04 -0800 X-Mailer: Apple Mail (2.622) Subject: 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, 06 Dec 2007 01:04:53 -0000 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