}
-# mail related
+### mail related
+
+# testmail above calls sendmail, which is a link to exim/postfix.
+# its docs dont say a way of adding an argument
+# to sendmail to turn on debug output. We could make a wrapper, but
+# that is a pain. Exim debug args are documented here:
+# http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html
+#
+# http://www.exim.org/exim-html-current/doc/html/spec_html/ch-building_and_installing_exim.html
+# note, for exim daemon, you can turn on debug options by
+# adding -d, etc to COMMONOPTIONS in
+# /etc/default/exim4
+#
+# to specify recipients other than those in to, cc, bcc, you can use the cli args, eg:
+# exim -t 'test@zroe.org, t2@zroe.org' <<'EOF'
+#
+# -t = get recipient from header
testexim() {
- # testmail above calls sendmail, which is a link to exim/postfix.
- # its docs dont say a way of adding an argument
- # to sendmail to turn on debug output. We could make a wrapper, but
- # that is a pain. Exim debug args are documented here:
- # http://www.exim.org/exim-html-current/doc/html/spec_html/ch-the_exim_command_line.html
- #
- # http://www.exim.org/exim-html-current/doc/html/spec_html/ch-building_and_installing_exim.html
- # note, for exim daemon, you can turn on debug options by
- # adding -d, etc to COMMONOPTIONS in
- # /etc/default/exim4
- #
- # to specify recipients other than those in to, cc, bcc, you can use the cli args, eg:
- # exim -t 'test@zroe.org, t2@zroe.org' <<'EOF'
- #
- # -t = get recipient from header
exim -d -t <<EOF
From: ian@iankelling.org
To: submit@b.b8.nz