Skip to content

Instantly share code, notes, and snippets.

View Infern1's full-sized avatar

Rob Lensen Infern1

  • The Netherlands
View GitHub Profile
jexec stage git clone --depth=1 https://github.com/haraka/Haraka.git /root/Haraka
Cloning into '/root/Haraka'...
remote: Enumerating objects: 404, done.
remote: Counting objects: 100% (404/404), done.
remote: Compressing objects: 100% (367/367), done.
remote: Total 404 (delta 19), reused 158 (delta 11), pack-reused 0
Receiving objects: 100% (404/404), 2.18 MiB | 4.08 MiB/s, done.
Resolving deltas: 100% (19/19), done.
jexec stage npm set user 0
jexec stage npm set -g unsafe-perm true
*** installing dovecot TLS certificates ***
require ["vnd.dovecot.pipe", "copy", "imapsieve", "environment", "variables"];
if environment :matches "imap.mailbox" "*" {
set "mailbox" "${1}";
}
if string "${mailbox}" "Trash" {
stop;
#pkg info root@php7
ImageMagick7-nox11-7.0.0.0.b20151006 Image processing tools (unstable version)
ack-2.14_1 Grep-like text finder for large trees of text
aspell-0.60.6.1_5 Spelling checker with better suggestion logic than ispell
autoconf-2.69 Automatically configure source code on many Un*x platforms
autoconf-wrapper-20131203 Wrapper script for GNU autoconf
bash-4.3.42 The GNU Project's Bourne Again SHell
bison-2.7.1,1 Parser generator from FSF, (mostly) compatible with Yacc
ca_root_nss-3.20 Root certificate bundle from the Mozilla Project
cups-client-2.0.3_2 Common UNIX Printing System: Library cups
May 13 12:34:41 smtp haraka[90242]: [NOTICE] [B2CFA1D6-FD3F-42DD-999D-F3362D7B39C8] [core] connect ip=198.2.190.45 port=62642 local_ip=127.0.0.9 local_port=25
May 13 12:34:41 smtp haraka[90242]: [INFO] [B2CFA1D6-FD3F-42DD-999D-F3362D7B39C8] [connect.p0f] os="Linux 3.1-3.10" link_type="generic tunnel or VPN" distance=12 total_conn=1 sh
ared_ip=N
May 13 12:34:42 smtp haraka[94078]: [ERROR] [-] [connect.asn] [Error: timeout]
May 13 12:34:42 smtp haraka[94078]: [WARN] [-] [dnsbl] zone 'pbl.spamhaus.org' did not respond to test point (null)
May 13 12:34:42 smtp haraka[94078]: [WARN] [-] [dnsbl] disabling zone 'pbl.spamhaus.org'
May 13 12:34:43 smtp haraka[94078]: [INFO] [-] [connect.asn] origin.asn.cymru.com succeeded
May 13 12:34:45 smtp haraka[90242]: [ERROR] [B2CFA1D6-FD3F-42DD-999D-F3362D7B39C8] [connect.asn] timeout
May 13 12:34:46 smtp haraka[90242]: [INFO] [B2CFA1D6-FD3F-42DD-999D-F3362D7B39C8] [connect.asn] asn: 14782, net: 198.2.190.0/24, cymru: [object Object]
May 13 12:34:46 smtp haraka[90242]: [CRIT] [
~ # tcpdump -vvv -l -r cap.cap root@smtp
reading from file cap.cap, link-type EN10MB (Ethernet)
14:08:07.496682 IP (tos 0x0, ttl 56, id 55107, offset 0, flags [DF], proto TCP (6), length 60)
mx1.leijgraaf.nl.35947 > vps1.bsdfreaks.nl.smtp: Flags [S], cksum 0x8981 (correct), seq 1847200253, win 14600, options [mss 1380,sackOK,TS val 3928418180 ecr 0,nop,wscale 7], length 0
14:08:07.500408 IP (tos 0x0, ttl 56, id 55108, offset 0, flags [DF], proto TCP (6), length 52)
mx1.leijgraaf.nl.35947 > vps1.bsdfreaks.nl.smtp: Flags [.], cksum 0xda5a (correct), seq 1847200254, ack 2181234682, win 115, options [nop,nop,TS val 3928418184 ecr 482768736], length 0
14:08:11.849886 IP (tos 0x0, ttl 56, id 55109, offset 0, flags [DF], proto TCP (6), length 52)
mx1.leijgraaf.nl.35947 > vps1.bsdfreaks.nl.smtp: Flags [.], cksum 0xb82a (correct), seq 0, ack 57,
Apr 25 00:08:07 smtp haraka[78894]: [NOTICE] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [core] connect ip=195.128.129.8 port=58340 local_ip=127.0.0.9 local_port=25
Apr 25 00:08:07 smtp haraka[78894]: [INFO] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [connect.p0f] os="Linux 3.1-3.10" link_type="generic tunnel or VPN" distance=8 total_conn=54 shared_ip=N
Apr 25 00:08:07 smtp haraka[78894]: [INFO] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [connect.asn] asn: 28878, net: 195.128.129.0/24, cymru: [object Object]
Apr 25 00:08:07 smtp haraka[78894]: [INFO] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [connect.fcrdns] ip=195.128.129.8 rdns="mx1.leijgraaf.nl" rdns_len=1 fcrdns="mx1.leijgraaf.nl" fcrdns_len=1 other_ips_len=
0 invalid_tlds=0 generic_rdns=true
Apr 25 00:08:07 smtp haraka[78894]: [INFO] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [connect.p0f] os="Linux 3.1-3.10" link_type="generic tunnel or VPN" distance=8 total_conn=54 shared_ip=N
Apr 25 00:08:07 smtp haraka[78894]: [INFO] [DECBBC8F-84A6-4A26-9673-D8F5FC94EB17] [karma] applie
Dec 10 13:51:13 smtp haraka[63042]: [NOTICE] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [core] connect ip=fde5:af6b:54bc:1cbe::9 port=51327 local_ip=fde5:af6b:54bc:1cbe::9 local_port=25
Dec 10 13:51:13 smtp haraka[63042]: [INFO] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [core] HAProxy: proto=TCP6 src_ip=fde5:af6b:54bc:1cbe::9:51327 dst_ip=fde5:af6b:54bc:1cbe::9:25
Dec 10 13:51:13 smtp haraka[63042]: [INFO] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [core] client [fde5:af6b:54bc:1cbe::9] connection error: Error: read ECONNRESET
Dec 10 13:51:13 smtp haraka[63042]: [ERROR] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [karma] karma results absent!
Dec 10 13:51:13 smtp haraka[63042]: [NOTICE] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [core] disconnect ip=fde5:af6b:54bc:1cbe::9 rdns="" helo="" relay=N early=N esmtp=N tls=N pipe=N txns=0 rcpts=0/0/0 msgs=0/0/0 bytes=0 lr="" time=0.004
Dec 10 13:51:13 smtp haraka[63042]: [ERROR] [6F31C31F-1E8E-4EC0-9242-CC077AD19C09] [connect.p0f] no p0f results
Dec 10 11:46:11 smtp haraka[63040]: [NOTICE] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [core] connect ip=fde5:af6b:54bc:1cbe::9 port=45577 local_ip=fde5:af6b:54bc:1cbe::9 local_port=25
Dec 10 11:46:11 smtp haraka[63040]: [INFO] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [core] HAProxy: proto=TCP6 src_ip=fde5:af6b:54bc:1cbe::9:45577 dst_ip=fde5:af6b:54bc:1cbe::9:25
Dec 10 11:46:11 smtp haraka[63040]: [ERROR] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [connect.p0f] no p0f results
Dec 10 11:46:11 smtp haraka[63040]: [ERROR] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [connect.asn] queryTxt ENOTFOUND
Dec 10 11:46:11 smtp haraka[63040]: [INFO] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [connect.fcrdns] ptr_multidomain: false, has_rdns: false, ptr_name_has_ips: false, ptr_name_to_ip: [object Object], fail:has_rdns
Dec 10 11:46:11 smtp haraka[63040]: [INFO] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [karma] applied results.connect.fcrdns.fail:-1
Dec 10 11:46:11 smtp haraka[63040]: [INFO] [7A268493-210D-4901-A1E5-4BBAD7630EA2] [access] whit
Dec 10 01:37:17 smtp haraka[58328]: [NOTICE] [A48A7C46-9730-413A-B35C-C3981975C559] [core] connect ip=fde5:af6b:54bc:1cbe::9 port=53995 local_ip=fde5:af6b:54bc:1cbe::9 local_port=25
Dec 10 01:37:17 smtp haraka[58328]: [ERROR] [A48A7C46-9730-413A-B35C-C3981975C559] [connect.p0f] no p0f results
Dec 10 01:37:17 smtp haraka[58328]: [ERROR] [-] [connect.asn] error: Error: queryTxt ENOTFOUND running: fde5:af6b:54bc:1cbe::9.origin.asn.cymru.com
Dec 10 01:37:17 smtp haraka[58328]: [ERROR] [A48A7C46-9730-413A-B35C-C3981975C559] [connect.asn] queryTxt ENOTFOUND
Dec 10 01:37:17 smtp haraka[58328]: [INFO] [A48A7C46-9730-413A-B35C-C3981975C559] [connect.fcrdns] ptr_multidomain: false, has_rdns: false, ptr_name_has_ips: false, ptr_name_to_ip: [object Object], f
ail:has_rdns
Dec 10 01:37:17 smtp haraka[58328]: [INFO] [A48A7C46-9730-413A-B35C-C3981975C559] [karma] applied results.connect.fcrdns.fail:-1
Dec 10 01:37:17 smtp haraka[58328]: [INFO] [A48A7C46-9730-413A-B35C-C3981975C559] [karma] applied early_talker:-4
Dec 10 01:
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] Error: ipaddr: string is not formatted like ip address
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at Function.ipaddr.IPv4.parse.ipaddr.IPv6.parse (/usr/local/lib/node_modules/Haraka/node_modules/ipaddr.js/lib/ipaddr.js:372:13)
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at /usr/local/lib/node_modules/Haraka/connection.js:122:28
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at Array.some (native)
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at setupClient (/usr/local/lib/node_modules/Haraka/connection.js:121:23)
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at new Connection (/usr/local/lib/node_modules/Haraka/connection.js:190:5)
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at Object.exports.createConnection (/usr/local/lib/node_modules/Haraka/connection.js:196:13)
Dec 10 01:25:59 smtp haraka[54901]: [CRIT] [-] [core] at conn_cb (/usr/local/lib/node_modules/Haraka/server.js: