haraka / Haraka

A fast, highly extensible, and event driven SMTP server
https://haraka.github.io
MIT License
5.02k stars 662 forks source link

SPF error #666

Closed msimerson closed 9 years ago

msimerson commented 10 years ago

I haven't been able to track this down yet.

Aug 30 23:41:37 filter1-mail haraka[72615]: [ERROR] [28A9241D-F4C7-4DE0-8643-228471492D06.1] [core] spf plugin ran callback multiple times - ignoring subsequent calls Aug 30 23:41:37 filter1-mail haraka[72615]: [ERROR] [28A9241D-F4C7-4DE0-8643-228471492D06.1] [core] Error at callback (/usr/local/lib/node_modules/Haraka/plugins.js:253:34) at Plugin.exports.return_results (/usr/local/lib/node_modules/Haraka/plugins/spf.js:210:20) at ch_cb (/usr/local/lib/node_modules/Haraka/plugins/spf.js:162:23) at mech_chain_caller (/usr/local/lib/node_modules/Haraka/spf.js:307:24) at SPF.mech_all (/usr/local/lib/node_modules/Haraka/spf.js:331:12) at mech_chain_caller (/usr/local/lib/node_modules/Haraka/spf.js:323:33) at SPF.mech_ip (/usr/local/lib/node_modules/Haraka/spf.js:637:12) at mech_chain_caller (/usr/local/lib/node_modules/Haraka/spf.js:323:33) at /usr/local/lib/node_modules/Haraka/spf.js:523:36 at asyncCallback (dns.js:68:16)

msimerson commented 10 years ago

And here's another fun SPF error:

Sep 1 03:21:45 filter1-mail haraka[41281]: [CRIT] [-] [core] SyntaxError: Invalid regular expression: /*.bahnhof.se$/: Nothing to repeat Sep 1 03:21:45 filter1-mail haraka[41281]: [CRIT] [-] [core] at new RegExp () Sep 1 03:21:45 filter1-mail haraka[41281]: [CRIT] [-] [core] at Object.onanswer as oncomplete Sep 1 03:21:45 filter1-mail haraka[41281]: [CRIT] [-] [core] at asyncCallback (dns.js:68:16) Sep 1 03:21:45 filter1-mail haraka[41281]: [CRIT] [-] [core] at /usr/local/lib/node_modules/Haraka/spf.js:584:34

smfreegard commented 10 years ago

Matt - what was the from domain for 28A9241D-F4C7-4DE0-8643-228471492D06 ??

msimerson commented 10 years ago

No idea, that log entry is all the info I have. This particular server is running at loglevel WARN.

smfreegard commented 10 years ago

LOGNOTICE is really the minimum level I'd run any system at. Doubt we'll be able to find a fix for this unless it happens again and have that information to hand as it's likely a busted SPF record that's causing it. I'll look at bahnhof.se in the meantime...