diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-16 01:53:32 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-17 21:37:43 +0800 |
commit | dabfabbe0779b2f530db7351afa99cc38ce40d8f (patch) | |
tree | 463423c54e536acd2c981db901ae985a7b4f20ff /deno/mail-relay/app.ts | |
parent | 08a75b22079d0fe63bf078fdbce065dccc93504d (diff) | |
download | crupest-dabfabbe0779b2f530db7351afa99cc38ce40d8f.tar.gz crupest-dabfabbe0779b2f530db7351afa99cc38ce40d8f.tar.bz2 crupest-dabfabbe0779b2f530db7351afa99cc38ce40d8f.zip |
mail: add save aws message id mail.
Diffstat (limited to 'deno/mail-relay/app.ts')
-rw-r--r-- | deno/mail-relay/app.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/deno/mail-relay/app.ts b/deno/mail-relay/app.ts index eeffc12..8cb33e6 100644 --- a/deno/mail-relay/app.ts +++ b/deno/mail-relay/app.ts @@ -19,14 +19,20 @@ export function createInbound( mailDomain, aliasFile, ldaPath, + doveadmPath, }: { fallback: string[]; mailDomain: string; aliasFile: string; ldaPath: string; + doveadmPath: string; }, ) { - const deliverer = new DovecotMailDeliverer(logFileProvider, ldaPath); + const deliverer = new DovecotMailDeliverer( + logFileProvider, + ldaPath, + doveadmPath, + ); deliverer.preHooks.push( new RecipientFromHeadersHook(mailDomain), new FallbackRecipientHook(new Set(fallback)), |