From owner-freebsd-questions@FreeBSD.ORG Tue Sep 30 10:01:06 2003 Return-Path: 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 292F016A4B3 for ; Tue, 30 Sep 2003 10:01:06 -0700 (PDT) Received: from priv-edtnes56.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0D5C43FFB for ; Tue, 30 Sep 2003 10:01:04 -0700 (PDT) (envelope-from cpressey@catseye.mine.nu) Received: from catseye.biscuit.boo ([154.5.84.203]) by priv-edtnes56.telusplanet.netSMTP <20030930170104.AET25828.priv-edtnes56.telusplanet.net@catseye.biscuit.boo>; Tue, 30 Sep 2003 11:01:04 -0600 Date: Tue, 30 Sep 2003 10:03:33 -0700 From: Chris Pressey To: Gary Message-Id: <20030930100333.6361a0ed.cpressey@catseye.mine.nu> In-Reply-To: <20030930162932.17273.qmail@letric.mygirlfriday.info> References: <20030930150817.6422.qmail@web10002.mail.yahoo.com> <1950000.1064935241@[192.168.0.5]> <20030930090222.72211682.cpressey@catseye.mine.nu> <20030930162932.17273.qmail@letric.mygirlfriday.info> Organization: Cat's Eye Technologies X-Mailer: Sylpheed version 0.9.6 (GTK+ 1.2.10; i386-portbld-freebsd4.9) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: Changing from POP3 server to IMAP server X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 30 Sep 2003 17:01:06 -0000 On Tue, 30 Sep 2003 11:29:32 -0500 Gary wrote: > On Tue, Sep 30, 2003 at 09:02:22AM -0700 or thereabouts, Chris Pressey > wrote: > > ...except for some FreeBSD-specific info :) > > > > Here are some tips: > > > > 1) FreeBSD uses a "MTA wrapper" which makes your mailer *look* like > > sendmail, regardless of what your mailer actually is. This wrapper > > is located at /etc/mail/mailer.conf. Mine looks like: > > > > sendmail /var/qmail/bin/sendmail > > send-mail /var/qmail/bin/sendmail > > mailq /var/qmail/bin/qmail-qread > > newaliases /var/qmail/bin/newaliases > > Since qmail has a sendmail wrapper to begin with, as noted above, and > it is put in as a replacement (marking the original to sendmail.old), > in/usr/lib/sendmail, and /usr/sbin/sendmail why would you need the > above in mailer.conf? You don't strictly need it, of course, but I find that FreeBSD's MTA wrapper is easier to use - it wasn't written just for qmail, and it doesn't involve directly messing with the sendmail executable. > > This makes setting up non-sendmail mailers quite a bit easier. IIRC > > the PORT_NOTES file in the qmail port has more information about > > this. > > Any non-sendmail mailer, I am assuming you mean those which require > the input of an actual SMTP source, can of course be set for SMTP as > localhost, 127.0.0.1, or the actual LAN IP address. Er - you mean running two different MTA's on different interfaces on the same machine? Sure, I guess you could do that, if you wanted... but I'm just referring to how FreeBSD's MTA wrapper lets you switch between sendmail, qmail, and any other sendmail-compatible MTA (say, Postfix) without too much effort. > BTW, the actual example script given on lifewithqmail.org for > creating groups and users for qmail, is for FreeBSD. Good to know. -Chris