You're right for $1 and $2 variables usage, but my problem was another: the script was not executed in anyway (the logfile was always empty).I'm assuming your maildirs are not getting auto created? I think your dirmaker script may need a bit of adjusting. Try this:
#!/bin/sh mkdir -m 700 -p $1 /var/qmail/bin/maildirmake $1/Maildir
With "mkdir -m 700 -p $1 $2" you are trying to create two separate dirs, the /var/spool/... dir and ./Maildir/. This is what happened to me when I used your dirmaker script.
On Wed, 2004-03-10 at 02:03, Marco Borrini wrote:
I re-compiled qmail with no autodir creation and then with autodir creation on. Now my system seems to works well...
