Skip to content
Snippets Groups Projects
Commit 435380da authored by ale's avatar ale
Browse files

Fix a typo in regexp

parent 3cf59b3d
No related branches found
No related tags found
No related merge requests found
Pipeline #53814 passed
......@@ -216,6 +216,9 @@ func dumpMessages(parser *Parser) {
fmt.Printf("Message: %s", m.ID)
if m.List != "" {
fmt.Printf(" (list=%s)", m.List)
if m.MailmanHeldReason != "" {
fmt.Printf(" - held: %s", m.MailmanHeldReason)
}
}
fmt.Printf("\n\n")
......
......@@ -261,8 +261,8 @@ var matcherSpecs = []struct {
{progDovecot, `^lmtp\(([^\)]+)\)<[0-9]+><([^>]+)>: sieve: msgid=([^:]*):(?: .*:)? stored mail into mailbox '([^']*)'`, doSieve},
{progMailman, `^(\w+) post from (\\S+) held, message-id=([^:]+): (.*)`, doMailmanHeld},
{progMailman, `^Message discarded, msgid: ([^'#]*)#012.*list: ([^,]*),#012`, doMailmanDiscarded},
{progMailman, `^(\w+) post from (\S+) held, message-id=([^:]+): (.*)`, doMailmanHeld},
{progMailman, `^Message discarded, msgid: +([^'#]+)'?#012.*list: ([^,]*),#012`, doMailmanDiscarded},
{progMailman, `^post to (.+) from ([^,]*).*, message-id=([^,]*), success`, doMailmanPost},
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment