"Jesse Guardiani" <[EMAIL PROTECTED]> writes:

> Or would it be better to create a more flexible
> switch/config-file-variable that allows the admin to set the
> 'DATADIR' variable via a command line string, such as:
> 
> --set-DATADIR=/usr/local/vpopmail/domains/$DOMAIN/$USERNAME/.tmda

It turns out, after looking at tmda-ofmipd a bit more, that there is
something very similar to this already in place.  Look at the -c or
--configdir option in the help.

This allows you to specify a base directory to which is appended the
authenticated username and '/config'.  So if you specify
'-c /home/vpopmail', tmda-ofmipd will look for a config file named
'/home/vpopmail/<username>/config'.

This still doesn't help with virtual domains of the vpopmail
single-user sort, since there's the additional variable of the $DOMAIN
directory.  But we could probably expand on this already-existing
option.  I'll ponder how to make all this work a bit and get back on
tmda-workers.


Tim
_____________________________________________
tmda-users mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to