Skip to content

Instantly share code, notes, and snippets.

View Sp1l's full-sized avatar

Bernard Spil Sp1l

View GitHub Profile
@Sp1l
Sp1l / smtpd.conf
Last active August 29, 2015 14:20
table aliases db:/usr/local/etc/mail/aliases.db
table domains { example.org redacted }
table secrets db:/usr/local/etc/mail/secrets.db
# Define keys and certs
pki example.org certificate "/etc/ssl/certs/www.example.org.cer"
pki example.org key "/etc/ssl/priv/www.example.org.key"
# Inbound mail smtp, smtps, deliver
listen on em0 port 25 tls \
@Sp1l
Sp1l / jx.sh
Last active October 15, 2015 13:04
#!/bin/sh
# set -x
[ `id -u` -ne 0 ] && { echo Not root... exiting... ; exit 1 ; }
runJExec () {
# JailID is the first column
local jid jname rc

Keybase proof

I hereby claim:

  • I am Sp1l on github.
  • I am spil (https://keybase.io/spil) on keybase.
  • I have a public key whose fingerprint is 53CD 858B 6933 3369 CF82 E180 30C6 14DD DDF5 42A0

To claim this, I am signing this object:

@Sp1l
Sp1l / testssl.pl
Created March 19, 2015 13:28
Check supported ciphers
#!/usr/local/bin/perl
$openssl = '/usr/local/bin/openssl';
$ciphersuitelist = 'ALL';
#example for smtp. see man s_client for all
#$opensslargs .= '-starttls imap ';
$opensslargs .= '-starttls smtp ';
#$opensslargs .= '-ssl3 ';