From 71ad8d11771a43c5c68bd0cfc33697ebb17734b1 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 10 Aug 2000 12:13:27 +0000 Subject: [PATCH] Tell mutt about the MAILDIR environment variable DJB talks about in maildir (5). --- init.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/init.c b/init.c index fefaaa61..8f45724b 100644 --- a/init.c +++ b/init.c @@ -1767,6 +1767,8 @@ void mutt_init (int skip_sys_rc, LIST *commands) if ((p = getenv ("MAIL"))) Spoolfile = safe_strdup (p); + else if ((p = getenv ("MAILDIR"))) + Spoolfile = safe_strdup (p); else { #ifdef HOMESPOOL -- 2.50.1