Giter Club home page Giter Club logo

Comments (9)

x0st avatar x0st commented on June 2, 2024 1

@quzhi1 #601

from go-imap.

quzhi1 avatar quzhi1 commented on June 2, 2024 1

Right, so it's a recommendation from Yahoo, but is there any real gain for clients which use the ID extension?

@emersion Yes. I reached out to Yahoo, and they said if I set IMAP ID, they can detect the origin of the IMAP request, and can raise the rate limit. Also, if we do not pass the IMAP ID, they can potentially lock the Yahoo account if they see too many IMAP connections.

from go-imap.

emersion avatar emersion commented on June 2, 2024

Right… I've been holding off on that one because I think it's harmful: it enables clients and servers to implement implementation-specific workarounds instead of following the standard.

Can you explain your use-case?

from go-imap.

quzhi1 avatar quzhi1 commented on June 2, 2024

The use case is Yahoo. Yahoo advise users to use id command to identify themselves. Here is the quote:

Client Indentification

The Verizon Media IMAP server supports the IMAP ID command https://www.ietf.org/rfc/rfc2971.txt to gather statistics and facilitate troubleshooting. An IMAP client connecting to the Verizon Media servers should issue the ID command with the following attributes: NAME, VERSION, OS, OS-VERSION.

NAME should be the partner name or the ID assigned during the approval process.
example: "name" "iPhone Mail"
"name" "com.android.email"
"name" "yahoo.com"

VERSION is the version of that client. It's useful when watching for changes in behavior OS & OS-VERSION are additional info for determining client environment specific issues.

A full ID command looks like this:
C: a007 ID ("name" "<'client name'>" "version" "<'client version'>" "os" "<'client os'>" "os-version" "<'client os version'>")

https://developer.yahooinc.com/imap-smtp/

from go-imap.

quzhi1 avatar quzhi1 commented on June 2, 2024

It is also documented here: https://senders.yahooinc.com/developer/documentation/#imap-features

from go-imap.

emersion avatar emersion commented on June 2, 2024

Right, so it's a recommendation from Yahoo, but is there any real gain for clients which use the ID extension?

from go-imap.

quzhi1 avatar quzhi1 commented on June 2, 2024

This is the email Yahoo sent us. Basically they ask me to pass IMAP ID as part of their IMAP agreement:
Screenshot 2024-03-20 at 09 55 03

from go-imap.

emersion avatar emersion commented on June 2, 2024

Alright. That's quite a misuse of the ID command, but oh well.

from go-imap.

quzhi1 avatar quzhi1 commented on June 2, 2024

Thanks for looking into this 🙏

from go-imap.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.