librarymarket / msadiag
The Message Submission Agent Diagnostics tool (msadiag) facilitates testing the compatibility of third party message submission agents.
Installs: 1 413
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:project
Requires
- php: >=8.1
- composer-runtime-api: >=2.2
- composer/ca-bundle: ^1.3
- symfony/console: ^4.4 || ^5.4 || ^6.0 || ^7.0
Requires (Dev)
- phpstan/phpstan: ^1.6
This package is auto-updated.
Last update: 2024-12-03 20:49:23 UTC
README
The Message Submission Agent Diagnostics tool (msadiag) facilitates testing the compatibility of third party message submission agents.
This tool implements several tests via SMTP to ensure the target MSA is properly
and securely configured. The following tests are ran with msadiag validate
:
- The server must not allow authentication via plain-text connection (only with
--strict
). - The server must support a modern TLS encryption protocol (TLSv1.2 or TLSv1.3).
- The server must use a valid certificate, verifiable using the Mozilla CA bundle.
- The server must support the SMTP AUTH extension.
- The server must support SASL authentication via CRAM-MD5, LOGIN, or PLAIN.
- The server must require authentication to submit messages.
- The server must reject invalid credentials.
- The server must not require authentication to submit messages after successful authentication.
Installation
To install this package using Composer, run the following command.
composer global require librarymarket/msadiag
~/.config/composer/vendor/bin
must be in PATH
to use the msadiag
command.
Usage
Run msadiag
for a command listing, or msadiag COMMAND --help
for usage
information about a specific command.
License
This project is subject to the terms of The MIT License. Please refer to
LICENSE.txt
for more information, or visit the following URL to get a copy of
the license: https://opensource.org/licenses/MIT