Example Domain: mydomain.com
foo@bar:~$ apt-get install bind9
foo@bar:~$ cd /etc/bind
This list was originally present the wiki for this mailserver repository wiki page. I've created a gist with it as it is something that can be useful per se and I'd like to keep a copy of it.
A Feedback Loop (FBL) is a system by which an Internet Service Provider provides the sender a copy of the message that one of their subscribers has reported as spam — usually by hitting a “report spam” button in that ISP’s mail interface.
ISPs offer feedback loops to qualified senders, so the senders can identify subscribers who no longer want to receive similar mail and/or any problems originating from their networks, such as virus-infected spam-producing machines.
This page summarizes the information about FBL signup pages, whitelist pages, and postmaster pages of most popular ISPs around the world.
ISP | Info | Postmaster Page |
---|
# <SRCUSER> <SRCPW> <DSTUSER> <DSTPW> |
declare -a DIRS | |
savedir() { | |
local i | |
for ((i=1;i<=9;i++)); do | |
test "$1" = "${DIRS[$i]}" && return | |
done | |
for ((i=9;i>1;i--)); do | |
DIRS[$i]="${DIRS[((i-1))]}" | |
done |
$ wp post list --format=ids | xargs wp post update --comment_status=closed | |
# Output: | |
# Success: Updated post 2514. | |
# Success: Updated post 2511. | |
# Success: Updated post 2504. | |
# Success: Updated post 2499. | |
# Success: Updated post 2441. | |
# etc... |
#!/bin/bash | |
# https://checkmk.com/download | |
if [ -n `command -v ufw` ]; then | |
ufw allow 22/tcp | |
ufw allow 80/tcp | |
ufw allow 443/tcp | |
ufw reload | |
fi |
#!/bin/bash | |
# NOTE: route command is part of dnsutils package on Debian, and net-tools on Ubuntu | |
# Based on following Stack Overflow answer: | |
# https://stackoverflow.com/questions/14594151/methods-to-detect-public-ip-address-in-bash/22209864#22209864 | |
MAINIF=$( route -n | grep '^0\.0\.0\.0' | head -n 1 | awk '{print $NF}' ) | |
IP=$( ifconfig $MAINIF | awk -v row=2 'FNR == 'row' {print $2}' ) | |
echo $IP |
#!/bin/bash | |
# WordPress install script | |
# This is a snippet from USet. It is not functional on its own. | |
# Project URL: https://github.com/sitemapxml/USet | |
# config.txt | |
# Wordpress settings | |
conf_wp_wget_locale='https://wordpress.org/latest.tar.gz' | |
conf_wp_aditional_php_extensions='php-xmlrpc php-exif' |
#!/bin/bash | |
text=$(curl -s 'https://baconipsum.com/api/?type=meat-and-filler') | |
pager() { | |
# if stdout is not to a TTY, copy directly w/o paging | |
[ -t 1 ] || { cat; return; } | |
if [ -n "$PAGER" ]; then | |
"$PAGER" |
#!/bin/bash | |
usage() { | |
cat << EOT | |
usage $0 [-hgw] | |
$0 -m MESSAGE | |
OPTIONS |