This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require ["imap4flags"]; | |
require ["encoded-character"]; | |
## No time to waste on your cute emails | |
if header :contains "Subject" [ | |
"${unicode:1F525}", | |
"${unicode:1F4A9}", | |
"${unicode:1F6BD}" | |
] { | |
addflag "\\Seen"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://al.mirror.kumi.systems/ubuntu/ | |
https://mirrors.eze.sysarmy.com/ubuntu/ | |
https://ubuntu.unc.edu.ar/ubuntu/ | |
https://mirror.internet.asn.au/pub/ubuntu/archive/ | |
https://ubuntu.mirror.digitalpacific.com.au/archive/ | |
https://mirror.aarnet.edu.au/pub/ubuntu/archive/ | |
https://mirror.as24220.net/pub/ubuntu-archive/ | |
https://mirror.as24220.net/pub/ubuntu/ | |
https://mirror.launtel.net.au/ubuntu/ | |
https://mirror.realcompute.io/ubuntu/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
domainlist single_domain_mx = aspmx.l.google.com : gmail-smtp-in.l.google.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# Python script to decrypt encrypted ENEX notes exported from Evernote as ENEX | |
# | |
# This will onle work on notes encypted after 2014 using the "ENC0" format | |
# | |
# This script requires a modified version of pbkdf2.py to support SHA256 | |
# https://github.com/PaulUithol/python-pbkdf2 | |
# | |
# There's no helpful error if your password was incorrect, it will just |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# tinydkim - takes an RSA public key on stdin and outputs a tinydns / djbdns DKIM record | |
# | |
# example: openssl rsa -in test.pem -pubout | ./tinydkim.py -s test -d foo.com | |
# | |
# TODO: add support for notes field? | |
# | |
# 2016 Lee Maguire |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# tinysshfp - takes the output of "ssh-keygen -r" and converts into tinydns | |
# | |
# example: ssh-keygen -r example.com | ./tinysshfp.py | |
# | |
# 2017 Lee Maguire | |
import getopt | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require ["enotify", "variables"]; | |
if header :contains ["Subject"] ["Urgent","Emergency","You done goofed"] { | |
if header :matches "Subject" "*" { set "subject" "${1}"; } | |
if header :matches "From" "*" { set "from" "${1}"; } | |
notify :importance "3" :from "New message notification <test@example.com>" :message "${from}: ${subject}" "mailto:0xdeadbeef@example.slack.com"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
received_header_text = Received: from ${if or{\ | |
{eq{$received_protocol}{local}}\ | |
{eq{$sender_host_address}{127.0.0.1}}\ | |
}{$primary_hostname}{${if def:authenticated_id \ | |
{SUBMISSION_IDENT}{$sender_rcvhost}}}\ | |
}\n\tby $primary_hostname (Exim)${if and{\ | |
{def:received_protocol}\ | |
{!eq{$received_protocol}{local}}\ | |
}{\n\twith ${uc:$received_protocol} ${if \ | |
def:tls_in_cipher {tls $tls_in_cipher_std (${sg{$tls_in_ver}{TLS}{}})${if \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Exim Mail Transport Agent | |
After=network.target | |
[Service] | |
PrivateTmp=true | |
Environment=QUEUEINTERVAL=30m | |
EnvironmentFile=-/etc/default/exim4 | |
ProtectSystem=full | |
PIDFile=/run/exim4/exim.pid |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## remove ECDHE support for curves less under 256 bits | |
tls_require_ciphers = ${if =={$received_port}{25}{NORMAL:%COMPAT:%SERVER_PRECEDENCE:-CURVE-SECP192R1:-CURVE-SECP224R1}{PFS:-DHE-RSA:-3DES-CBC:-CURVE-SECP192R1:-CURVE-SECP224R1}} |
OlderNewer