From d506ef14bcdba9324f3cc9001696d952ecb1e5fe Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 9 Nov 2023 10:55:38 +0100 Subject: [PATCH] server: embed Session in LMTPSession Makes it clearer that a full Session implementation is required for LMTP. --- backend.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend.go b/backend.go index 1f3fdae..1241ff6 100644 --- a/backend.go +++ b/backend.go @@ -53,6 +53,8 @@ type Session interface { // LMTPSession is an add-on interface for Session. It can be implemented by // LMTP servers to provide extra functionality. type LMTPSession interface { + Session + // LMTPData is the LMTP-specific version of Data method. // It can be optionally implemented by the backend to provide // per-recipient status information when it is used over LMTP