> 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

This won't work for many domains and/or users as vpopmail is starting at some point to 
create further subdirectories. I.e. the path can be
      /usr/local/vpopmail/domains/0/$DOMAIN/b/$USERNAME/.tmda
as well. In don't think there is another reliable way besides
      /usr/local/vpopmail/bin/vuserinfo -d <email_address>
to get the correct directory for a specific email-address/user.

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

Reply via email to