Commit Diff


commit - 02d84e0f12f0e0758d1f9f5807152cce801dc4ab
commit + 75b10a97d867535b504a033da40e5b02f094b6a1
blob - ed3181a6abc0d3f7a1229a7c2cf4efe8017feb1a
blob + 5d5a9db275d3d99cbe9694f9b3c984762bdaad1a
--- Mail.pm
+++ Mail.pm
@@ -273,7 +273,7 @@ sub deletemail {
 	my @senders = main::readarray($senderspath);
 	@passwd = grep !/^${username}\@${hostname}/, @passwd;
 	@virtuals = grep !/^${username}\@${hostname}/, @virtuals;
-	@senders = grep !/^${username}\@${hostname}/, @virtuals;
+	@senders = grep !/^${username}\@${hostname}/, @senders;
 
 	# trailing newline necessary
 	`doas touch $passwdpath.bak`;