Skip to content

A program for compatible MTAs which can delay outgoing emails by a timestamp header.

License

Notifications You must be signed in to change notification settings

shymega/x-delay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x-delay

What is it?

This SMTP server accepts outgoing emails from a (compatible) MTA, and when a condition is met, releases them back to the MTA to be processed.

If the headers of an email include this header: X-Delay-TS, then it will read the aforementioned header, which should have a ISO-8601 compliant timestamp.

The SMTP server will store the email in an internal queue, and wait for the system time (with accordance to timezones) to reach the X-Delay timestamp specified in the message.

Once this condition is met, the SMTP server will inject the message back into the MTA's queuing system.

Development status

Working locally on the SMTP server, expect commits soon!

License

This project is licensed under the Apache 2.0 license.

TODO

  • InfluxDB metrics.
  • STDIN/server differentation.
  • STDIN support.
  • Milter?

About

A program for compatible MTAs which can delay outgoing emails by a timestamp header.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages