X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=acconfig.h;h=3649bf33419ac15fd1bead9f25b8d396b60d076c;hp=5051962e663cbe8d61a1130a8b9a158111087d35;hb=d8916ff5d389de5ab225cd6f40aeda1b285d0f28;hpb=d3d0096ab170eec3ccfb35615a246a4d5d31b878 diff --git a/acconfig.h b/acconfig.h index 5051962..3649bf3 100644 --- a/acconfig.h +++ b/acconfig.h @@ -12,22 +12,6 @@ */ /* - * Turn on locale (setlocale) support - */ -#define LOCALE 1 - -/* - * Define to 1 the type of file locking to use. You need to - * make sure the type of locking you use is compatible with - * other programs which may modify your maildrops. - * Currently you can only use one type. - */ -#define DOT_LOCKING 1 -/* #define FCNTL_LOCKING 1 */ -/* #define LOCKF_LOCKING 1 */ -/* #define FLOCK_LOCKING 1 */ - -/* * If you have defined DOT_LOCKING, then the default is to * place the lock files in the same directory as the file that * is to be locked. Alternately, if you define LOCKDIR, you @@ -52,11 +36,25 @@ /* * 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 @@ -86,25 +84,19 @@ #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. @@ -112,137 +104,11 @@ #define LINK "@" /* - * If wait/waitpid returns an int (no union wait). - */ -#define WAITINT 1 - -/***** END USER CONFIGURATION SECTION *****/ -@TOP@ - -/* 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. - */ -#undef SMTPMTS - -/* - * Use sendmail as transport agent. Post messages by piping - * them directly to sendmail. - */ -#undef SENDMTS - -/* - * 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. - */ -#undef POP - -/* - * 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 - * '--with-krb4=PREFIX' to correctly build the kpop client support. - */ -#undef KPOP - -/* - * Define this to "pop" when using Kerberos V4 - */ -#undef KPOP_PRINCIPAL - -/* - * 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 - * '--with-hesiod=PREFIX' to correctly build Hesiod support. - */ -#undef HESIOD - -/* - * Compile in support for the Emacs front-end mh-e. - */ -#undef MHE - -/* Define to 1 if your termcap library has the ospeed variable */ -#undef HAVE_OSPEED -/* Define to 1 if you have ospeed, but it is not defined in termcap.h */ -#undef MUST_DEFINE_OSPEED - -/* Define to 1 if tgetent() accepts NULL as a buffer */ -#undef TGETENT_ACCEPTS_NULL - -/* Define to 1 if you have reliable signals */ -#undef RELIABLE_SIGNALS - -/* Define to 1 if you use POSIX style signal handling */ -#undef POSIX_SIGNALS - -/* Define to 1 if you use BSD style signal handling (and can block signals) */ -#undef BSD_SIGNALS - -/* Define to 1 if you use SYS style signal handling (and can block signals) */ -#undef SYSV_SIGNALS - -/* Define to 1 if you have no signal blocking at all (bummer) */ -#undef NO_SIGNAL_BLOCKING - -/* Define to `unsigned int' if or doesn't define */ -#undef sigset_t - -/* * Define to 1 if your vi has ATT bug, such that it returns * non-zero exit codes on `pseudo-errors'. */ #undef ATTVIBUG -/* - * Define to 1 if you need to make `inc' set-group-id because your mail spool is - * not world writable. There are no guarantees as to the safety of doing this, - * but this #define will add some extra security checks. - */ -#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 defines `struct winsize' in sys/ptem.h. */ -#undef WINSIZE_IN_PTEM - -/* Define to 1 if struct tm has gmtoff */ -#undef HAVE_TM_GMTOFF - -/* Define if your system has sigsetjmp */ -#undef HAVE_SIGSETJMP - -/* Define if your system has mkstemp */ -#undef HAVE_MKSTEMP +/***** END USER CONFIGURATION SECTION *****/ +@TOP@