#!/bin/sh -efu
-test "$(id -n -u)" = php5_roundcube
+test "$(id -n -u)" = php_roundcube
IFS=: read -r user password
IFS=@ read -r user domain <<-EOF
$user
EOF
-test "${user:+set"}"
-test "${domain:+set"}"
-test "${password:+set"}"
+test "${user:+set}"
+test "${domain:+set}"
+test "${password:+set}"
umask 0077
dir_passwd=/etc/dovecot/"$domain"