diff options
-rw-r--r-- | init.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |