From owner-freebsd-ports Tue Feb 22 19:30: 6 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E560037B830 for ; Tue, 22 Feb 2000 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA48749; Tue, 22 Feb 2000 19:30:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from breton.uol.com.br (breton.uol.com.br [200.230.198.74]) by hub.freebsd.org (Postfix) with ESMTP id B9F3337B7C2 for ; Tue, 22 Feb 2000 19:28:49 -0800 (PST) (envelope-from lioux-alias-ppp-FreeBSD-gnats-submit=freebsd.org@uol.com.br) Received: from 200.197.112.65 (bsa-1-as01-7-a04.gd.uol.com.br [200.197.118.4]) by breton.uol.com.br (8.9.1/8.9.1) with ESMTP id BAA24054 for ; Wed, 23 Feb 2000 01:25:24 -0200 (BRST) Received: (qmail 73631 invoked by uid 1001); 23 Feb 2000 04:27:35 -0000 Message-Id: <20000223042735.73630.qmail@Fedaykin.here> Date: 23 Feb 2000 04:27:35 -0000 From: lioux@uol.com.br Reply-To: lioux@linf.unb.br To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/16921: UPDATE mail/qmail Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 16921 >Category: ports >Synopsis: UPDATE mail/qmail >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 22 19:30:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Mario Sergio Fujikawa Ferreira >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: FreeBSD Here.here 4.0-CURRENT FreeBSD 4.0-CURRENT #2: Tue Feb 22 05:00:50 ES T 2000 root@Here.here:/usr/current/src/sys/compile/LIOUX i386 >Description: I added a document PORT_NOTES_FreeBSD_40-RELEASE with instructions on how to use mailwrapper to ease the replacement of sendmail. Besides, I updated the MASTER_SITES directive. + File added files/PORT_NOTES_FreeBSD_40-RELEASE >How-To-Repeat: Not applicable >Fix: diff -ruN /usr/ports/mail/qmail/Makefile ./Makefile --- /usr/ports/mail/qmail/Makefile Fri Jan 28 23:32:01 2000 +++ ./Makefile Wed Feb 23 01:19:17 2000 @@ -1,22 +1,22 @@ # New ports collection makefile for: qmail # Version required: 1.03 # Date created: 25 May 1998 -# Whom: Mario S F Ferreira et al. +# Whom: Mario S F Ferreira et al. # # $FreeBSD: ports/mail/qmail/Makefile,v 1.13 2000/01/28 00:34:08 jedgar Exp $ # DISTNAME= qmail-1.03 CATEGORIES= mail -MASTER_SITES= ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \ +MASTER_SITES= http://cr.yp.to/software/ \ ftp://ftp.ntnu.no/pub/unix/mail/qmail/ \ + ftp://ftp.pipex.net/mirrors/qmail/ \ + ftp://ftp.jp.qmail.org/qmail/ \ + ftp://ftp.rifkin.technion.ac.il/pub/qmail/ \ ftp://ftp.mira.net.au/unix/mail/qmail/ \ + ftp://ftp.net.ohio-state.edu/pub/networking/mail/qmail/ \ ftp://ftp.id.wustl.edu/pub/qmail/ \ - ftp://mirror.uk.uu.net/pub/qmail/ \ - ftp://ftp.jp.qmail.org/qmail/ \ - http://ftp.rifkin.technion.ac.il/pub/qmail/ \ - http://koobera.math.uic.edu/www/software/ \ - http://pobox.com/~djb/software/ + ftp://koobera.math.uic.edu/www/ # Patch necessary to cope with non-RFC >512 dns entries # Since AOL has been using those, the problem has skyrocketed from minor to @@ -53,7 +53,8 @@ DOCFILES= ${WRKSRC}/BLURB ${WRKSRC}/BLURB2 ${WRKSRC}/BLURB3 \ ${WRKSRC}/BLURB4 ${WRKSRC}/INTERNALS ${WRKSRC}/SECURITY \ - ${WRKSRC}/THOUGHTS ${FILESDIR}/PORT_NOTES + ${WRKSRC}/THOUGHTS ${FILESDIR}/PORT_NOTES \ + ${FILESDIR}/PORT_NOTES_FreeBSD_40-RELEASE # The following docfiles are normally installed with qmail-hier DOCFILES+= ${WRKSRC}/FAQ ${WRKSRC}/UPGRADE ${WRKSRC}/SENDMAIL \ @@ -78,7 +79,8 @@ BOOTFILES+= ${FILESDIR}/maildir CONFIGUREFILES= ${WRKSRC}/install ${WRKSRC}/dnsfq ${WRKSRC}/hostname \ - ${WRKSRC}/dnsip ${WRKSRC}/ipmeprint ${WRKSRC}/dnsptr + ${WRKSRC}/dnsip ${WRKSRC}/ipmeprint ${WRKSRC}/dnsptr \ + ${WRKSRC}/config-fast .if (${PREFIX} == "/usr/local") DOCDIR= share/doc/qmail diff -ruN /usr/ports/mail/qmail/files/PORT_NOTES ./files/PORT_NOTES --- /usr/ports/mail/qmail/files/PORT_NOTES Sat Jul 18 16:59:55 1998 +++ ./files/PORT_NOTES Wed Feb 23 01:20:18 2000 @@ -79,6 +79,9 @@ Instead, change the sendmail_enable line in /etc/rc.conf to read sendmail_enable="NO" + + If you are running a FreeBSD 4.0-RELEASE or later, read + PORT_NOTES_FreeBSD_40-RELEASE before executing step 12. ] 13. Read REMOVE.binmail. diff -ruN /usr/ports/mail/qmail/files/PORT_NOTES_FreeBSD_40-RELEASE ./files/PORT_NOTES_FreeBSD_40-RELEASE --- /usr/ports/mail/qmail/files/PORT_NOTES_FreeBSD_40-RELEASE Wed Dec 31 21:00:00 1969 +++ ./files/PORT_NOTES_FreeBSD_40-RELEASE Tue Feb 22 23:07:06 2000 @@ -0,0 +1,56 @@ +In addition to PORT_NOTES_FreeBSD_40-RELEASE, there are many +other potentially important qmail documents there such as PORT_NOTES +and INSTALL. + +As with all ports, the ports maintainer (me!) makes NO WARRANTIES of +any kind: expressed, implied, or other; about the reliability or +security of this package. Any damage or problems derived from its +usage or related to it are neither my responsibility nor the software +author's. This package is provided AS IS. + +Although I am probably sounding cold and harsh, believe me: qmail is +one of the most reliable and easy-to-use softwares around. However, +this also is NOT a WARRANTY. It is just an opinion. :) + +The qmail port will normally install into /var/qmail/. If you changed +this to /usr/local/, then please note that the docs have been +installed into /usr/local/share/doc/qmail/ (as opposed to +/usr/local/doc/). + +## +### Document starts here +## + +If you read PORT_NOTES, you may have noticed I mentioned step 12 should +be changed for FreeBSD versions 4.0-Release and later. + +FreeBSD 4.0-Release and later come with a program named mailwrapper (8) +which eases the replacement of sendmail. No binaries need to be touched, +"chmod"ed, erased, deleted or, otherwise, modified. + +Whenever you call /usr/sbin/sendmail, /usr/bin/mail, or /usr/bin/newaliases; +in fact, you are calling a symbolic link to mailwrapper. Mailwrapper +then calls the appropriate binary according to its configuration file. + +An excerpt from the mailwrapper manual: + +"The mailwrapper program is designed to replace /usr/sbin/sendmail and to + invoke an appropriate MTA instead of sendmail(8) based on configuration + information placed in /etc/mail/mailer.conf. This permits the administra- + tor to configure which MTA is to be invoked on the system at run time." + +Configuration for mailwrapper is kept in /etc/mail/mailer.conf. + +Here follows my personal /etc/mail/mailer.conf + +sendmail /var/qmail/bin/sendmail +send-mail /var/qmail/bin/sendmail +mailq /var/qmail/bin/qmail-qstat +newaliases /var/qmail/bin/newaliases + +So, whenever you call sendmail, in fact, you are using the appropriate +"qmail-clones". + +You should notice, though, that the programs do not behave exactly as +their sendmail counterparts. Therefore, reading the appropriate +/var/qmail/doc files and man pages is highly advisable. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message