/*
 * Copyright (c) 2002-2004 Sendmail, Inc. and its suppliers.
 *      All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENSE file which can be found at the top level of
 * the sendmail distribution.
 *
 *	$Id: qmgrcomm.h,v 1.12 2005/06/16 00:09:34 ca Exp $
 */

#ifndef SM_QMGRCOMM_H
#define SM_QMGRCOMM_H 1

#include "sm/generic.h"

#ifndef SMAR_TCP_NET
# define SMAR_TCP_NET	0
#endif /* ! SMAR_TCP_NET */

/* XXX HACK XXX See also checks/{mta-setup,startsmar}.sh XREF */
#define smsmtpssock "qmsmtps/qmsmtps"
#define smsmtpcsock "qmsmtpc/qmsmtpc"
#define smarsock "qmsmar/qmsmar"
#define smarip "127.0.0.1"
#define smarport 2501

/* maximum record length */
#define QM_SS_MAX_REC_LEN	16384
#define QM_SC_MAX_REC_LEN	16384
#define QM_AR_MAX_REC_LEN	(1024 * 1024)

#define QSS_RC_SZ	8192
#define QSS_RC_MAXSZ	QM_AR_MAX_REC_LEN

/* minimum size to read... make sure no RCB can be shorter than this! */
#define QSS_RC_MINSZ	28

#endif /* SM_QMGRCOMM_H */


syntax highlighted by Code2HTML, v. 0.9.1