]> git.ipfire.org Git - thirdparty/dovecot/core.git/commit
lmtp: Simplify/clarify per-recipient session ID
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 1 Feb 2022 13:40:48 +0000 (14:40 +0100)
committerTimo Sirainen <timo.sirainen@open-xchange.com>
Tue, 1 Feb 2022 15:03:39 +0000 (16:03 +0100)
commit88e433c4bc0d1284f77cfc98a9f6a6530efd625c
treea77d88aafb024e4d9912abb0db4ad9d6a693de27
parent8bea1eb406bc346fd1b134f8d9f4c3af14e76f8a
lmtp: Simplify/clarify per-recipient session ID

The session ID is the transaction ID followed by an increasing recipient
count (number of RCPT commands) in the SMTP transaction. Clarify this by
adding 'R' letter before the counter. Also don't add the counter suffix at
all for the first recipient, since most transactions only have a single
recipient.
src/lmtp/lmtp-recipient.c