Chinaunix首页 | 论坛 | 博客
  • 博客访问: 173047
  • 博文数量: 59
  • 博客积分: 1410
  • 博客等级: 上尉
  • 技术积分: 580
  • 用 户 组: 普通用户
  • 注册时间: 2009-01-21 06:15
文章分类

全部博文(59)

文章存档

2011年(1)

2010年(1)

2009年(57)

我的朋友

分类: LINUX

2009-01-23 16:20:24

/etc/mail/submit.mc和/etc/mail/submit.cf配置文件也是sendmail服务器的重要文件,它与sendmail.cf和sendmail.mc文件相同.submit.cf是由文件submit.mc编译产生的,以下是submit.mc文件的解释.


divert(-1)
#
# Copyright (c) 2001-2003 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.
#
#

#
#  This is the prototype file for a set-group-ID sm-msp sendmail that
#  acts as a initial mail submission program.
#

divert(0)dnl
include(`/usr/share/sendmail-cf/m4/cf.m4')
VERSIONID(`linux setup for Red Hat Linux')dnl
define(`confCF_VERSION', `Submit')dnl
上句使用define定义了配置版本
define(`__OSTYPE__',`')dnl dirty hack to keep proto.m4 from complaining
上面一句表示,经过proto.m4程序的检查,将_OSTYPE_的值置空
define(`_USE_DECNET_SYNTAX_', `1')dnl support DECnet
上面一句表示,提供了对DECNET的支持
define(`confTIME_ZONE', `USE_TZ')dnl
定义系统时区
define(`confDONT_INIT_GROUPS', `True')dnl
表示禁止使用INIT_GROUPS程序
define(`confPID_FILE', `/var/run/sm-client.pid')dnl
dnl define(`confDIRECT_SUBMISSION_MODIFIERS',`C')
FEATURE(`use_ct_file')dnl
加载了信任的用户名单
dnl
dnl If you use IPv6 only, change [127.0.0.1] to [IPv6:::1]
为原配置文件中的最后一句,定义了msp的IP地址
FEATURE(`msp', `[127.0.0.1]')dnl

阅读(1545) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~