From owner-freebsd-hackers Tue Nov 26 07:17:08 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA07564 for hackers-outgoing; Tue, 26 Nov 1996 07:17:08 -0800 (PST) Received: from irbs.irbs.com (jc@irbs.irbs.com [199.182.75.129]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA07557 for ; Tue, 26 Nov 1996 07:17:03 -0800 (PST) Received: (from jc@localhost) by irbs.irbs.com (8.8.3/8.8.3) id KAA13097; Tue, 26 Nov 1996 10:15:30 -0500 (EST) Message-ID: Date: Tue, 26 Nov 1996 10:15:29 -0500 From: jc@irbs.com (John Capo) To: terry@lambert.org (Terry Lambert) Cc: jkh@time.cdrom.com, peter@taronga.com, hackers@freebsd.org Subject: Re: Replacing sendmail (Re: non-root users binding to ports < 1024 (was: Re: BoS: Exploit for sendmail smtpd bug (ver. 8.7-8.8.2 References: <199611242323.RAA06615@bonkers.taronga.com> <199611251943.MAA23037@phaeton.artisoft.com> X-Mailer: Mutt 0.51 Mime-Version: 1.0 X-Organization: IRBS Engineering, (954) 792-9551 In-Reply-To: <199611251943.MAA23037@phaeton.artisoft.com>; from Terry Lambert on Nov 25, 1996 12:43:48 -0700 Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Quoting Terry Lambert (terry@lambert.org): > [ ... qmail vs. sendmail ... ] > > > You ever tried to explain to someone how to set up a virtual domain > > in sendmail? > > I know how to set up a virtual domain in sendmail. How do you do it > in qmail? > Add the domain to ~qmaild/controls/virtualdomains, "virtual.com:user". Create ~user/.qmail-user that contains a delivery recipe. Kill qmail-send and wait for any existing outgoing SMTP sessions to timeout or complete, may take a while. Start qmail-send. I didn't find a way to map an entire domain to another domain. The virtual domain mechanism requires .qmail-something files in the users home directories. Mail addressed to user@virtual.com is translated to user-virtual@RealDomain.com. Qmail looks for ~user/.qmail-virtual and uses that as a startup file. The .qmail-virtual file contains a delivery recipe of some sort. The .qmail-* scheme is powerfull. Users can run mailing lists with no assistance from the system administrator. Mail to user-biglist is delivered based on the contents of ~user/.qmail-biglist. :-( I set up qmail a few weeks ago and ran it for a day. I had it running in an hour. All of the above is from memory. I am not a qmail expert. John Capo