Federico Edelman Anaya wanted us to know:

>I had created /var/qmail/control/dirmaker:

Run /var/qmail/bin/qmail-showctl to make sure that it sees the
/var/qmail/control/dirmaker file where you ...

wait a minute ...

The /var/qmail/control/dirmaker file should have one line in it.  For
example:
/var/qmail/bin/custom_mkdir

Then you have a file /var/qmail/bin/custom_mkdir that contains the
following:

>-----------------------------
>#!/bin/sh
>/bin/mkdir -m 700 -p $1
>#EOF
>-----------------------------

I also add:
logger "User dir $1 created"
into that custom dirmaker script.  Depending on the traffic you're
expecting that may or may not be a good idea (and I can't recall if
Solaris has logger anyway).
-- 
Blue skies...           Todd
| Get a bigger hammer!   |  Are you feeling lucky...punk?         |
| http://www.mrball.net  |  I've had better days...               |
| http://faq.mrball.net  |  It's the end of the world as we know i|

Reply via email to