diff --git a/mail-server/common.nix b/mail-server/common.nix index 4e301c5..813a5f4 100644 --- a/mail-server/common.nix +++ b/mail-server/common.nix @@ -62,7 +62,7 @@ in cat ${file} > ${destination} echo -n '${prefix}' >> ${destination} - cat ${passwordFile} >> ${destination} + cat ${passwordFile} | tr -d '\n' >> ${destination} echo -n '${suffix}' >> ${destination} chmod 600 ${destination} '';