On Wed, Aug 13, 2003 at 04:05:41PM +0200, Matthias Blaser wrote:
> On Wednesday 13 August 2003 15:41, Brendon Colby wrote:
> > On Wed, 2003-08-13 at 08:27, Brendon Colby wrote:
> > > On Wed, 2003-08-13 at 08:18, Matthias Blaser wrote:
> > > > What is the best way to create a blackhole account in qmail-ldap?
> > >
> > > I have an account set up with nombox, dotmode of both (don't think this
> > > is necessary), and deliveryprogram of /dev/null. This works for me even
> > > though I don't really know how correct it is.
> >
> > Here's the LDIF:
> [...]
> 
> A deliveryProgramPath: /dev/null results in a permission denied error in my 
> setup, so I've replaced it with /bin/true to not alter permissions of 
> /dev/null and this seems to work as expected (as far as I understand an 
> exit code of 0 which /bin/true returns is treated as a successful 
> delivery).
> 

Jup that should work.
You can also use a .qmail file in alias (e.g. ~alias/.qmail-devnull with
one line containing just a single #).
If you want to have your devnull user in LDAP the solution with /bin/true
or exit 0 is the only I know.

-- 
:wq Claudio

Reply via email to