勇顺 张 写道:
为什么每次机子起动都要到/etc/mail下找makefile
它究竟要make什么,找不到makefile就是error
所以我touch了一个,
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱 http://cn.mail.yahoo.com
雅虎助手¨D搜索、杀毒、防骚扰 http://cn.zs.yahoo.com
下面的内容是我的Redhat服务器上的,其实就是sendmail的一个文件,应该通用,
不过我很奇怪,在debian中默认安装exim替代 sendmail,应该不会有这个文件的
需求的!
[EMAIL PROTECTED] mail]# cat Makefile
# These could be used by sendmail, but are not part of the default install.
# To use them you will have to generate your own sendmail.cf with
# FEATURE('whatever')
#
POSSIBLE += $(shell test -f bitdomain echo bitdomain.db)
POSSIBLE += $(shell test -f uudomain echo uudomain.db)
POSSIBLE += $(shell test -f genericstable echo genericstable.db)
POSSIBLE += $(shell test -f userdb echo userdb.db)
POSSIBLE += $(shell test -f authinfo echo authinfo.db)
CFFILES = sendmail.cf submit.cf
all: ${CFFILES} ${POSSIBLE} virtusertable.db access.db domaintable.db
mailertable.db
userdb.db: userdb
@makemap btree $@ $
%.db: %
@makemap hash $@ $
%.cf: %.mc
@if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
umask 022; \
mv -f $@ [EMAIL PROTECTED]; \
m4 $ $@; \
else \
echo -e WARNING: '$' is modified. Please install package sendmail-cf
to update your configuration.; \
fi
clean:
rm -f *.db *~
start:
service sendmail start
stop:
service sendmail stop
restart:
service sendmail restart
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]