@social-mail/social-mail-web-server 1.7.136 → 1.7.138

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@social-mail/social-mail-web-server",
3
- "version": "1.7.136",
3
+ "version": "1.7.138",
4
4
  "description": "## Phase 1",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -3,7 +3,7 @@ import semver from "semver";
3
3
 
4
4
  export default async function seedUI(config: DBConfig) {
5
5
 
6
- const version = "1.4.121";
6
+ const version = "1.4.122";
7
7
 
8
8
  const existing = await config.getValue(UIPackageConfig, false);
9
9
  if (existing) {
@@ -298,7 +298,8 @@ export default class MailReceiverService {
298
298
  if(!isTestMode) {
299
299
  if (dmarc) {
300
300
  if (dmarc.status.result !== "pass") {
301
- throw new SmtpError(`5.7.5 permanent error evaluating dmarc policy for ${ip}, sender ${sender}, helo: ${helo}`, SmtpStatusCodes.TransactionFailed);
301
+ console.error(`Permanent error evaluating dmarc policy for ${ip}, sender ${sender}, helo: ${helo} ${JSON.stringify(dmarc, void 0, 2)}`);
302
+ throw new SmtpError(`5.7.5 permanent error evaluating dmarc policy for ${ip}`, SmtpStatusCodes.TransactionFailed);
302
303
  }
303
304
  } else {
304
305
  console.error(`DMARC not setup for ${this.session.hostNameAppearsAs}`);