]> diplodocus.org Git - nmh/blob - h/rcvmail.h
Fix a segfault that happens when using the -file option.
[nmh] / h / rcvmail.h
1
2 /*
3 * rcvmail.h -- rcvmail hook definitions
4 */
5
6 #if defined(SMTPMTS)
7 # include <ctype.h>
8 # include <errno.h>
9 # include <stdio.h>
10 # include <sys/types.h>
11 # include <mts/smtp/smtp.h>
12 #endif /* SMTPMTS */
13
14
15 #if defined(SMTPMTS)
16 # define RCV_MOK 0
17 # define RCV_MBX 1
18 #endif /* SMTPMTS */
19
20
21 #ifdef NRTC /* sigh */
22 # undef RCV_MOK
23 # undef RCV_MBX
24 # define RCV_MOK RP_MOK
25 # define RCV_MBX RP_MECH
26 #endif /* NRTC */