mirror of
https://github.com/mjl-/mox.git
synced 2024-12-27 08:53:48 +03:00
log msgfrom for incoming delivered messages
This commit is contained in:
parent
10daf3cb81
commit
132f08913b
1 changed files with 1 additions and 1 deletions
|
@ -2401,7 +2401,7 @@ func (c *conn) deliver(ctx context.Context, recvHdrFor func(string) string, msgW
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
metricDelivery.WithLabelValues("delivered", a.reason).Inc()
|
metricDelivery.WithLabelValues("delivered", a.reason).Inc()
|
||||||
log.Info("incoming message delivered", mlog.Field("reason", a.reason))
|
log.Info("incoming message delivered", mlog.Field("reason", a.reason), mlog.Field("msgfrom", msgFrom))
|
||||||
|
|
||||||
conf, _ := acc.Conf()
|
conf, _ := acc.Conf()
|
||||||
if conf.RejectsMailbox != "" && messageID != "" {
|
if conf.RejectsMailbox != "" && messageID != "" {
|
||||||
|
|
Loading…
Reference in a new issue