An AUTH success is not the letter
Answer An AUTH success is not the letter. RFC 4954, published in July 2007, is the SMTP Service Extension for Authentication. R. Siemborski, editor, Google, and A. Melnikov, editor, Isode Limited, wrote it. A client names a SASL mechanism, runs the exchange, and may negotiate a security layer for the rest of the session. The memo obsoletes RFC 2554. The keyword, the 235, and the mailbox parameter are not From. They are not the rented send. An AUTH success is not the letter you are about to pay for.
The note that started this: SMTP Service Extension for Authentication, R. Siemborski and A. Melnikov, editors, RFC 4954, July 2007.
Yesterday's note was RFC 2645. That profile listens on port 366, wants a success response before ATRN, and then reverses the roles. Its sample used a 235 on CRAM-MD5 as the step before the reverse. This memo is a different profile. The service name here is smtp, and that same name is used for message submission. A 235 yesterday is a step toward a role reverse. A 235 here ends an authentication exchange. A solo ad is one letter from a name you are about to rent. A session identity is not that letter.
The introduction says what changed. This document deprecates the 538 code, adds enhanced status codes, points authorization identities at SASLprep, recommends transmission-type keywords in Received, and clarifies AUTH beside command pipelining. In the body, SASLprep is a SHOULD. A note says a later revision may make it a MUST, because a MUST would break most implementations that existed when they wrote. A swipe that prints one 235 has not shown you the mechanism, and it has not shown you the letter.
What does RFC 4954 cover?
It defines the SMTP Authentication service extension, a profile of SASL for SMTP, and it obsoletes RFC 2554. The EHLO keyword is AUTH, with a space-separated list of SASL mechanism names. The AUTH command runs the exchange. A 235 means that exchange succeeded. An optional AUTH parameter on MAIL FROM names a mailbox tied to the submitter, or empty angle brackets when that identity is unknown.
Section 3 is the shape. The extension is named Authentication. EHLO advertises AUTH and a space-separated list of SASL mechanisms, and that list may change after a successful STARTTLS. The new verb is AUTH. MAIL FROM gains an optional AUTH parameter, which extends that command's maximum line length by 500 characters. The extension is appropriate for message submission. A keyword in the EHLO list is an announcement. It is not an author, and it is not a file of readers.
Section 4 is the verb. The client sends AUTH, a mechanism name, and an optional initial response. That response is base64, or a single equals sign when it is present and empty. After a successful AUTH, another AUTH in the same session is a 503. AUTH during a mail transaction is also a 503. A failure is different. The client may continue unauthenticated, or try another mechanism, or try different credentials. A second AUTH after a 235 has left the rule. A second AUTH after a failure has not.
A server challenge is a 334 whose text is only the base64 string. An empty challenge is the code, a space, and nothing after it. The client may cancel with a single asterisk, and the server must answer 501. An initial response where the client does not speak first is also 501, and enhanced codes should add 5.7.0. A response the server cannot decode is 501 with 5.5.2. Characters outside the base64 alphabet are rejected, and a pad is legal only at the end. A line longer than the authentication buffer fails with 500 and should add 5.5.6. In 2007 the authors called 12288 octets enough for the mechanisms then deployed. That figure is a buffer note. It is not a count of people.
The identity that comes out of the exchange is a simple username. Client and server should prepare it with SASLprep. If that preparation fails, or if it produces an empty string when the identity was not sent as empty, the server must fail the authentication. When the server cannot authenticate the client, it should use 535 unless a more specific code applies. When the client finishes the exchange, the server sends 235. The document notes that SMTP cannot return extra SASL data with that success. A 235 is the success. It is not a biography of the author.
Does a 235 mean that person wrote the letter?
A 235 means the authentication exchange succeeded. The document says this extension authenticates the message submission, not authorship of the message content. A success code is not From. An AUTH parameter of empty angle brackets must not be treated as the authenticated identity from the AUTH command.
Section 6 is the code list. 235 and 2.7.0 mean success. 432 and 4.7.12 mean a password transition is needed, typically one PLAIN authentication so the chosen mechanism can work later. 454 and 4.7.0 are temporary, and the client should not ask for another password. 534 and 5.7.9 mean the mechanism is too weak. 535 and 5.7.8 mean the credentials are invalid. 500 and 5.5.6 mean the line was too long. 530 and 5.7.0 mean a command other than AUTH, EHLO, HELO, NOOP, RSET, or QUIT needed authentication. That 530 is not yesterday's refusal of ATRN on port 366. 538 and 5.7.11 are the old encryption demand, kept for history. The enhanced codes added here are 5.7.8, 5.7.9, 5.7.11, and X.5.6.
Section 5 is the other AUTH, and it is a parameter, not the verb. On MAIL FROM, AUTH= carries a mailbox associated with the identity that submitted the message, encoded as xtext, or the empty angle brackets when that identity is unknown or not authenticated well enough. The document splits two words a sales page will glue together. The authenticated identity is the one derived from the authorization identity of the earlier AUTH command. The authorized identity is the supplied mailbox being associated with this particular message. One authenticated identity may speak for any number of authorized identities in the same session. Their example is a server processing a queue of messages that were submitted under different names. A 235 for the queue process is not a 235 for each writer in that queue.
If the server trusts the client, it should pass the same mailbox on to any later server that advertises the extension. Advertisers must accept the parameter even when this client has not authenticated. Empty angle brackets mean the submitter is unknown, and the server must not treat the session identity as that submitter. If the parameter is absent, the client authenticated, and the server believes this is an original submission, it may build a legal mailbox from the session identity, and if it cannot, it must send the empty form. An untrusted or unauthenticated client is treated as the empty form. A logged value is not trust. Throwing every mailbox away and sending the empty form still complies.
Section 5.1 is two samples. One command names the mailbox e=mc2@example.com and the parameter AUTH=e+3Dmc2@example.com. The plus and two hex digits are how xtext writes an equals sign. The server answers 250 OK. The other names a different mailbox and sends the empty form, and the server answers 250 OK. That 250 accepts the envelope command. It is the same class of reply a size declaration draws on MAIL, and it is still not a finished letter. A server may treat mailing-list expansion as a new submission and set the parameter to the list address, or the list administration address. That address is a list. It is not the person who wrote the solo.
Section 7 adds a trace keyword, not an author. A server that receives a message for delivery or further processing already has to insert Received at the beginning. After a successful authentication, this document says the server should put ESMTPA, or ESMTPSA when appropriate, in the with clause of that Received field. The keywords come from the transmission-type registration this memo cites. A with clause is a note about how this hop received the message. It is not From, and it is not a person who asked for the offer.
Section 9 names four differences from an end-to-end signature. The extension is generally useful only inside a trusted enclave. It covers the whole envelope, not only the body. It authenticates the submission, not authorship of the content. With mutual authentication and a security layer, it can give the sender some assurance the message reached the next hop. Next hop is their phrase. Some assurance is their phrase. Neither is a reader. The extension does not replace an end-to-end signature. A server may drop the connection after failed attempts, and it should not drop until at least three have failed. Three is a floor on a disconnect policy. It is not a count of buyers.
If a SASL security layer is negotiated, it starts for the client on the octet after the last response, and for the server on the octet after the 235. SMTP returns to the state after the 220 greeting. Each side must discard what it learned before the layer, including the EHLO argument and the extension list, unless that knowledge came from the SASL exchange. The client should send EHLO again. It may compare the old mechanism list with the new one, looking for a downgrade. When a transport layer and a SASL layer are both on, the transport encoding is applied after the SASL encoding. A list copied from before the layer is not the list in use.
Implementations must offer PLAIN over TLS. CRAM-MD5, required for interoperability in yesterday's profile, is optional here and does not authenticate the server. A server must have a configuration that refuses plaintext password mechanisms unless STARTTLS, or another defense against snooping, is already up. Sites should not run the cleartext configuration. Before the transport layer the sample advertises GSSAPI and DIGEST-MD5. After it, the list adds PLAIN, and AUTH PLAIN with an initial response draws 235 2.7.0 Authentication successful. AUTH EXTERNAL with a single equals sign, for an empty initial response, draws the same 235. The blobs are props. They are not a file of readers.
With pipelining, AUTH must be the last command in the group. The exception is an AUTH that already carries an initial response, for a mechanism that finishes in one round trip, with no security layer. PLAIN and EXTERNAL are the examples. The SASL service name is smtp, including for submission. A service name is not a from-name.
What should a solo ad buyer ask when a seller cites an AUTH success?
Ask which SASL mechanism was named, whether the reply was 235, 432, 454, 500, 501, 503, 504, 530, 534, 535, or 538, and whether MAIL FROM carried AUTH= with a mailbox or with empty angle brackets. A 235 on this session is not the header on the letter, and a header on the letter is not the person who wrote.
You will not find the exchange in the swipe. Ask for a transcript from the stream your offer will use. Ask which mechanisms EHLO listed, and whether the list was copied from before a transport layer. PLAIN is not the cleartext choice. Ask whether a 235 arrived. Another AUTH after success, or any AUTH during the transaction, is a 503. A failure may be retried. Read the code against section 6, not against a folder of screenshots. Then read the parameter. A mailbox is a claim about the submitter. Empty angle brackets mean that submitter is unknown, and the session identity must not be promoted into the claim. A value written to a log on an untrusted client is still the empty form when the message is relayed. ESMTPA, or ESMTPSA when appropriate, is a hop note. A folder of 235 replies sold as the rented file has treated a session as a product.
Then keep the session out of the author check. A signing domain is compared with an address in From. A 235 does not put the rented author there. An SPF pass is a host list for the envelope. It does not become this success, and this success does not become an SPF pass. An Authentication-Results line is still a local note. Yesterday's ATRN reply can reverse a session on port 366 and still not be the letter. An ETRN reply, an enhanced reply, a status code, a report container, a DSN request, a delivery notice, a disposition notice, an automatic answer, a SIZE estimate, a VRFY result, a Postmaster mailbox, a null MX, a 521 greeting, a list command, and a mail exchanger are each still the thing the earlier note said they were. An AUTH success can name a session and still not be any of those.
If you sell the send, name the mechanism and whether it appears only after a transport layer. Say that PLAIN over TLS is the interoperability choice here, and that CRAM-MD5 does not authenticate the server. Say that a 235 ends the exchange, that a later AUTH is a 503, and that AUTH during the transaction is a 503. Say whether MAIL FROM carries a mailbox or empty angle brackets, and that the empty form forbids treating the session as the submitter. Say that discarding an untrusted mailbox still complies. Say that the with clause is a hop note. If a SASL security layer comes up, say the client should send EHLO again. If you will not look, say that too. The safe solo ads sellers check is the posture. This note is the difference between an AUTH success and the letter.
Keep the rest of the quote in the same place. Whether the author and the transmitter are the same mailbox. Whether Reply-To is a suggestion or is absent. Whether From is a mailbox or an empty group. Whether a list command URL will be present, and who generates it. Whether a header the quote calls standard has a protocol and a specification behind the word. Whether an ordinary MX preference names a host, a relay, or several equals. Whether a null MX is one row and a dot. Whether a 556 is a relay report or a 521 is a greeting. Whether the 521 you were shown is the 1995 experiment or the 2015 code that closed it. Whether MAIL FROM is the same organizational domain as From. Whether d= aligns with From. Whether the signature covers the body to the last octet. Whether a later hop will rewrite the letter. Whether a later seal, if one exists, is a custodian and not the author. Whether the organizational domain stops at the public suffix you already named. Whether the Authentication-Results line is the mailbox's note or the sending shop's. Whether the disclosure sits in the letter, beside the paid link. Whether any testimonial is a use the sender can claim. Whether the exit finishes in the mailbox. Whether the reserved Postmaster mailbox is supported on the host that accepts mail. Whether VRFY is implemented, disabled, or answered with 252. Whether EHLO lists SIZE, and whether a 250 on MAIL is being sold as a finished transfer. Whether a personal, group, or service program answers on that stream. Whether a disposition notice, if one is requested, is a displayed type sold as a read. Whether a delivery status notice, if one arrives, names failed, delayed, delivered, relayed, or expanded. Whether a DSN request, if one is used, names NEVER, SUCCESS, FAILURE, DELAY, or an allowed mix, and whether RET is FULL or HDRS. Whether a later notice, if one is wrapped, uses multipart/report as the top-level type and names a report-type. Whether an enhanced status code, if one is printed, names a class, a subject, and a detail with no leading zero. Whether an enhanced SMTP reply, if one is printed, is a preface on a response other than the greeting, a HELO or EHLO reply, or a 3xx. Whether an ETRN reply, if one is printed, is a queue start on a new connection, and whether a 250 there means only that the queue was started. Whether an ATRN reply, if one is printed, followed a successful AUTH on port 366, and whether a 250 there means the roles reversed. An AUTH success does not replace those. A correct reading of RFC 4954 can still sit beside a letter the quote did not describe.
Solo ad pricing sits on the live slice, the niche, and the remedy if the mail is late or pointed at the wrong page. A session identity does not set the price. A missing 235 does not stand in for the refund line. The same question belongs on a solo ads for affiliate marketing buy. The affiliate link is the part a stranger most wants under a folder of 235 replies that is being sold as proof. If the quote leans on an AUTH success, ask which mechanism was named, and ask before the card.
When you buy solo ads, you are paying for one specific letter from one specific name. Ask whether that stream will answer AUTH, and whether a 235 or an empty parameter would be sold as the writer. Ask that as a separate line from the author. After the send, do the ordinary check. Clicks on a link you control, and the broadcast record, should agree the same day. If the mail went as quoted, write the new subscribers the thing you promised. If it did not, use the refund sentence you wrote before the card. The rented hour ends. An AUTH success should be a line in the quote, not a substitute for the letter the reader will actually get.