summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2017-05-09 06:34:22 -0700
committerJoey Hess <joeyh@joeyh.name>2017-05-09 11:50:29 -0400
commit0944d76aef1b47f4de8b297145b5fc3a9dcc61fc (patch)
tree693962165452cbc58a2a76bea71812fd770316b1
parent06c9a1fa4fd3d200e5f0b45d6e4f319789cd5582 (diff)
downloaddebug-me-0944d76aef1b47f4de8b297145b5fc3a9dcc61fc.tar.gz
expose --from-email in debug-me.default
The default "unknown@server" is likely to cause mail to be filtered as spam or simply not delivered. Expose --from-email in the defaults file to encourage administrators to change it.
-rw-r--r--debug-me.default6
1 files changed, 5 insertions, 1 deletions
diff --git a/debug-me.default b/debug-me.default
index 866dd5e..c64f106 100644
--- a/debug-me.default
+++ b/debug-me.default
@@ -1,2 +1,6 @@
+# Address from which session logs will be sent to the user.
+# This should be set to a real e-mail address.
+EMAIL="unknown@server"
+
# Parameters to pass to debug-me when it's started as a daemon.
-DAEMON_PARAMS="--server /var/log/debug-me/ --delete-old-logs"
+DAEMON_PARAMS="--server /var/log/debug-me/ --delete-old-logs --from-email $EMAIL"