aboutsummaryrefslogtreecommitdiff
path: root/src/smtp_server.rs
Commit message (Collapse)AuthorAge
* Do not propagate TcpListener.accept() errorsMroik2026-04-13
| | | | | | | | | | | | Errors produced by the socket may not be necessarily fatal, meaning that while a connection might be dropped the process should be able to resume execution as if nothing happened and accept the next connection. Error handling for accept() has been copied from NGINX's [1]. [1] https://stackoverflow.com/questions/76955978/which-socket-accept-errors-are-fatal Signed-off-by: Mroik <mroik@delayed.space>
* Add mail processing scaffoldingMroik2026-04-13
| | | | | | | | | | After receiving the email we don't want to process it in the same thread as soon as we can, instead we queue it to a MailProcessor. This allows us to be more flexible with the pipeline and reduce the amount of concurrency for the database connection. This also helps with writing possible fences around resource consumption. Signed-off-by: Mroik <mroik@delayed.space>
* Rename modules to more accurate namesMroik2026-04-13
Signed-off-by: Mroik <mroik@delayed.space>
XMR address: 854DmXNrxULU3ZFJVs4Wc8PFhbq29RhqHhY8W6cdWrtFN3qmooKyyeYPcDzZTNRxphhJ5UzASQfAdEMwSteVqymk28aLhqj