4 ms·
Thanks! No link yet, but there is a messy GH repo: https://github.com/aksiksi/vaulty https://github.com/aksiksi/vaulty Yes, I only learned about MX record prio
by Cyph0n 7y ago
Thanks! No link yet, but there is a messy GH repo: https://github.com/aksiksi/vaulty https://github.com/aksiksi/vaulty
Yes, I only learned about MX record priorities last night haha. With Postfix, the most straightforward way to run code on receiving an email seems to be through a pipe filter. Running multiple filter processes probably requires a beefy server.
Thanks for that link! I might just use a similar approach to allow users to configure how to receive emails (HTTP or stdin, etc.).
- tuldia 7y agoThanks for the link! Seems like a really fun project. > I only learned about MX record priorities last night haha. Nice! > With Postfix, the most straightforward way to run code on receiving an email seems to be through a pipe filter. True. Take a look into LMTP, you may be able to "read the email" directly from your rust daemon (via unix socket or tcp) :)
- unilynx 7y agoThen limit the number of filters... you can have postfix run a fixed number of smtpd processes, and each process handles only one message at a time. When they're all full, your server will just stop handling messages, but SMTP will retry anyway, giving you plenty of time to scale up if the load is consistently too high