#pragma section-numbers off [[TableOfContents]] = 概要 = = 公式サイト = [http://www.sendmail.org/ Sendmail Home Page] [http://www.sendmail.org/jp/ Sendmail ホームページ] = 関連サイト = = インストール = 通常は最初からインストールされてしまっているかもしれない。 {{{ yum install sendmail yum install sendmail-cf.i386 }}} バージョン確認をしておく事 {{{ $ /usr/sbin/sendmail.sendmail -d0.1 -bv }}} = 設定 = [http://centossrv.com/sendmail.shtml メールサーバー構築(sendmail+Dovecot) - CentOSで自宅サーバー構築] [http://fumika.jp/nikki/2004/09/sendmail-masquerade Sendmail の MASQUERADE_DOMAIN 設定] {{{ sudo vi /etc/mail/sendmail.mc m4 /usr/share/sendmail-cf/m4/cf.m4 /etc/mail/sendmail.mc > /etc /mail/sendmail.cf echo `hostname -d` >> /etc/mail/local-host-names }}} [http://grin.flagbind.jp/archives/2005/06/09/index.html 2005年06月09日 アーカイブ sendmail バナー情報隠蔽メモ] = アカウントの作成 = [http://www.stackasterisk.jp/tech/systemConstruction/sendmailSec02_01.jsp Sendmailによるセキュアメールサーバ構築第2回:セキュアメールサーバ構築] {{{ sudo /usr/sbin/useradd -s /sbin/nologin sakito }}} = 容量制限 = [http://www.linux.or.jp/JF/JFdocs/Quota/setup2.html quota の設定 - パート2:ユーザとグループに quota を割り当てる] [http://www.atmarkit.co.jp/flinux/rensai/linuxtips/076quota.html ディスクの使用量を制限するには] [http://www2f.biglobe.ne.jp/~e-cottag/computer/server/manage/quota/quota.html 容量制限(クォータ)] {{{ $ /usr/bin/quota $ /usr/sbin/setquota }}} {{{ vi /etc/fstab LABEL=/ / ext3 defaults,usrquota 1 2 mount -o remount / /sbin/quotacheck -cm / /usr/sbin/repquota / /sbin/quotaon / /usr/sbin/setquota -u sakito 0 102400 0 0 / }}} = spamや不正中継 = [http://www.abuse.net/relay.html Mail relay testing] [http://vine-linux.ddo.jp/linux/mail/check.php 不正中継の確認 - メール(Postfix) - 自宅サーバーの構築 - 自宅サーバーでやってみよう!!] [http://www.hart.co.jp/spam/haijo2.html spamを排除:受信する前に拒絶] [http://www.ipa.go.jp/security/fy12/contents/crack/soho/soho/chap3/smtp/sendmail.html sendmailの設定] = メール転送 = 携帯へ転送したいとかです。 [http://www.gabacho-net.jp/tech-note/aliases.html メールエイリアスの設定] [http://www.atmarkit.co.jp/bbs/phpBB/viewtopic.php?topic=13372&forum=10&46 sendmailでメールを転送したい - Linux Square] [http://www.freewheelburning.com/linux/sendmail.html sendmail のインストール] {{{ /etc/aliases newaliases }}} {{{ jiro: \jiro, jiro@anotherdomain.co.jp }}} = 複数ドメインへの対応 = 同じホストにおいて複数ドメインを運用し、その複数ドメインで別々のメールアドレスを運用したいと言う要件は結構ある物です。 = 参考書籍 = いざと言う時に本はもっておいた方がよいです。 [[ASIN(4873111889 sendmailクックブック―設定と運用のためのレシピ集: 本: クレイグ ハント,Craig Hunt,林 秀幸)]] [[ASIN(4873111765 sendmail 第3版〈VOLUME1〉運用編: 本)]] [[ASIN(4873111803 sendmail 第3版〈VOLUME2〉設定編: 本)]] = 参考サイト = [http://www.freebsd.org/doc/ja_JP.eucJP/books/handbook/sendmail.html sendmail の設定] [http://www.ksknet.net/sendmail/index.html Sendmail] ---- CategoryWebTechnology