summaryrefslogtreecommitdiffhomepage
path: root/Server.hs
diff options
context:
space:
mode:
authorJoey Hess <joeyh@joeyh.name>2017-05-09 11:46:09 -0400
committerSean Whitton <spwhitton@spwhitton.name>2017-05-09 09:29:56 -0700
commit8291c4b7504dd7a2e324c5fd0f84061588ec22e3 (patch)
tree6c2f7b3c34983cd6de71ad874db6663257cffbcb /Server.hs
parent803721e46273a7b68aa4e5960b57eadb1ff1b968 (diff)
downloaddebug-me-8291c4b7504dd7a2e324c5fd0f84061588ec22e3.tar.gz
Server: Use "postmaster" as default --from-email address rather than "unknown@server".
Diffstat (limited to 'Server.hs')
-rw-r--r--Server.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Server.hs b/Server.hs
index d7a43a0..ce4242c 100644
--- a/Server.hs
+++ b/Server.hs
@@ -262,7 +262,7 @@ emailSessionLog email o logfile
| otherwise = return ()
where
to = Address Nothing email
- from = Address Nothing $ fromMaybe "unknown@server" (serverEmail o)
+ from = Address Nothing $ fromMaybe "postmaster" (serverEmail o)
subject = "Your recent debug-me session"
body = "Attached is the log from your recent debug-me session."
isemail = "@" `T.isInfixOf` email