I'm building an "interesting" new system for one of my clients.

I have virtual users with Cyrus-IMAP, using SASL authentication via
Kerberos.  All of that works super well.

I need to write a short script which will return the "home" directory of the
virtual users.

The general location is:

/var/tmda/users/VIRTUALUSERNAME/

What information is passed from tmda-filter or tmda-ofmipd to a script such
as vpopmail?

I want to pass the username to a shell script and return the home directory.

The shell script is ever-so-simple:

#!/bin/sh
echo '/var/tmda/users/$1'
<<EOF

So, simply put, how do I get the username of the logged-in user in order to
return the appropriate information?

Am I going about the shell script wrong?


-- 
Mark J. Nernberg
System Administrator
Running Leopard

For technical support issues, please email [EMAIL PROTECTED]



_____________________________________________
tmda-users mailing list ([email protected])
http://tmda.net/lists/listinfo/tmda-users

Reply via email to