coLinux日記

coLinuxはフリーソフトを種として、よろずのシステムとぞなれりける。

sendmail 8.14.1 インストール

2007-04-17 22:30:11 | sendmail
4月に入って、sendmail 8.14.1 がでました。早速インストールします。

462bc9e00fdbef3a71b046b967c9a157 sendmail.8.14.1.tar.gz
$gpg --verify sendmail.8.14.1.tar.gz.sig 
gpg: 2007年04月04日 11時41分33秒 JSTにRSA鍵ID 7093B841で施された署名
gpg: “Sendmail Signing Key/2007 <sendmail@Sendmail.ORG>”からの正しい署名
gpg: 警告: この鍵は信用できる署名で証明されていません!
gpg:       この署名が所有者のものかどうかの検証手段がありません。
主鍵の指紋: D9 FD C5 6B EE 1E 7A A8  CE 27 D9 B9 55 8B 56 B6
$

$ tar xzf sendmail.8.14.1.tar.gz
$ cd sendmail-8.14.1
$ sh Build
..........
# sh Build install
..........
# cd cf/cf
# cp generic-linux.mc sendmail.mc
# sh Build sendmail.cf
Using M4=/usr/bin/m4
rm -f sendmail.cf
/usr/bin/m4 ../m4/cf.m4 sendmail.mc > sendmail.cf || ( rm -f sendmail.cf && exit 1 )
echo "### sendmail.mc ###" >>sendmail.cf
sed -e 's/^/# /' sendmail.mc >>sendmail.cf
chmod 444 sendmail.cf
# cp sendmail.cf sendmail.cf.original
# diff /etc/mail/sendmail.cf sendmail.cf
..........
130c130
< DZ8.14.0
---
> DZ8.14.1
439a440,442
> # issue temporary errors (4xy) instead of permanent error (5xy)?
> #O SoftBounce=False
>
# cp sendmail.cf /etc/mail/sendmail.cf

コメントになっていますが、少し修正がありますね。
後は、sendmail を再起動すれば終了です。

続いて、現在の sendmail の情報を表示してみます。
$ /usr/sbin/sendmail -bt -d0.1
Version 8.14.1
 Compiled with: DNSMAP LOG MATCHGECOS MILTER MIME7TO8 MIME8TO7
                NAMED_BIND NETINET NETUNIX PIPELINING SCANF XDEBUG

============ SYSTEM IDENTITY (after readcf) ============
      (short domain name) $w = fedora
  (canonical domain name) $j = fedora.example.co.jp
         (subdomain name) $m = example.co.jp
              (node name) $k = fedora
========================================================

ADDRESS TEST MODE (ruleset 3 NOT automatically invoked)
Enter <ruleset> <address>
> $=w
fedora.example.co.jp
fedora
www
[192.168.1.100]
localhost.localdomain
localhost
[localhost.localdomain]
[127.0.0.1]
example.co.jp
www.example.co.jp
> /quit
$

前回の設定も生きています。/etc/mail/local-host-names に従って、ちゃんと $=w の値は、IPアドレス、localhost、localhost.domain にファイル内容がマージされています。
コメント
  • X
  • Facebookでシェアする
  • はてなブックマークに追加する
  • LINEでシェアする