MCPcopy Create free account
hub / github.com/foxcpp/maddy / userDoesNotExist

Function userDoesNotExist

internal/storage/imapsql/delivery.go:53–61  ·  view source on GitHub ↗
(actual error)

Source from the content-addressed store, hash-verified

51}
52
53func userDoesNotExist(actual error) error {
54 return &exterrors.SMTPError{
55 Code: 501,
56 EnhancedCode: exterrors.EnhancedCode{5, 1, 1},
57 Message: "User does not exist",
58 TargetName: "imapsql",
59 Err: actual,
60 }
61}
62
63func (d *delivery) AddRcpt(ctx context.Context, rcptTo string, _ smtp.RcptOptions) error {
64 defer trace.StartRegion(ctx, "sql/AddRcpt").End()

Callers 2

ConfigureMethod · 0.85
AddRcptMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected