FreeBSD QandA 1729

FreeBSD QandA

Q. 2000.10.22 ごろ取得した FreeBSD 4.1.1-STABLE を使っていますが、
   CF-3.7Wpl2 を使って作成した sendmail.cf ファイルを使うと、local な
   宛先の mail について次のようなエラーが発生します。FreeBSD 付属の
   sendmail.cf ではうまくいくのですが。

     Oct 27 19:19:31 host1 sendmail[12196]: e9RAJVC12196: from=user1, size=30, class=0, nrcpts=1, msgid=<200010271019.e9RAJVC12196@host1.my.domain>, relay=user1@localhost
     Oct 27 19:20:02 host1 mail.local: lockmailbox /var/mail/user2 failed; error code 75
     Oct 27 19:20:02 host1 sendmail[12198]: e9RAJVC12196: to=user2, ctladdr=user1 (1000/1000), delay=00:00:31, xdelay=00:00:31, mailer=local, pri=30030, dsn=4.0.0, stat=Deferred

A. /usr/libexec/mail.local コマンドの suid bit が設定されなくなったた
   めです。CURRENT への変更は 2000.10.10, RELENG_4 への変更は
   2000.10.19 にされています。 

     <URL:http://www.jp.freebsd.org/cgi/cvsweb.cgi/src/libexec/mail.local/Makefile>

   このため、これら日付以降の 5-current, 4-stable を使用する場合に CF
   を使って sendmail.cf ファイルを作成する場合は、 

     LOCAL_MAILER_FLAG_ADD='S' 

   を .def ファイルに追加して下さい。

   参考: 次の記事から続くスレッド

     <URL:http://home.jp.FreeBSD.org/cgi-bin/showmail/FreeBSD-users-jp/56465>
     <URL:http://home.jp.FreeBSD.org/cgi-bin/showmail/FreeBSD-tech-jp/2957>

同一グループへのリンク

グループ名: sendmail


間違い・追加情報を見付けた場合は、 修正案の投稿のしかた を読んだ上で、
QandA@jp.FreeBSD.org まで お知らせください。