add additional debug log

This commit is contained in:
angelnu 2022-02-04 00:13:54 +00:00
parent 7df6b03fe6
commit ef5ca38df4

View file

@ -173,6 +173,7 @@ func (s *state) authzSender(ctx context.Context, authName, email string) module.
preparedEmail_single, ok, err = s.c.emailPrepare.Lookup(ctx, fromEmailNorm)
preparedEmail = []string{preparedEmail_single}
}
s.log.DebugMsg("authorized emails", "preparedEmail", preparedEmail, "ok", ok)
if err != nil {
return s.c.errAction.Apply(module.CheckResult{
Reason: &exterrors.SMTPError{