}
fi
+ipdrop() {
+ s iptables -A INPUT -s $1 -j DROP
+}
+
net-dev-info() {
e "lspci -nnk|gr -iA2 net"
lspci -nnk|gr -iA2 net
declare -gi _seq; _seq+=1
echo "test body" | m mail -s "test mail from $HOSTNAME, $_seq" "${@:-root@localhost}"
# for testing to send from an external address, you can do for example
- # -aFrom:ian@iank.bid web-6fnbs@mail-tester.com
+ # -fian@iank.bid -aFrom:ian@iank.bid web-6fnbs@mail-tester.com
# note in exim, you can retry a deferred message
# s exim -M MSG_ID
# MSG_ID is in /var/log/exim4/mainlog, looks like 1ccdnD-0001nh-EN