echo "$1" > /tmp/user 
user=`cat /tmp/user | cut -f1 -d "@"` 
domain=`cat /tmp/user | cut -f2 -d "@"` 
echo "$user@$domain::5000:5000::/home/vmail/$domain/:/bin/false" >> /etc/dovecot/users 
/usr/bin/maildirmake.dovecot /home/vmail/$domain/$user 5000:5000 
echo $1 $domain/$user/ >> /etc/postfix/vmaps 
postmap /etc/postfix/vmaps 
postfix reload 
 
