Check for the dispatcher name in the envelope validation function.
authoreric <eric@openbsd.org>
Wed, 22 Apr 2020 11:35:34 +0000 (11:35 +0000)
committereric <eric@openbsd.org>
Wed, 22 Apr 2020 11:35:34 +0000 (11:35 +0000)
commit38b53eb311811e96533b06c20e0f3eded6ff7b30
tree8e67d0dc5d19008293f92de1b66a3a51a96af663
parent861407c02b5ecb3cc8df4ad69c8ef1ed2337cf7c
Check for the dispatcher name in the envelope validation function.
Fixes a possible crash and caching issue when manually moving an
envelope to the queue with smtpctl discover.

ok millert@
usr.sbin/smtpd/queue.c
usr.sbin/smtpd/queue_backend.c