various fixes and updates
[distro-setup] / mail-route
index 0b8908467b8e1b8996386f00d2fed1f144da8a15..a1c1b478a22d1ff16466bbb3a43e06c2b8088029 100755 (executable)
@@ -60,7 +60,7 @@ up() {
     fi
   fi
   e() { echo "$0: $*"; "$@"; }
-  _errcatch_cleanup=stop
+  err-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.