Skip to content

DialtoneApp/mx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

mx

It runs a minimal SMTP server, accepts one email, saves it as received/*.eml, prints the envelope/ header summary, then exits.

Run it directly on SMTP port 25:

sudo ./mx.py --port 25 --name mx.yourdomain.com

Or run on a high local port if your tunnel maps public TCP/25 to it:

./mx.py --port 2525 --name mx.yourdomain.com

Important MX/ngrok detail: an MX record cannot include a port. Remote mail servers will connect to port 25 on the MX hostname. So an ngrok address like something.tcp.ngrok.io:12345 will not work for normal MX delivery unless the public side actually accepts TCP port 25.

About

write me mx.py to listen on the right port for email with the goal to spin up a smtp server or whatever is simplest with the goal to use ngrok on the port and get a public address that I can set as a domains MX record and receive just 1 email

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages