projects
/
mmh
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added test-slocal.
[mmh]
/
h
/
mts.h
diff --git
a/h/mts.h
b/h/mts.h
index
ce063d9
..
1b8f71b
100644
(file)
--- a/
h/mts.h
+++ b/
h/mts.h
@@
-1,14
+1,12
@@
/*
* mts.h -- definitions for the mail system
/*
* mts.h -- definitions for the mail system
- *
- * $Id$
*/
/*
* Local and UUCP Host Name
*/
*/
/*
* Local and UUCP Host Name
*/
-char *LocalName(void);
+char *LocalName(int);
char *SystemName(void);
/*
char *SystemName(void);
/*
@@
-21,11
+19,10
@@
extern char *uucplfil;
#define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
#define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
#define MAILDIR (mmdfldir && *mmdfldir ? mmdfldir : getenv ("HOME"))
#define MAILFIL (mmdflfil && *mmdflfil ? mmdflfil : getusername ())
-#define UUCPDIR (uucpldir && *uucpldir ? uucpldir : getenv ("HOME"))
-#define UUCPFIL (uucplfil && *uucplfil ? uucplfil : getusername ())
char *getusername(void);
char *getfullname(void);
char *getusername(void);
char *getfullname(void);
+char *getlocalmbox(void);
/*
* Separators
/*
* Separators
@@
-44,16
+41,15
@@
void mts_init (char *);
/*
* MTS specific variables
*/
/*
* MTS specific variables
*/
-#if defined (SMTPMTS)
-/* whether to speak SMTP to localhost:25 or to /usr/sbin/sendmail */
-#define MTS_SMTP 0
-#define MTS_SENDMAIL 1
+/* whether to speak SMTP, and over the network or directly to sendmail */
+#define MTS_SMTP 0
+#define MTS_SENDMAIL_SMTP 1
+#define MTS_SENDMAIL_PIPE 2
extern int sm_mts;
extern int sm_mts;
+void save_mts_method (const char *);
-extern char *hostable;
extern char *sendmail;
extern char *sendmail;
-#endif
/*
* SMTP/POP stuff
/*
* SMTP/POP stuff
@@
-63,20
+59,6
@@
extern char *servers;
extern char *pophost;
/*
extern char *pophost;
/*
- * BBoards-specific variables
- */
-extern char *bb_domain;
-
-/*
- * POP BBoards-specific variables
- */
-#ifdef BPOP
-extern char *popbbhost;
-extern char *popbbuser;
-extern char *popbblist;
-#endif /* BPOP */
-
-/*
* Global MailDelivery File
*/
extern char *maildelivery;
* Global MailDelivery File
*/
extern char *maildelivery;