foxcpp / foxcpp/maddy

Direct SMTP delivery to storage.blob (filesystem, S3)

Open
#423 1 comment 3 reactions 0 assignees View on GitHub
mta-in new feature
Dominant language
Go
Stars
6.1k
Forks
327
PR merge metrics
No merged PRs in 30d

Description

There is storage.blob module namespace that is used by IMAP storage layer to store message bodies.
It would be helpful if we can implement an adapter that would allow SMTP pipeline to directly write messages
into blob storage (which can be backed by FS or S3 bucket or something else).

I guess we could just make all storage.blob implementations also implement delivery target interface via some helper utility
so users can just write:
```
deliver_to s3 { bucket config goes here }
```

Important details:
1. How object (file) name should be formatted?
2. How SMTP metadata should be saved (if saved at all)?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.