/*
* Define this if you do not want nmh to attach the local hostname
* to local addresses. You must also define DUMB. You probably
- * dont' need this unless you are behind a firewall.
+ * don't need this unless you are behind a firewall.
*/
/* #define REALLYDUMB 1 */
/*
+ * Starting on January 1, 2000, some MUAs like ELM and Ultrix's DXmail started
+ * generated bad dates ("00" or "100" for the year). If this #define is active,
+ * we use windowing to correct those dates to what we presume to be the intended
+ * values. About the only time this could get us into trouble would be if a MUA
+ * was generating a year of "00" in 2001 or later, due to an unrelated bug. In
+ * this case we would "correct" the year to 2000, which could result in
+ * inaccurate bug reports against the offending MUA. A much more esoteric case
+ * in which you might not want to #define this would be if you were OCR'ing in
+ * old written correspondence and saving it in email format, and you had dates
+ * of 1899 or earlier.
+ */
+#define FIX_NON_Y2K_COMPLIANT_MUA_DATES 1
+
+/*
* Directs inc/slocal to extract the envelope sender from "From "
* line. If inc/slocal is saving message to folder, then this
* sender information is then used to create a Return-Path
#define BUILTIN_FTP 1
/*
- * If you enable POP support, this is the the port name
- * that nmh will use. Make sure this is defined in your
- * /etc/services file (or its NIS/NIS+ equivalent). If you
- * are using KPOP, you will probably need to change this
- * to "kpop".
+ * If you enable POP support, this is the the port name that nmh will use. Make
+ * sure this is defined in your /etc/services file (or its NIS/NIS+ equivalent).
+ * If you are using KPOP, you will need to change this to "kpop" unless you want
+ * to be able to use both POP3 _and_ Kerberized POP and plan to use inc and
+ * msgchk's -kpop switch every time in the latter case.
*/
#define POPSERVICE "pop3"
/*
* Define the default creation modes for folders and messages.
*/
-#define DEFAULT_FOLDER_MODE "0700"
-#define DEFAULT_MESSAGE_MODE "0600"
-
-/*
- * The prefix which is prepended to the name of messages when they
- * are "removed" by rmm. This should typically be `,' or `#'
- */
-#define BACKUP_PREFIX ","
+#define DEFAULT_FOLDER_MODE "700"
+#define DEFAULT_MESSAGE_MODE "600"
/*
* Name of link to file to which you are replying.
*/
#define WAITINT 1
+/* The following are autoconfigured, but you may wish to override the
+ * decisions of autoconf (and AC_CANONICAL_SYSTEM) and do your own
+ * thing. If so, you can modify the definitions. The Comments are as
+ * useful as ever. */
+
+/* these three are only used in vmh.c, which currently is not being
+ * built anyway. -Doug */
+/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
+#undef SYS5
+/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
+#undef SVR4
+/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody */
+#undef BSD44
+
+/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody
+ * -- does PicoBSD have uname? :) */
+#undef BSD42
+
+/* Defined for SCO5 */
+#undef SCO_5_STDIO
+
+/* This tells nmh to use the Linux _IO_*_ptr defines from libio.h */
+#undef LINUX_STDIO
+
+
/***** END USER CONFIGURATION SECTION *****/
/* Define to empty if the keyword does not work. */
/* Define vfork as fork if vfork does not work. */
#undef vfork
-/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX, SCO5 */
-#undef SYS5
-
-/* Defined for Solaris 2.x, Irix, OSF/1, HP-UX, AIX */
-#undef SVR4
-
-/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS -- does
- * PicoBSD have uname? :) */
-#undef BIND
-#undef BSD42
-
-/* Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS */
-#undef BSD44
-
-/* Defined for SCO5 */
-#undef SCO_5_STDIO
-
-/* Defined for Linux */
-#undef LINUX_STDIO
-
/*
- * Define this if you want SMTP (simple mail transport protocol)
- * support. When sending mail, instead of passing the message to
- * the mail transport agent (typically sendmail), nmh will open a
- * socket connection to the mail port on the machine specified in
- * the `mts.conf' file (default is localhost), and speak SMTP directly.
+ * The prefix which is prepended to the name of messages when they
+ * are "removed" by rmm. This should typically be `,' or `#'
*/
-#undef SMTPMTS
+#define BACKUP_PREFIX ","
/*
- * Use sendmail as transport agent. Post messages by piping
- * them directly to sendmail.
+ * Define this if you want SMTP (simple mail transport protocol)
+ * support. This is currently always enabled.
*/
-#undef SENDMTS
+#define SMTPMTS 1
/*
* Define this to compile client-side support for pop into
* inc and msgchk. Do not change this value manually. You
- * must run configure with the '--enable-nmh-pop' option
- * to correctly build the pop client support.
+ * must run configure with the '--enable-pop' option to
+ * correctly build the pop client support.
*/
#undef POP
/*
+ * Define this to compile client-side support for apop into
+ * inc and msgchk. Do not change this value manually. You
+ * must run configure with the '--enable-apop' option to
+ * correctly build the apop client support.
+ */
+#undef APOP
+
+/*
* Define this to compile client-side support for kpop
* (kerberized pop) into inc and msgchk. Do not change this
* value manually. You must run configure with the option
#undef KPOP_PRINCIPAL
/*
+ * Define this to use the Cyrus SASL library for authentication of
+ * POP and SMTP
+ */
+#undef CYRUS_SASL
+
+/*
* Define this to compile support for using Hesiod to locate
* pop servers into inc and msgchk. Do not change this value
* manually. You must run configure with the option
*/
#undef MAILGROUP
-/* Define ruserpass as _ruserpass if your libraries have a bug *
- * such that it can't find ruserpass, but can find _ruserpass. */
-#undef ruserpass
-
/* Define if your system defines TIOCGWINSZ in sys/ioctl.h. */
#undef GWINSZ_IN_SYS_IOCTL
/* Define if your system has sigsetjmp */
#undef HAVE_SIGSETJMP
+/* Define if your system has gethostbyname */
+#undef HAVE_GETHOSTBYNAME
+
+/* Define to the header containing the declaration of initgroups() on your
+ system, if any. AIX 4.[13], SunOS 4.1.3, and ULTRIX 4.2A have the function
+ in libc but don't have a declaration anywhere. */
+#undef INITGROUPS_HEADER
+
+/* Define if your system actually has a prototype for snprintf() in <stdio.h>
+ (or a file it includes) rather than just having a "stealth" definition of it
+ in libc.a the way AIX 4.1 does. */
+#undef HAVE_SNPRINTF_PROTOTYPE
+
+/* Define if you have the getutent function. */
+#undef HAVE_GETUTENT
+
/* Define if you have the killpg function. */
#undef HAVE_KILLPG
/* Define if you have the mkstemp function. */
#undef HAVE_MKSTEMP
+/* Define if you have the sethostent function. */
+#undef HAVE_SETHOSTENT
+
/* Define if you have the sigaction function. */
#undef HAVE_SIGACTION
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
+/* Define if you have the <netdb.h> header file. */
+#undef HAVE_NETDB_H
+
/* Define if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
+/* Define if you have the lockfile library (-llockfile). */
+#undef HAVE_LIBLOCKFILE
+
/* Define if you have the m library (-lm). */
#undef HAVE_LIBM