Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 17957

Summary: New ebuild: mini-qmail-0.52.ebuild
Product: Gentoo Linux Reporter: Dave Love <dlove>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED WONTFIX    
Severity: enhancement Keywords: EBUILD
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: mini-qmail-0.52.ebuild
mini-qmail/files/0.52/99mini-qmail
mini-qmail/files/errno.patch

Description Dave Love 2003-03-21 16:08:33 UTC
This ebuild provides a mini-qmail installation.  This provides a virtual/mta for
clients which forward all mail to a centralized qmail server for processing. 
This differs from the ssmtp package in that it uses qmail's QMQP protocol rather
than smtp.

See http://cr.yp.to/qmail/mini.html for more information.
Comment 1 Dave Love 2003-03-21 16:10:02 UTC
Created attachment 9675 [details]
mini-qmail-0.52.ebuild

ebuild for mini-qmail
Comment 2 Dave Love 2003-03-21 16:10:57 UTC
Created attachment 9676 [details]
mini-qmail/files/0.52/99mini-qmail

env.d file which protects (CONFIG_PROTECT) /var/mini-qmail/control
Comment 3 Dave Love 2003-03-21 16:11:56 UTC
Created attachment 9677 [details]
mini-qmail/files/errno.patch

patch to fix errno problems with qmail and the latest glibc
Comment 4 Dave Love 2003-03-22 10:20:55 UTC
One thing I forgot.  Unlike qmail, mini-qmail doesn't require any new passwd or group entries (qmaild, qmails, qmaill, etc.).  No daemons are run and no setuid executables are required for mini-qmail, so all the qmail password entries are unnecessary.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-04 21:52:41 UTC
Ok, I played with this, and dug around at it.

I then recalled seeing a better implementation of the idea and dug it up, and added that to portage instead.
It is 'nullmailer' by Bruce Guenter.

I strongly recommend that you look at that instead.

(I'm now using nullmailer instead of ssmtp on 12 production servers, with no problems at all.)
Comment 6 Dave Love 2003-08-05 06:15:50 UTC
Looks like a great solution!

I'm installing it now, but it certainly looks much, much cleaner than the mini-qmail hack.

Thanks!