Skip site navigation (1)Skip section navigation (2)
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
Message-ID:  <Mutt.19961126101529.jc@irbs.com>
In-Reply-To: <199611251943.MAA23037@phaeton.artisoft.com>; from Terry Lambert on Nov 25, 1996 12:43:48 -0700
References:  <199611242323.RAA06615@bonkers.taronga.com> <199611251943.MAA23037@phaeton.artisoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Mutt.19961126101529.jc>