home · contact · privacy
Fix.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 22 Jun 2020 20:33:21 +0000 (22:33 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 22 Jun 2020 20:33:21 +0000 (22:33 +0200)
buster/setup_scripts/setup_mail.sh

index dd8f80f8e63e3f60d03b3e39a76617cd90f05102..cccd1855bd401746bb9ce62d64916904fc5ac8da 100755 (executable)
@@ -78,8 +78,8 @@ if [ "${old_server}" != "" ]; then
   su -lc "scp plom@${old_server}:.fetchmailrc ~" plom
   su -lc "scp plom@${old_server}:.pingmailrc ~" plom
   su -lc "ssh -t plom@${old_server} \"su -lc 'service postfix stop'\"" plom
-  #su -lc "ssh plom@${old_server} \"su -lc 'service fetchmail_old_account stop'\"" plom
-  su -lc "ssh -t plom@${old_server} \"su -lc 'service fetchmail stop'\"" plom
+  su -lc "ssh plom@${old_server} \"su -lc 'service fetchmail_old_account stop'\"" plom
+  #su -lc "ssh -t plom@${old_server} \"su -lc 'service fetchmail stop'\"" plom
   cp "${config_tree_prefix}/setup_scripts/mirror_dir.sh" /home/plom/
   su -lc "./mirror_dir.sh ${old_server} /home/plom/mail" plom
   rm /home/plom/mirror_dir.sh