diff --git a/files/clawsmail/addclawsuser.sh b/files/clawsmail/addclawsuser.sh index add7d64..eb57c71 100755 --- a/files/clawsmail/addclawsuser.sh +++ b/files/clawsmail/addclawsuser.sh @@ -30,7 +30,7 @@ fi cat claws-mail/folderlist.xml > /tmp/folderlist.xml sed -i -e "s/\$name/$name/" /tmp/folderlist.xml -sed -i -e "s/\$domainname/kaz\.bzh/" /tmp/folderlist.xml +sed -i -e "s/\$domainname/$domainname/" /tmp/folderlist.xml sed -i -e "s/\$number/$number/" /tmp/folderlist.xml sed -i -e "s/<\/folderlist>//" ~/.claws-mail/folderlist.xml cat /tmp/folderlist.xml >> ~/.claws-mail/folderlist.xml