Closed smfreegard closed 7 years ago
From README.md:
CONFIG See config/karma.ini for options and inline documentation.
The first few lines of karma.ini:
; karma.ini, see 'haraka -h karma'
; Redis: karma's high speed key/value store for concurrency, IP history,
; and AS history
[redis]
; host = 127.0.0.1
; port = 6379
; db = 1
PRs welcome.
Huh? - re-read the log line, it emits errors for every connection unless you put redis
in config/plugins
.
PRs welcome.
Dude - I'm never using this plugin again after today. I just thought you could use some help identifying where this is lacking is all being as I finally installed it.
it emits errors for every connection unless you put redis in config/plugins
Oh and bizarrely it works anyway - despite this error in the logs...
The full output - showing the problem
smf@i7desktop:~/test/Haraka$ node haraka
WARNING: Not running installed Haraka - command line arguments ignored
Returning boolean false for main.timestamps=false
loaded TLD files: 1=1534 2=6132 3=2170
loaded 8229 Public Suffixes
Returning boolean true for main.reject=true
Returning boolean false for main.allow_mx_ip=0
Returning boolean true for main.reject_no_mx=1
Returning boolean true for asn.enable=true
loglevel: LOGINFO
log format: DEFAULT
loglevel: LOGINFO
Starting up Haraka version 2.8.14
[INFO] [-] [core] Loading plugins
[INFO] [-] [core] Loading plugin: access
[INFO] [-] [access] skipping helo.checks.regexps
[INFO] [-] [core] Loading plugin: dnsbl
[INFO] [-] [core] Loading plugin: helo.checks
[INFO] [-] [core] Loading plugin: mail_from.is_resolvable
[INFO] [-] [core] Loading plugin: rcpt_to.in_host_list
[INFO] [-] [core] Loading plugin: data.headers
[INFO] [-] [core] Loading plugin: queue/smtp_forward
[INFO] [-] [core] Loading plugin: max_unrecognized_commands
[INFO] [-] [core] Loading plugin: tls
[INFO] [-] [core] loading tls.ini
[INFO] [-] [core] Loading plugin: karma
[NOTICE] [-] [core] Listening on :::2525
[INFO] [-] [karma] connected to redis://127.0.0.1:6379 v3.0.6
[INFO] [-] [core] [outbound] Loading outbound queue from /home/smf/test/Haraka/queue
smf@i7desktop:~/test/Haraka$ telnet localhost 2525
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
[NOTICE] [78330138-7681-4452-BF93-1228FBCD4DD4] [core] connect ip=127.0.0.1 port=53412 local_ip=:: local_port=2525
[ERROR] [78330138-7681-4452-BF93-1228FBCD4DD4] [karma] karma requires the redis plugin
[INFO] [78330138-7681-4452-BF93-1228FBCD4DD4] [karma] score: 0, good: 0, bad: 7, connections: 19, history: -7, fail:all_bad
220 haraka.test ESMTP Haraka 2.8.14 ready
QUIT
221 haraka.test closing connection. Have a jolly good day.
[INFO] [78330138-7681-4452-BF93-1228FBCD4DD4] [karma] score: 0, good: 0, bad: 7, connections: 19, history: -7, fail:all_bad
[NOTICE] [78330138-7681-4452-BF93-1228FBCD4DD4] [core] disconnect ip=127.0.0.1 rdns=Unknown helo="" relay=N early=N esmtp=N tls=N pipe=N errors=0 txns=0 rcpts=0/0/0 msgs=0/0/0 bytes=0 lr="" time=1.351
Connection closed by foreign host.
I just thought you could use some help identifying where this is lacking
Thanks. If you don't mind, I'll save my energy for those with an interest in using the plugin.
There is no mention in the documentation that the redis plugin is required and has to be added to
config/plugins
: