gnh1201 / caterpillar

Caterpillar Proxy - The simple web debugging proxy (formerly, php-httpproxy)
https://catswords.social/@catswords_oss
MIT License
14 stars 7 forks source link

SMTP relay #10

Open gnh1201 opened 4 months ago

gnh1201 commented 4 months ago

I need to implement an SMTP relay. Caterpillar will receive SMTP requests first and then forward them to a relay server written in PHP. The relay server written in PHP will then send the email to the actual recipient.

I propose the following flow:

SMTP Client (Sender) <- Caterpillar (Python) <-> Relay Server (PHP) <-> Actual recipient
gnh1201 commented 4 months ago

Updated:

https://github.com/gnh1201/caterpillar/blob/main/smtp.py