Mercurial > hg > Applications > mh
diff support/bboards/mmdfII/bboards/mts.h @ 0:bce86c4163a3
Initial revision
author | kono |
---|---|
date | Mon, 18 Apr 2005 23:46:02 +0900 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/support/bboards/mmdfII/bboards/mts.h Mon Apr 18 23:46:02 2005 +0900 @@ -0,0 +1,112 @@ +/* mts.h - definitions for the mail system */ + + +/* Local and UUCP Host Name */ + +char *LocalName (), *SystemName (), *UucpChan (); + + +/* Mailboxes */ + +extern char *mmdfldir, + *mmdflfil, + *uucpldir, + *uucplfil; + +#define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME")) +#define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusr ()) +#define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME")) +#define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusr ()) + +char *getusr (), *getfullname (); + +char *getenv (); + + +/* Separators */ + +extern char *mmdlm1, + *mmdlm2; + +#define isdlm1(s) (strcmp (s, mmdlm1) == 0) +#define isdlm2(s) (strcmp (s, mmdlm2) == 0) + + +/* Filters */ + +extern char *umincproc; + + +/* Locking Directory */ + +#define LOK_UNIX 0 +#define LOK_BELL 1 +#define LOK_MMDF 2 + +#ifndef MMDFONLY +extern int lockstyle; +#endif MMDFONLY +extern char *lockldir; + +int lkopen (), lkclose (); +FILE *lkfopen (); +int lkfclose (); + +/* */ + +/* MTS specific variables */ + +#ifdef MHMTS +extern char *Mailqdir; +extern char *TMailqdir; +extern int Syscpy; +extern char *Overseer; +extern char *Mailer; +extern char *Fromtmp; +extern char *Msgtmp; +extern char *Errtmp; +extern int Tmpmode; +extern char *Okhosts; +extern char *Okdests; +#endif MHMTS + +#ifdef MMDFMTS +#endif MMDFMTS + +#ifdef SENDMTS +extern char *hostable; +extern char *sendmail; +#endif SENDMTS + + +/* SMTP/POP stuff */ + +extern char *servers; +extern char *pophost; + + +/* BBoards-specific variables */ + +extern char *bb_domain; + + +/* POP BBoards-specific variables */ + +#if defined(BPOP) || defined(NNTP) +extern char *popbbhost; +#endif +#ifdef BPOP +extern char *popbbuser; +extern char *popbblist; +#endif BPOP + + +/* MailDelivery */ + +extern char *maildelivery; + + +/* Aliasing Facility (doesn't belong here) */ + +extern int Everyone; +extern char *NoShell;