mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
bf04fb8a1a
before, we used heuristics to decide when to train/untrain a message as junk or nonjunk: the message had to be seen, be in certain mailboxes. then if a message was marked as junk, it was junk. and otherwise it was nonjunk. this wasn't good enough: you may want to keep some messages around as neither junk or nonjunk. and that wasn't possible. ideally, we would just look at the imap $Junk and $NotJunk flags. the problem is that mail clients don't set these flags, or don't make it easy. thunderbird can set the flags based on its own bayesian filter. it has a shortcut for marking Junk and moving it to the junk folder (good), but the counterpart of notjunk only marks a message as notjunk without showing in the UI that it was marked as notjunk. there is also no "move and mark as notjunk" mechanism. e.g. "archive" does not mark a message as notjunk. ios mail and mutt don't appear to have any way to see or change the $Junk and $NotJunk flags. what email clients do have is the ability to move messages to other mailboxes/folders. so mox now has a mechanism that allows you to configure mailboxes that automatically set $Junk or $NotJunk (or clear both) when a message is moved/copied/delivered to that folder. e.g. a mailbox called junk or spam or rejects marks its messags as junk. inbox, postmaster, dmarc, tlsrpt, neutral* mark their messages as neither junk or notjunk. other folders mark their messages as notjunk. e.g. list/*, archive. this functionality is optional, but enabled with the quickstart and for new accounts. also, mox now keeps track of the previous training of a message and will only untrain/train if needed. before, there probably have been duplicate or missing (un)trainings. this also includes a new subcommand "retrain" to recreate the junkfilter for an account. you should run it after updating to this version. and you should probably also modify your account config to include the AutomaticJunkFlags.
131 lines
4.5 KiB
Text
131 lines
4.5 KiB
Text
# github.com/beorn7/perks v1.0.1
|
|
## explicit; go 1.11
|
|
github.com/beorn7/perks/quantile
|
|
# github.com/cespare/xxhash/v2 v2.1.2
|
|
## explicit; go 1.11
|
|
github.com/cespare/xxhash/v2
|
|
# github.com/golang/protobuf v1.5.2
|
|
## explicit; go 1.9
|
|
github.com/golang/protobuf/proto
|
|
github.com/golang/protobuf/ptypes/timestamp
|
|
# github.com/matttproud/golang_protobuf_extensions v1.0.1
|
|
## explicit
|
|
github.com/matttproud/golang_protobuf_extensions/pbutil
|
|
# github.com/mjl-/bstore v0.0.0-20230211204415-a9899ef6e782
|
|
## explicit; go 1.19
|
|
github.com/mjl-/bstore
|
|
# github.com/mjl-/sconf v0.0.4
|
|
## explicit; go 1.12
|
|
github.com/mjl-/sconf
|
|
# github.com/mjl-/sherpa v0.6.5
|
|
## explicit; go 1.12
|
|
github.com/mjl-/sherpa
|
|
# github.com/mjl-/sherpadoc v0.0.10
|
|
## explicit; go 1.16
|
|
github.com/mjl-/sherpadoc
|
|
github.com/mjl-/sherpadoc/cmd/sherpadoc
|
|
# github.com/mjl-/sherpaprom v0.0.2
|
|
## explicit; go 1.12
|
|
github.com/mjl-/sherpaprom
|
|
# github.com/mjl-/xfmt v0.0.0-20190521151243-39d9c00752ce
|
|
## explicit; go 1.12
|
|
github.com/mjl-/xfmt
|
|
# github.com/prometheus/client_golang v1.14.0
|
|
## explicit; go 1.17
|
|
github.com/prometheus/client_golang/prometheus
|
|
github.com/prometheus/client_golang/prometheus/internal
|
|
github.com/prometheus/client_golang/prometheus/promauto
|
|
github.com/prometheus/client_golang/prometheus/promhttp
|
|
# github.com/prometheus/client_model v0.3.0
|
|
## explicit; go 1.9
|
|
github.com/prometheus/client_model/go
|
|
# github.com/prometheus/common v0.37.0
|
|
## explicit; go 1.16
|
|
github.com/prometheus/common/expfmt
|
|
github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg
|
|
github.com/prometheus/common/model
|
|
# github.com/prometheus/procfs v0.8.0
|
|
## explicit; go 1.17
|
|
github.com/prometheus/procfs
|
|
github.com/prometheus/procfs/internal/fs
|
|
github.com/prometheus/procfs/internal/util
|
|
# go.etcd.io/bbolt v1.3.6
|
|
## explicit; go 1.12
|
|
go.etcd.io/bbolt
|
|
# golang.org/x/crypto v0.5.0
|
|
## explicit; go 1.17
|
|
golang.org/x/crypto/acme
|
|
golang.org/x/crypto/acme/autocert
|
|
golang.org/x/crypto/bcrypt
|
|
golang.org/x/crypto/blake2b
|
|
golang.org/x/crypto/blowfish
|
|
golang.org/x/crypto/pbkdf2
|
|
# golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4
|
|
## explicit; go 1.17
|
|
golang.org/x/mod/internal/lazyregexp
|
|
golang.org/x/mod/modfile
|
|
golang.org/x/mod/module
|
|
golang.org/x/mod/semver
|
|
# golang.org/x/net v0.5.0
|
|
## explicit; go 1.17
|
|
golang.org/x/net/html
|
|
golang.org/x/net/html/atom
|
|
golang.org/x/net/idna
|
|
# golang.org/x/sys v0.4.0
|
|
## explicit; go 1.17
|
|
golang.org/x/sys/cpu
|
|
golang.org/x/sys/execabs
|
|
golang.org/x/sys/internal/unsafeheader
|
|
golang.org/x/sys/unix
|
|
golang.org/x/sys/windows
|
|
# golang.org/x/text v0.6.0
|
|
## explicit; go 1.17
|
|
golang.org/x/text/secure/bidirule
|
|
golang.org/x/text/transform
|
|
golang.org/x/text/unicode/bidi
|
|
golang.org/x/text/unicode/norm
|
|
# golang.org/x/tools v0.1.12
|
|
## explicit; go 1.18
|
|
golang.org/x/tools/go/gcexportdata
|
|
golang.org/x/tools/go/internal/gcimporter
|
|
golang.org/x/tools/go/internal/packagesdriver
|
|
golang.org/x/tools/go/internal/pkgbits
|
|
golang.org/x/tools/go/packages
|
|
golang.org/x/tools/internal/event
|
|
golang.org/x/tools/internal/event/core
|
|
golang.org/x/tools/internal/event/keys
|
|
golang.org/x/tools/internal/event/label
|
|
golang.org/x/tools/internal/gocommand
|
|
golang.org/x/tools/internal/packagesinternal
|
|
golang.org/x/tools/internal/typeparams
|
|
golang.org/x/tools/internal/typesinternal
|
|
# google.golang.org/protobuf v1.28.1
|
|
## explicit; go 1.11
|
|
google.golang.org/protobuf/encoding/prototext
|
|
google.golang.org/protobuf/encoding/protowire
|
|
google.golang.org/protobuf/internal/descfmt
|
|
google.golang.org/protobuf/internal/descopts
|
|
google.golang.org/protobuf/internal/detrand
|
|
google.golang.org/protobuf/internal/encoding/defval
|
|
google.golang.org/protobuf/internal/encoding/messageset
|
|
google.golang.org/protobuf/internal/encoding/tag
|
|
google.golang.org/protobuf/internal/encoding/text
|
|
google.golang.org/protobuf/internal/errors
|
|
google.golang.org/protobuf/internal/filedesc
|
|
google.golang.org/protobuf/internal/filetype
|
|
google.golang.org/protobuf/internal/flags
|
|
google.golang.org/protobuf/internal/genid
|
|
google.golang.org/protobuf/internal/impl
|
|
google.golang.org/protobuf/internal/order
|
|
google.golang.org/protobuf/internal/pragma
|
|
google.golang.org/protobuf/internal/set
|
|
google.golang.org/protobuf/internal/strs
|
|
google.golang.org/protobuf/internal/version
|
|
google.golang.org/protobuf/proto
|
|
google.golang.org/protobuf/reflect/protodesc
|
|
google.golang.org/protobuf/reflect/protoreflect
|
|
google.golang.org/protobuf/reflect/protoregistry
|
|
google.golang.org/protobuf/runtime/protoiface
|
|
google.golang.org/protobuf/runtime/protoimpl
|
|
google.golang.org/protobuf/types/descriptorpb
|
|
google.golang.org/protobuf/types/known/timestamppb
|