Documentation
¶
Overview ¶
Package subjectpass implements a mechanism for reject an incoming message with a challenge to include a token in a next delivery attempt.
An SMTP server can reject a message with instructions to send another message, this time including a special token. The sender will receive a DSN, which will include the error message with instructions. By sending the message again with the token, as instructed, the SMTP server can recognize the token, verify it, and accept the message.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MetricGenerate stub.Counter = stub.CounterIgnore{} MetricVerify stub.CounterVec = stub.CounterVecIgnore{} )
View Source
var ( ErrMessage = errors.New("subjectpass: malformed message") ErrAbsent = errors.New("subjectpass: no token found") ErrFrom = errors.New("subjectpass: bad From") ErrInvalid = errors.New("subjectpass: malformed token") ErrVerify = errors.New("subjectpass: verification failed") ErrExpired = errors.New("subjectpass: token expired") )
View Source
var Explanation = "" /* 134-byte string literal not displayed */
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.