various fixes and improvements
[distro-setup] / mail-route
index 0b8908467b8e1b8996386f00d2fed1f144da8a15..2dc237da63c3b563716d1c9616e5d07c1ebb4a63 100755 (executable)
@@ -60,7 +60,7 @@ up() {
     fi
   fi
   e() { echo "$0: $*"; "$@"; }
-  _errcatch_cleanup=stop
+  errcatch-cleanup() { stop; }
   modify
   # we leave it as is even when stopping, because we would like it to be default, but the only way
   # to change the default is for every device, and I want to avoid that, even though I wouldn't mind, others users of this script might.
@@ -186,3 +186,7 @@ exit 0
 # background: something like this does not work for packets which
 # exim is replying to. I don't know why.
 #iptables -t mangle -A OUTPUT -m owner --uid-owner Debian-exim -j MARK --set-mark 0x1
+#
+# note: exim will misreport the I= interface for remote hosts that would
+# not use the default route. It still goes through the vpn, you can
+# verify with tcpdump.