Download the PHP package cryodrift/mailserver without Composer
On this page you can find all versions of the php package cryodrift/mailserver. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cryodrift/mailserver
More information about cryodrift/mailserver
Files in cryodrift/mailserver
Download cryodrift/mailserver
More information about cryodrift/mailserver
Files in cryodrift/mailserver
Vendor cryodrift
Package mailserver
Short Description simple pop3 and smtp servers with encryption
License MIT
Package mailserver
Short Description simple pop3 and smtp servers with encryption
License MIT
Please rate this library. Is it a good library?
Informations about the package mailserver
POP3/SMTP Test Servers (Implicit TLS)
Minimal POP3 and SMTP servers intended for local account-setup and client integration tests.
POP3 serves messages from a filesystem maildir. SMTP accepts messages and relays them using src/mail/Smtp.
This is not for production use.
What it does
- POP3: Listens on a TLS socket (implicit TLS) — default
0.0.0.0:1995. - POP3: Serves messages from a configurable
maildirdirectory (recursively scanned, oldest first). - POP3: Accepts any
USER/PASS(no verification) — for testing only. - POP3: Supports core commands:
CAPA,USER,PASS,STAT,LIST,UIDL,RETR,TOP,NOOP,RSET,QUIT. - SMTP: Listens on implicit TLS (default
0.0.0.0:465). AcceptsEHLO/HELO,AUTH(accepts any),MAIL FROM,RCPT TO,DATA,RSET,NOOP,QUIT. - SMTP: On end of
DATA, relays via\cryodrift\mail\Smtpusing configured user accounts. - SMTP (receiver mode): Optionally saves each received message to a Maildir so POP3 can serve it.
- POP3: Multi-line responses and dot-stuffing per POP3.
Requirements
- PHP 8.4+
- TLS certificate and key files (self-signed is fine for local testing)
- A maildir-like folder with message files (POP3)
- add domain to hosts eg: 127.0.0.1 mail.lab.lan
- create cert for this domain
Minimal usage examples
POP3
php vendor/bin/cryodrift.php -echo /mailserver/cli/ pop3
SMTP
php vendor/bin/cryodrift.php -echo /mailserver/cli/ smtp
Connecting for quick tests
POP3 over TLS (implicit):
SMTP over TLS (implicit):
Maildir notes (POP3)
- The server recursively scans the configured
maildirand serves every file it finds as a message. - Messages are sorted by file modification time (oldest first).
UIDLuses the filename (before any:2,suffix) for stability.
Limitations
- POP3: No user authentication or authorization (accepts any credentials). Read-only (
DELEdisabled). - SMTP: Accepts any
AUTHand relays based on local account config; intended only for local tests. - Designed for local/test environments only.
All versions of mailserver with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.4
cryodrift/fw Version ^0.1.1
cryodrift/user Version ^0.1.1
cryodrift/mailsend Version ^0.1.1
cryodrift/fw Version ^0.1.1
cryodrift/user Version ^0.1.1
cryodrift/mailsend Version ^0.1.1
The package cryodrift/mailserver contains the following files
Loading the files please wait ...