/*$Id: config.h,v 1.6 1996/12/26 17:23:39 srb Exp $*/

#define USEdot_lock	/**/
/*#define USEfcntl_lock /**/	    /* to test which combinations make sense */
/*#define USElockf	/**/	      /* run the lockingtest program part of */
/*#define USEflock	/**/		/* the procmail installation process */

/*#define SHADOW_PASSWD /**/		  /* shadow password library support */

#define USER		/**/			  /* comment out, to disable */
#define UIDL		/**/		  /* the optional command completely */
#define APOP		/**/
#define TOP		/**/

/*#define LAST_HACK	/**/		   /* uncomment to enable dummy LAST */
							 /* violates RFC1939 */

/************************************************************************
 * Only edit below this line if you *think* you know what you are doing *
 ************************************************************************/

/*#define SPOOLDIR	"/var/spool/mail/"	 /* watch the trailing slash */
#define PIDFILE		"/var/run/%s.pid"
#define FROM		"From "			 /* to separate the messages */
#define XFROM		"X-From_: "  /* use From_: and M$Exchange falls over */
#define ROOTDIR		"/"	    /* this is where we go when we daemonise */
#define POP3_PORT	110			       /* from /etc/services */
#define TIMEOUT		(10*60)		 /* minimum as specified by RFC 1939 */
#define LOCKSLEEP	8
#define LOWEST_UID	1	   /* decrease to allow root to pick up mail */
						       /* without using APOP */
#define QUIET		'q'
#define PORT		'p'
#define DEBUG		'd'
#define AUDIT		'a'
#define FVERSION	'v'
#define SABOTAGE_UIDL	'S'
#define AUTODELETE	'D'
#define BERKELEYFORMAT	'Y'			      /* nix Content-Length: */
#define USERF		'P'
#define UIDLF		'U'
#define APOPF		'A'
#define TOPF		'T'
#define HELP1		'h'
#define HELP2		'?'
#define USAGE		"Usage: %s [-vqaYdPUSDAT] [-p port]\n"
#define XUSAGE		\
 "\t-v\tdisplay the version number and exit\
\n\t-q\tquiet\
\n\t-a\tturn on auditing\
\n\t-d\tinteractive debug mode\
\n\t-P\tdisable optional USER and PASS command\
\n\t-U\tdisable optional UIDL command\
\n\t-S\tsabotage UIDL command (violates RFC1939)\
\n\t-D\tautodelete RETReived messages (violates RFC1939)\
\n\t-A\tdisable optional APOP command\
\n\t-T\tdisable optional TOP command\
\n\t-p port\tspecify port other than %d\n"

/*#define LOG_FAILED_PASSWORD			     /* log failed passwords */

#define COPYBUF		32768			/* when doing in-situ copies */
#define GROWSTEP	16
#define LOCKRACE	32
#define SPOOFMASK	0xffff

#define CONTLENGTH	"content-length:"
#define ARGLEN		40			 /* as specified by RFC 1939 */
#define UIDLLEN		70					/* same here */
#define LINEBUFLEN	(4+1+(ARGLEN+1)*2)    /* maximum command line length */
#define LISTEN_BACKLOG	128
#define TCP_PROT	6			      /* from /etc/protocols */
