On Thu, 30 Dec 2004, Eric Ziegast wrote:
Instead of assuming that a user's Maildir is in the directory "cd /home/vpopmail/domains/$DOMAIN/$USER/Maildir", Vpopmail administrators typically use "cd `vuserinfo -d [EMAIL PROTECTED]", or even safer, "cd `vuserdir [EMAIL PROTECTED]".
I have something like this in my .bashrc file:
cdd () { cd `vdominfo -d "$@"`; } cdu () { cd `vuserinfo -d "$@"`/Maildir; } vdd () { vdominfo "$@"; } vdu () { vuserinfo "$@"; } lsd () { ls -al `vdominfo -d "$@"`; } lsu () { ls -al `vuserinfo -d "$@"`; }
Works well and cuts down on typing...
Charles
-- Eric Ziegast [EMAIL PROTECTED]
(*) Back in the 80's someone said, "No one will ever need more than 640 kilobytes of memory".