This file is indexed.

/usr/share/doc/HOWTO/ja-html/Cyrus-IMAP-6.html is in doc-linux-ja-html 2006.05.25-1.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>mini-HOWTO install Cyrus IMAP Server: Sendmail ¤ÎÀßÄê</TITLE>
 <LINK HREF="Cyrus-IMAP-7.html" REL=next>
 <LINK HREF="Cyrus-IMAP-5.html" REL=previous>
 <LINK HREF="Cyrus-IMAP.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Cyrus-IMAP-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Cyrus-IMAP-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Cyrus-IMAP.html#toc6">Ìܼ¡¤Ø</A>
<HR>
<H2><A NAME="s6">6. Sendmail ¤ÎÀßÄê</A></H2>

<P>¤â¤· sendmail ¤ò»ý¤Ã¤Æ¤¤¤Ê¤¤¤Ê¤é¡¢¥½¡¼¥¹¤ò¥À¥¦¥ó¥í¡¼¥É¤·¤Æ¤¯¤À¤µ¤¤¡£
IMAP ¤òÆ°¤«¤¹Â¾¤Ë¤â¡¢¥¹¥Ñ¥àÂкö¤ÎÀßÄê¤ò¹Ô¤¦¡¢¤È¤¤¤¦¤è¤¦¤Ê³Ú¤·¤¤ºî¶È¤¬
ÂԤäƤ¤¤Þ¤¹¡£
<P>²¼µ­¤¬»ä¤Î mc ¥Õ¥¡¥¤¥ë¤Ç¤¹¡£/etc/sendmail.cN ¥Õ¥¡¥¤¥ë¤Ë¥æ¡¼¥¶Ì¾¤¬¤Ê¤¯¤Æ¤â
IMAP ¤Ë¥á¥¤¥ë¤òÇÛÁ÷¤Ç¤­¤Þ¤¹¡£¤³¤ÎÀßÄê¤Ç root ¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥àÍѤΥ¢¥«¥¦
¥ó¥È¤ËÂФ·¤Æ¤Î¥á¡¼¥ë¤ò¥¹¥×¡¼¥ë¤ËÆþ¤ì¤ë¤³¤È¤¬¤Ç¤­¤Þ¤¹¡£<BR>
IMAP ¤Ï¥Ç¥Õ¥©¥ë¥È¤Ç¡¢¥¢¥«¥¦¥ó¥È¤¬¤¢¤ë¥æ¡¼¥¶¤Ï IMAP¤òÍøÍѤ¹¤ë¤è¤¦¤ËÀßÄꤵ¤ì
¤Æ¤¤¤Þ¤¹¡£²¼µ­¤Î¥³¡¼¥É¤ò Copy &amp; Paste ¤·¤Ê¤¤¤Ç¤¯¤À¤µ¤¤¡£sendmail ¤Ï¥¹¥Ú¡¼¥¹
¤Ç¤Ï¤Ê¤¯¡¢¥¿¥Ö¤ò»ÈÍѤ¹¤ë¤³¤È¤Ë¤Ê¤Ã¤Æ¤¤¤Þ¤¹¤«¤é¡£
<P>
<P>
<HR>
<PRE>

divert(-1)
#
#       (C) Copyright 1995 by Carnegie Mellon University
#
#                      All Rights Reserved
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
# provided that the above copyright notice appear in all copies and that
# both that copyright notice and this permission notice appear in
# supporting documentation, and that the name of CMU not be
# used in advertising or publicity pertaining to distribution of the
# software without specific, written prior permission.
#
# CMU DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING
# ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO EVENT SHALL
# CMU BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR
# ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS,
# WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION,
# ARISING OUT OF OR IN CONNECTION WITH THE USE OR P ERFORMANCE OF THIS
# SOFTWARE.
#
#       Contributed to Berkeley by John Gardiner Myers .
#
#       This sample mc file is for a site that uses the Cyrus IMAP server
#       exclusively for local mail.
#

divert(0)dnl
VERSIONID(`@(#)cyrusproto.mc    8.3 (Carnegie Mellon) @(#)cyrusproto.mc 8.3')
OSTYPE(linux)
define(`confBIND_OPTS',`-DNSRCH -DEFNAMES')
FEATURE(nouucp)
FEATURE(nocanonify)
FEATURE(always_add_domain)
MAILER(smtp)
MAILER(local)
MAILER(cyrus)

define(`confLOCAL_MAILER',`cyrus')

LOCAL_RULE_0
R$=N                            $: $#local $: $1
R$=N                 $: $#local $: $1
Rbb + $+             $#cyrusbb $: $1

LOCAL_CONFIG
FN /etc/sendmail.cN

# end of mc file
</PRE>
<HR>
<P>
<P>/etc/sendmail.cf ¥Õ¥¡¥¤¥ë¤òºî¤Ã¤¿¤é¡¢ /etc/sendmail.cN ¥Õ¥¡¥¤¥ë¤ò
ºî¤Ã¤Æ¡¢IMAP ¤ò»ÈÍѤ·¤Ê¤¤Êý¤¬¤è¤¤¥æ¡¼¥¶¤Î¥¢¥«¥¦¥ó¥È¤ò²Ã¤¨¤Þ¤·¤ç¤¦¡£
<P>
<UL>
<LI>root</LI>
<LI>majordom</LI>
<LI>stan</LI>
<LI>mothra</LI>
</UL>
<P>»ä¤Ï Sendmail 8.8.8 ¤ò¥¤¥ó¥¹¥È¡¼¥ë¤·¤¿¤é¡¢¥í¡¼¥«¥ë¤Ê¥á¡¼¥ëÇÛÁ÷¤ò¤¹¤ë¤¿¤á¤Ë 
mail.local ¤â¥¤¥ó¥¹¥È¡¼¥ë¤·¤Þ¤·¤¿¡£mail.local ¤òºî¤ë¤Ë¤Ï¤Á¤ç¤Ã¤È¤·¤¿¥³¥Ä¤¬
ɬÍפǤ¹¡£sendmail ¤Î¥½¡¼¥¹¤ÎÃæ¤Î mail.local ¤Î¥Ç¥£¥ì¥¯¥È¥ê¤Ë°Ü¤ê¡¢¼¡¤Î¤è¤¦
¤Ë¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<P>
<BLOCKQUOTE><CODE>
<PRE>

cp Makefile Makefile.orig
cp Makefile.dist Makefile
make
cp mail.local /bin/mail.local
chmod 4555 /bin/mail.local
</PRE>
</CODE></BLOCKQUOTE>
<P>
<P>Á´¤Æ¤ä¤ê½ª¤¨¤¿¤é¡¢sendmail ¤òºÆµ¯Æ°¤·¤Æ¤¯¤À¤µ¤¤¡£Cyrus ¤Î¥¤¥ó¥¹¥È¡¼¥ë
¤ò½ª¤¨¤Æ¤¤¤ë¤«¤ò˺¤ì¤º¤Ë³Îǧ¤·¤Æ¤¯¤À¤µ¤¤¡£
<P>
<HR>
<A HREF="Cyrus-IMAP-7.html">¼¡¤Î¥Ú¡¼¥¸</A>
<A HREF="Cyrus-IMAP-5.html">Á°¤Î¥Ú¡¼¥¸</A>
<A HREF="Cyrus-IMAP.html#toc6">Ìܼ¡¤Ø</A>
</BODY>
</HTML>