From 8291c4b7504dd7a2e324c5fd0f84061588ec22e3 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 9 May 2017 11:46:09 -0400 Subject: Server: Use "postmaster" as default --from-email address rather than "unknown@server". --- Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Server.hs') 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 -- cgit v1.2.3