diff --git a/handlers/maildir.in b/handlers/maildir.in
index 912c0e68daf8d7931e903c398e57689d616155fc..64ac987ff98f5f726b45d1bc9dc7a7a96b5f3cb5 100644
--- a/handlers/maildir.in
+++ b/handlers/maildir.in
@@ -85,9 +85,6 @@ if [ $test ]; then
    testflags="--dry-run -v"
 fi
 
-rsyncflags="$testflags -e 'ssh -p $destport -i $destid_file $sshoptions' -r -v --ignore-existing --delete --size-only --bwlimit=$speedlimit"
-excludes="--exclude '.Trash/\*' --exclude '.Mistakes/\*' --exclude '.Spam/\*'"
-
 ##################################################################
 ### FUNCTIONS