Alex Borges wrote:

Mhm... you guys take too long:
#!/bin/bash
CWDmine=$(pwd)
cd "/home/vpopmail/domains/$1"
It would be better to use cd `vdominfo -d $1` in case of hashed domains.

ls .qmail-* |egrep "^.qmail-[^-]*$" |sed -r -e 's/^.qmail-(.*)$/\1/g'
cd "$CWDmine"

Reply via email to