diff options
author | Yuqian Yang <crupest@crupest.life> | 2025-06-16 01:53:32 +0800 |
---|---|---|
committer | Yuqian Yang <crupest@crupest.life> | 2025-06-16 01:53:32 +0800 |
commit | e5509b819a2798077232fb014926e7abc7bf9edc (patch) | |
tree | 38f89f2a9fcb13b003328c6667bc32aa66e9fae1 /deno/mail-relay/app.ts | |
parent | b4a5820f57a6b5aa72e068e318705fcbeb0c3302 (diff) | |
download | crupest-e5509b819a2798077232fb014926e7abc7bf9edc.tar.gz crupest-e5509b819a2798077232fb014926e7abc7bf9edc.tar.bz2 crupest-e5509b819a2798077232fb014926e7abc7bf9edc.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)), |