authheaders
Advanced tools
Comparing version 1.0.1 to 2.0.0
@@ -63,3 +63,5 @@ const path = require('path'); | ||
// Authentication-Results: mx1.forwardemail.net; spf=fail reason="SPF fail - not authorized" smtp.helo=jacks-macbook-pro.local smtp.mailfrom=foo@forwardemail.net; dkim=fail; arc=none; dmarc=fail (Used From Domain Record) header.from=forwardemail.net policy.dmarc=reject | ||
const result = { header: stdout.join('').trim() }; | ||
const result = { | ||
header: stdout.join('').trim().split('Authentication-Results: ')[1] | ||
}; | ||
for (const key of KEYS) { | ||
@@ -66,0 +68,0 @@ result[key] = {}; |
{ | ||
"name": "authheaders", | ||
"description": "Node.js wrapper around the Python pip package authheaders", | ||
"version": "1.0.1", | ||
"version": "2.0.0", | ||
"author": "Nick Baugh <niftylettuce@gmail.com> (http://niftylettuce.com/)", | ||
@@ -6,0 +6,0 @@ "bugs": { |
@@ -105,3 +105,3 @@ # authheaders | ||
{ | ||
header: 'Authentication-Results: example.com; spf=none smtp.helo=domain.of.sender.net smtp.mailfrom=test.com; dkim=pass header.d=forwardemail.net; arc=pass; dmarc=fail (Used From Domain Record) header.from=gmail.com policy.dmarc=none', | ||
header: 'example.com; spf=none smtp.helo=domain.of.sender.net smtp.mailfrom=test.com; dkim=pass header.d=forwardemail.net; arc=pass; dmarc=fail (Used From Domain Record) header.from=gmail.com policy.dmarc=none', | ||
spf: { result: 'none' }, | ||
@@ -108,0 +108,0 @@ dkim: { result: 'pass' }, |
@@ -45,3 +45,3 @@ const fs = require('fs'); | ||
header: | ||
'Authentication-Results: example.com; spf=none smtp.helo=domain.of.sender.net smtp.mailfrom=test.com; dkim=pass header.d=forwardemail.net; arc=pass; dmarc=fail (Used From Domain Record) header.from=gmail.com policy.dmarc=none', | ||
'example.com; spf=none smtp.helo=domain.of.sender.net smtp.mailfrom=test.com; dkim=pass header.d=forwardemail.net; arc=pass; dmarc=fail (Used From Domain Record) header.from=gmail.com policy.dmarc=none', | ||
spf: { | ||
@@ -48,0 +48,0 @@ result: 'none' |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
25074
169