summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorJan Rekorajski <baggins@sith.mimuw.edu.pl>2000-12-04 20:59:12 +0000
committerJan Rekorajski <baggins@sith.mimuw.edu.pl>2000-12-04 20:59:12 +0000
commit22e6ce5f33d486d0df8213e9f94254afd5ea19e0 (patch)
treeb643e896b665872b03fe0597285bd1bcb951f484 /modules
parentf2f7c96e3c19f0cdfaa9153b1c0faeee1714c5b7 (diff)
Relevant BUGIDs: 124397
Purpose of commit: new feature Commit summary: --------------- * pam_mail - use PAM_PATH_MAILDIR as the location of mail spool
Diffstat (limited to 'modules')
-rw-r--r--modules/pam_mail/pam_mail.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/modules/pam_mail/pam_mail.c b/modules/pam_mail/pam_mail.c
index 4f1152b3..35a6b9f2 100644
--- a/modules/pam_mail/pam_mail.c
+++ b/modules/pam_mail/pam_mail.c
@@ -8,14 +8,6 @@
* mailhash additions by Chris Adams <cadams@ro.com> 1998/7/11
*/
-#define DEFAULT_MAIL_DIRECTORY "/var/spool/mail"
-#define MAIL_FILE_FORMAT "%s%s/%s"
-#define MAIL_ENV_NAME "MAIL"
-#define MAIL_ENV_FORMAT MAIL_ENV_NAME "=%s"
-#define YOUR_MAIL_VERBOSE_FORMAT "You have %s mail in %s."
-#define YOUR_MAIL_STANDARD_FORMAT "You have %smail."
-#define NO_MAIL_STANDARD_FORMAT "No mail."
-
#include <security/_pam_aconf.h>
#include <ctype.h>
@@ -34,6 +26,14 @@
#include <pwdb/pwdb_public.h>
#endif
+#define DEFAULT_MAIL_DIRECTORY PAM_PATH_MAILDIR
+#define MAIL_FILE_FORMAT "%s%s/%s"
+#define MAIL_ENV_NAME "MAIL"
+#define MAIL_ENV_FORMAT MAIL_ENV_NAME "=%s"
+#define YOUR_MAIL_VERBOSE_FORMAT "You have %s mail in %s."
+#define YOUR_MAIL_STANDARD_FORMAT "You have %smail."
+#define NO_MAIL_STANDARD_FORMAT "No mail."
+
/*
* here, we make a definition for the externally accessible function
* in this file (this definition is required for static a module