
Security News
Open Source Maintainers Feeling the Weight of the EU’s Cyber Resilience Act
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
smtp-address-parser
Advanced tools
Parse an SMTP (RFC-5321) address.
** Changes in version 1.1.0: **
** Domains are now checked beyond RFC-5321 syntax only **
Domain names must be fully qualified; that is with at least two labels. The top-level domain must have at least two octets.
** Length limitations are now checked **
Total length limit of an address is 986 octets; based on a 1,000 octet SMTP line length.
See https://tools.ietf.org/html/rfc1035 section 2.3.4. Size limits:
Domain names are limited to 255 octets, when encoded with a length byte before each label, and including the top-level zero length label. So, the effctive limit with interstitial dots is 253 octets.
Labels within a domain name are limited to 63 octets.
The above are limits of the DNS protocol, not any particular implementation.
RFC-5321 section 4.5.3.1. “Size Limits and Minimums” still says:
“To the maximum extent possible, implementation techniques that impose no limits on the length of these objects should be used.”
FAQs
Parse an SMTP (RFC-5321) address
The npm package smtp-address-parser receives a total of 361,033 weekly downloads. As such, smtp-address-parser popularity was classified as popular.
We found that smtp-address-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The EU Cyber Resilience Act is prompting compliance requests that open source maintainers may not be obligated or equipped to handle.
Security News
Crates.io adds Trusted Publishing support, enabling secure GitHub Actions-based crate releases without long-lived API tokens.
Research
/Security News
Undocumented protestware found in 28 npm packages disrupts UI for Russian-language users visiting Russian and Belarusian domains.