BSD Ports

mail/p5-Email-Address-XS 1.05 MidnightBSD

Parse and format RFC 2822 email addresses and groups

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
artistic, gpl+
Categories
mail, perl5

Description

This module implements RFC 2822 parser and formatter of email addresses and groups. It parses an input string from email headers which contain a list of email addresses or a groups of email addresses (like From, To, Cc, Bcc, Reply-To, Sender, ...). Also it can generate a string value for those headers from a list of email addresses objects.

Parser and formatter functionality is implemented in XS and uses shared code from Dovecot IMAP server.

It is a drop-in replacement for the Email::Address module which has several security issues. Existing applications that use Email::Address module could be easily switched to Email::Address::XS module. In most cases only changing use Email::Address to use Email::Address::XS and replacing every Email::Address occurrence with Email::Address::XS is sufficient.

So unlike Email::Address, this module does not use regular expressions for parsing but instead native XS implementation parses input string sequentially according to RFC 2822 grammar.

Additionally it has support also for named groups and so can be use instead of the Email::Address::List module.

In the other systems

The newest version among them is 1.05, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDmail/p5-Email-Address-XS1.05 newestno data-[email protected]-
FreeBSDmail/p5-Email-Address-XS1.05 newestnone known-[email protected]-
OpenBSDmail/p5-Email-Address-XS1.05 newestno data-The OpenBSD ports mailing-list <[email protected]>-
NetBSDmail/p5-Email-Address-XS1.05nb4 newestnone known-[email protected]2026-07-16
DragonFlymail/p5-Email-Address-XS1.05 newestnone known-[email protected]-
HardenedBSDmail/p5-Email-Address-XS1.05 newestno data-[email protected]-
GhostBSDmail/p5-Email-Address-XS1.05 newestno data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install p5-Email-Address-XS

From mports:

cd /usr/mports/mail/p5-Email-Address-XS && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	p5-Email-Address-XS>0:mail/p5-Email-Address-XS

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Configuration

No options to configure.

USES
perl5
Service scripts
none

Files

pkg-plist 3
  • %%SITE_ARCH%%/Email/Address/XS.pm
  • %%SITE_ARCH%%/auto/Email/Address/XS/XS.so
  • %%PERL5_MAN3%%/Email::Address::XS.3.gz
distinfo 1
FileSizeSHA256
Email-Address-XS-1.05.tar.gz304131510b7f10d67201037cd50d22c9d6b26eeca55ededa4cdb46bbca27e59a4ea16
Master sites 1
  • CPAN