sendmail/sendmail.etc-mail-Makefile
Thomas Woerner a849b7d235 [tw]
- using new syntax for access database (#177566)
- fixed failure message while shutting down sm-client (#119429) resolution:
    stop sm-client before sendmail
- fixed method to specify persistent queue runners (#126760)
- removed patch backup files from sendmail-cf tree (#152955)
- fixed missing dnl on SMART_HOST define (#166680)
- fixed wrong location of aliases and aliases.db file in aliases man page
    (#166744)
- enabled CipherList config option for sendmail (#172352)
- added user chowns for /etc/mail/authinfo.db and move check for cf files
    (#184341)
- fixed Makefile of vacation (#191396) vacation is not included in this
    sendmail package
- /var/log/mail now belongs to sendmail (#192850)
2006-07-18 15:01:41 +00:00

45 lines
1.1 KiB
Plaintext

# 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
@if test -f /etc/mail/authinfo.db; then \
/bin/chown smmsp:smmsp /etc/mail/authinfo.db; \
fi
userdb.db: userdb
@makemap btree $@ < $<
%.db: %
@makemap hash $@ < $<
%.cf: %.mc
@if test -f /usr/share/sendmail-cf/m4/cf.m4; then \
umask 022; \
[ -e $@ ] && mv -f $@ $@.bak; \
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