divert(-1) # # Copyright (c) 1998, 1999 Sendmail, Inc. and itssuppliers. # All rights reserved. # Copyright (c) 1983 Eric P. Allman. All rights reserved. # Copyright (c) 1988, 1993 # The Regents of the University of California. All rightsreserved. # # By using this file, you agree to the terms andconditions set # forth in the LICENSE file which can be found at the toplevel of # the sendmail distribution. # # # # This is a generic configuration file for Linux. # It has support for local and SMTP mail only. If youwant to # customize it, copy it to a name appropriate for yourenvironment # and do the modifications there. # divert(0)dnl VERSIONID(`$Id: generic-linux.mc,v 8.1 1999/09/24 22:48:05 gshapiro Exp and local id =200306191358yo$') OSTYPE(linux)dnl ## sendmail-8.12.9/cf/ostype/linux.m4が利用される DOMAIN(generic)dnl ## sendmail-8.12.9/cf/domain/generic.m4が利用される FEATURE(`mailertable')dnl ##サブドメイン宛などの配送テーブル define(`confCR_FILE',`/etc/mail/relay-domains')dnl ##cr_fileが/etc/mail/relay-domainsであることを明示 define(`confCW_FILE',`/etc/mail/local-host-names')dnl ##cw_fileが/etc/mail/local-host-namesであることを明示 FEATURE(`use_cw_file')dnl ##cw_fileを使うことを宣言 FEATURE(`virtusertable',`hash -o /etc/mail/virtusertable')dnl ##virtusertableを使う事を宣言 FEATURE(`access_db',`hash -T -o /etc/mail/access')dnl ##access.dbを使う事を設定 define(`confPRIVACY_FLAGS',`goaway,restrictmailq')dnl ##プライバシーフラグの設定 define(`confMAX_MESSAGE_SIZE',`1073741824')dnl ##最大配送サイズを10MBに制限 define(`confMAX_HOP',`25')dnl ##最大ホップ数を25迄と設定 define(`confMIN_QUEUE_AGE',`30m')dnl ##配送できなかったキューイングされたメッセージを30分置きに再配送 define(`confTO_QUEUEWARN',`3h')dnl ##キューされたメールが届いていないことを3時間置きに送信者に通知 define(`confTO_QUEUERETURN',`1d')dnl ##配信不可能なメールの最大キューイング期間を1日とする dnl ###########以下の2行はSMTPAUTHの設定############################### TRUST_AUTH_MECH(`LOGIN PLAIN CRAM-MD5 DIGEST-MD5')dnl ##左記の認証方式で認証した場合にRELAYを許可する。ただし、ユーザーがこの認証方式で認証されない場合はaccess.dbなどのリレー制御が有効となる。 define(`confAUTH_MECHANISMS',`LOGIN PLAIN CRAM-MD5 DIGEST-MD5')dnl ##セッション時にAUTHコマンドで利用する認証方式で、基本的にはtrust_auth..で指定したものを使う undefine(`UUCP_RELAY')dnl ##uucpを扱わないようにする undefine(`BITNET_RELAY')dnl ##bitnetを扱わないようにする MAILER(local)dnl ##ローカルメールスプールへのメール配送システムで使わなくとも必ず指定しておく事、sendmail-8.12.9/cf/mailer/local.m4が利用される MAILER(smtp)dnl ##リモートへのメール配送システムで、SMTP、sendmail-8.12.9/cf/mailer/smtp.m4が利用される