From owner-freebsd-ports Wed Oct 24 14:40:28 2001 Delivered-To: freebsd-ports@freebsd.org Received: from mail.courier-mta.com (mail.courier-mta.com [66.92.103.29]) by hub.freebsd.org (Postfix) with ESMTP id 04A8637B401 for ; Wed, 24 Oct 2001 14:40:24 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) (uid 502) by ny.email-scan.com with local; Wed, 24 Oct 2001 17:40:21 -0400 References: <668830000.1003930578@volyn.dppl.net> In-Reply-To: <668830000.1003930578@volyn.dppl.net> From: "Sam Varshavchik" To: Yarema Cc: courier-users@lists.sourceforge.net, ports@FreeBSD.org, Neil Blakey-Milner Subject: Re: Courier-MTA on FreeBSD Date: Wed, 24 Oct 2001 21:40:21 GMT Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-ID: Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Yarema writes: > install/deinstall/reinstall/package/pkg_delete/pkg_add all seem to work. > Optional BUILD_DEPENDS include expect, gpg, [ai]spell and procmail. The > package does not have a RUN_DEPENDS on the above since it is my > understanding that removing the above packages will not break a running > Courier system. Correct. 'expect' is only needed to allow login passwords to be changed via webmail. gpg and aspell are also needed to enable optional webmail components. Right now, without expect, the change password screen in webmail will be broken. No big deal, you can fix this later. > I'm thinking of splitting the port into master/slave ports where the slave > ports would only build/install authdaemond.{ldap,mysql,pgsql} plus related > config and support files. This would for the most part solve the above > db3 linking issue. You only need to put authdaemond.* into the corresponding subpackages. Don't bother with the config files. For extra credit, -mysql should have authdaemond.mysql, admin-15mysql.html and admin-15mysql.pl. -ldap should have authdaemond.ldap, admin-15ldap.html, admin-15ldap.pl, admin-15ldapa.html, admin-15ldapa.pl, and courierldapaliasd. -pgsql should have authdaemond.pgsql, admin-15pgsql.html, and admin-15pgsql.pl. If you can specify conflicts, specify that -mysql, -ldap, and -pgsql conflict with each other. With this packaging, webadmin will not have a MySQL config screen unless -mysql is installed, etc... This happens to be exactly how Courier RPMs are built. There are also separate -webadmin, -webmail, -maildrop, -smtpauth; and several other RPM subpackages that install various modular components of the whole system. > wouldn't resolve any DNS. Rebuilding courier --without-ipv6 solved that > problem. I only use djbdns and not BIND. So for what it's worth courier > --with-ipv6 does not work with djbdns. This is possibly for the same reason that OpenBSD IPv6 doesn't work either: some apparent issues with IPv6 header files. On some xBSD systems, accept() apparently returns a shorter sockaddr_in6 address structure than what's declared in the header files, which fails my sanity check. Apparently the header files declare some padding at the tail end of sockaddr_in6 that is not present in the address structure that comes back from accept(). I believe that this is wrong. It is reasonable to expect that accept() on an IPv6 socket will return a sockaddr_in6 structure, and not something different, with a shorter size. -- Sam To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message