Skip to content

zdrux/smtprelay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple async Python SMTP relay

Simple relay, accepts SMTP on specified ip/port, forwards to destination.

No authentication supported.

Configuration

Specify your local binding IP and port

if __name__ == '__main__':
    port = 8080
    controller = aiosmtpd.controller.Controller(RelayHandler(), hostname='127.0.0.1', port=port)

Specify destination SMTP server in TOML file

[smtp]
server = "smtp"
port = 587
username = "someone@example.com"
password = "supersecret"

About

Simple Python SMTP relay

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages