Skip to content

Commit

Permalink
cmd/maddyctl: Fix use of "*" to list all messages
Browse files Browse the repository at this point in the history
Using "*" comes from times when go-imap-sql mishandled it as 1:*
  • Loading branch information
foxcpp committed Jul 24, 2020
1 parent fb2b3a5 commit b2b38bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/maddyctl/imap.go
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ func msgsList(be module.Storage, ctx *cli.Context) error {
}
seqset := ctx.Args().Get(2)
if seqset == "" {
seqset = "*"
seqset = "1:*"
}

seq, err := imap.ParseSeqSet(seqset)
Expand Down

0 comments on commit b2b38bf

Please sign in to comment.