EMDIS-ECS
view release on metacpan or search on metacpan
- ECS.pm: add support for SASL XOAUTH2 and OAUTHBEARER authentication
mechanisms on SMTP connection
- ecs_scan_mail: add support for SASL XOAUTH2 and OAUTHBEARER authentication
mechanisms on POP3 and IMAP connections
- ecs_setup: add configuration options for "modern" OAuth 2.0 authentication
- ecs_token: add this as example OAuth 2.0 token request helper script for
INBOX_OAUTH_TOKEN_CMD and SMTP_OAUTH_TOKEN_CMD
- docker/dist/Dockerfile: add diffutils, pass (unix password manager),
perl-libwww-perl, and perl-LWP-Protocol-https packages; install
Authen::SASL::Perl via CPAN; remove code to install Net::SMTP, Net::POP3
and IO::Socket::SSL via CPAN
- docker/rockylinux/Dockerfile: add diffutils, pass (unix password manager),
perl-libwww-perl, and perl-LWP-Protocol-https packages; install
Authen::SASL::Perl via CPAN
- docker/ubuntu/Dockerfile: update to use Ubuntu 24.04; add pass (unix
password manager) package; install Authen::SASL::Perl via CPAN
- LICENSE: restore missing AGNIS license language about NIH
Version 0.46 2025-09-12
=======================
- ECS.pm: improve introductory info in embedded documentation
(ecshome)$ ecs_setup
Alternatively, because "make install" typically requires root
privileges, it may be more convenient to install Perl ECS and related
modules into a local directory, e.g. using cpanminus.
$ mkdir locallib
$ cpanm --local-lib locallib Net::SMTP~3.05
$ cpanm --local-lib locallib Mail::IMAPClient~3.18
$ cpanm --local-lib locallib Net::POP3~3.06
$ cpanm --local-lib locallib IO::Socket::SSL~2.007
$ cpanm --local-lib locallib EMDIS-ECS-0.36.tar.gz
The ecs_setup script asks a series of questions and creates an ecs.cfg
file based on the answers given. If needed, it can also create the
required ECS_DAT_DIR subdirectories. The directory structure and script
names are similar to those described in the EMDIS ECS specification.
Of course, Perl ECS can also run under Windows, using Strawberry Perl
or ActivePerl.
Note: For Strawberry Perl (on MS Windows), the sequence of commands
docker/centos/Dockerfile view on Meta::CPAN
ENV HOME=/home/perlecs
# as perlecs user, install latest CPAN versions of some
# Perl modules into local-lib directory (because module
# versions provided by CentOS may not support SSL/TLS)
USER perlecs
WORKDIR ${HOME}
RUN mkdir ${HOME}/perl5lib
RUN cpanm --local-lib ${HOME}/perl5lib Net::SMTP~3.05 && \
cpanm --local-lib ${HOME}/perl5lib Net::POP3~3.06 && \
cpanm --local-lib ${HOME}/perl5lib IO::Socket::SSL~2.007
# install EMDIS::ECS into local-lib directory
RUN cpanm --local-lib ${HOME}/perl5lib EMDIS::ECS
# set PATH and PERL5LIB environment variables to use
# local-lib directory
ENV PATH=${HOME}/perl5lib/bin:${PATH} \
PERL5LIB=${HOME}/perl5lib/lib/perl5
#USER root
( run in 0.395 second using v1.01-cache-2.11-cpan-4ee56698ea0 )