chore: new feature
This commit is contained in:
@@ -33,6 +33,8 @@ export class EmailSpamService {
|
||||
}
|
||||
}
|
||||
} catch (_error) {
|
||||
// Expected: 404 errors occur when the message doesn't exist in this mailbox
|
||||
// Continue searching other mailboxes
|
||||
continue;
|
||||
}
|
||||
}
|
||||
@@ -101,7 +103,7 @@ export class EmailSpamService {
|
||||
await firstValueFrom(
|
||||
this.mailServerService.domainAccess.addAllowedDomain(domainTag, {
|
||||
domain: senderInfo.senderDomain,
|
||||
description: `Auto-allowed due to not-spam report from message ${messageId}`,
|
||||
// Removed description field as WildDuck API doesn't accept it for allowlist operations
|
||||
}),
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user