.\" Copyright (c) 1995 .\" Jordan K. Hubbard .\" Copyright (c) 2002 The FreeBSD Project .\" All rights reserved. .\" .\" Redistribution and use in source and binary forms, with or without .\" modification, are permitted provided that the following conditions .\" are met: .\" 1. Redistributions of source code must retain the above copyright .\" notice, this list of conditions and the following disclaimer. .\" 2. Redistributions in binary form must reproduce the above copyright .\" notice, this list of conditions and the following disclaimer in the .\" documentation and/or other materials provided with the distribution. .\" .\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE .\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" .\" %FreeBSD: src/share/man/man8/rc.sendmail. 8, v 1.1. 2.2 2002/05/22 17:01:33 gshapiro Exp % .\" .\" $FreeBSD: doc/ja_JP.eucJP/man/man8/rc.sendmail. 8, v 1.2 2002/05/23 05:09:26 horikawa Exp $ .Dd March 30, 2002 .Dt RC.SENDMAIL 8 .Os .Sh ¸íĪ .Nm rc.sendmail .Nd .Xr sendmail 8 ±âµ¿ ½ºÅ©¸³Æ® .Sh ÇØ¼³ .Nm ½ºÅ©¸³Æ®´Â, .Xr sendmail 8 (À»)¸¦ ±âµ¿Çϱâ À§Çؼ­, ºÎÆ®½Ã¿¡ .Pa /etc/rc ÇÏÁö¸¸ »ç¿ëÇÕ´Ï´Ù. º»½ºÅ©¸³Æ®´Â .Xr sendmail 8 °íÀ¯ÇÑ °ÍÀ» ÀǵµÇϰí ÀÖ¾î, ¸ðµç MTA ¿¡ ¹ü¿ëÀÌ ¾Æ´Õ´Ï´Ù. .Xr rc.conf 5 ÀÇ .Va mta_start_script º¯¼ö°¡ .Pa /etc/rc.sendmail (À¸)·Î ¼³Á¤µÇ¾î ÀÖ´Â °æ¿ì¸¸, º»½ºÅ©¸³Æ®°¡ .Pa /etc/rc (À¸)·ÎºÎÅÍ ºÒ¸³´Ï´Ù. .Pp .Nm (Àº)´Â, ½ÇÇàÇØ¾ß ÇÒ Ã³¸®¸¦ ÁöÁ¤ÇÏ´Â, »ý·« °¡´ÉÇÑ Àμö¸¦ ÃëÇÒ ¼ö ÀÖ½À´Ï´Ù. ÀÌ¿ë °¡´ÉÇÑ Ã³¸®´Â ´ÙÀ½°ú °°½À´Ï´Ù: .Bl -tag -width ".Cm restart-mspq" .It Cm start MTA ¿Í MSP Å¥ ¶õ³ª¸¦ °³½ÃÇÕ´Ï´Ù. .It Cm stop MTA ¿Í MSP Å¥ ¶õ³ª¸¦ Á¤ÁöÇÕ´Ï´Ù. .It Cm restart MTA ¿Í MSP Å¥ ¶õ³ª¸¦ Àç°³½Ã ÇÕ´Ï´Ù. .It Cm start-mta MTA ¸¸À» °³½ÃÇÕ´Ï´Ù. .It Cm stop-mta MTA ¸¸À» Á¤ÁöÇÕ´Ï´Ù. .It Cm restart-mta MTA ¸¸À» Àç°³½Ã ÇÕ´Ï´Ù. .It Cm start-mspq MSP Å¥ ¶õ³ª¸¸À» °³½ÃÇÕ´Ï´Ù. .It Cm stop-mspq MSP Å¥ ¶õ³ª¸¸À» Á¤ÁöÇÕ´Ï´Ù. .It Cm restart-mspq MSP Å¥ ¶õ³ª¸¸À» Àç°³½Ã ÇÕ´Ï´Ù. .El .Pp 󸮸¦ ÁöÁ¤ÇÏÁö ¾Ê´Â °æ¿ì, .Cm start ÇÏÁö¸¸ °¡Á¤µË´Ï´Ù. .Pp .Nm ½ºÅ©¸³Æ®´Â, .Pa Makefile ÀÇ Å¸°Ù .Cm start , stop , .Cm restart (À»)¸¦ ½ÇÇöÇϱâ À§Çؼ­(¶§¹®¿¡), .Pa /etc/mail/Makefile ±×·¸Áö¸¸ »ç¿ëµË´Ï´Ù. .Sh RC.CONF º¯¼ö ´ÙÀ½ÀÇ º¯¼ö°¡, .Nm ÀÇ µ¿ÀÛ¿¡ ¿µÇâÀ» ÁÝ´Ï´Ù. À̰͵éÀº .Pa /etc/defaults/rc.conf ±×¸®°í Á¤ÀǵǾî .Pa /etc/rc.conf ±×¸®°í º¯°æ °¡´ÉÇÕ´Ï´Ù. .Bl -tag -width indent .It Va sendmail_enable .Pq Vt ij¸¯ÅÍ ¶óÀÎ .Dq YES (À¸)·Î ¼³Á¤Çϸé(ÀÚ), ½Ã½ºÅÛ ºÎÆ®½Ã¿¡ .Xr sendmail 8 demon¸¦ ±âµ¿ÇÕ´Ï´Ù. .Dq NONE (À¸)·Î ¼³Á¤Çϸé(ÀÚ), ½Ã½ºÅÛ ºÎÆ®½Ã¿¡ ¾î¶°ÇÑ .Xr sendmail 8 demonµµ ±âµ¿ÇÏÁö ¾Ê½À´Ï´Ù. .It Va sendmail_flags .Pq Vt ij¸¯ÅÍ ¶óÀÎ .Va sendmail_enable ÇÏÁö¸¸ .Dq YES ÀÇ °æ¿ì, À̰͵éÀº .Xr sendmail 8 demon¿¡°Ô °Ç³×ÁÖ´Â Ç÷¡±×°¡ µË´Ï´Ù. .It Va sendmail_submit_enable .Pq Vt ºÒ¸®¾ð °ª .Dq YES (À¸)·Î ¼³Á¤ÇØ .Va sendmail_enable (À»)¸¦ .Dq NO (À¸)·Î ¼³Á¤Çϸé(ÀÚ), .Va sendmail_flags ´ë½Å¿¡ .Va sendmail_submit_flags (À»)¸¦ »ç¿ëÇØ .Xr sendmail 8 (À»)¸¦ ½ÇÇàÇÕ´Ï´Ù. ·ÎÄà ȣ½ºÆ®¿¡¸¸ ´ëÇØ ´ë±âÇÏ´Â SMTP ¼­ºñ½º¸¦ °³ÀÔ½ÃÄ×´Ù ·ÎÄ÷κÎÅÍÀÇ ¸ÞÀÏ ¼Û½ÅÀ» Çã°¡ÇÏ´Â °ÍÀ» ÀǵµÇϰí ÀÖ½À´Ï´Ù. À̰ÍÀº, .Xr sendmail 8 (À»)¸¦ ¼¼Æ® À¯Àú ID ¹ÙÀ̳ʸ®·Î ÇÏÁö ¾Ê±â À§ÇØ(¶§¹®¿¡) ÇÊ¿äÇÕ´Ï´Ù. .Xr jail 2 ½Ã½ºÅÛ Áß(¾È)¿¡¼­´Â µ¿ÀÛÇÏÁö ¾Ê½À´Ï´Ù. jail °¡ ·ÎÄà ȣ½ºÆ® ÀÎÅÍÆäÀ̽º¿¡ÀÇ ¹ÙÀε带 Çã¶ôÇÏÁö ¾Ê±â ¶§¹®ÀÔ´Ï´Ù. .It Va sendmail_submit_flags .Pq Vt ij¸¯ÅÍ ¶óÀÎ .Va sendmail_enable ÇÏÁö¸¸ .Dq Li NO (À¸)·Î ¼³Á¤µÇ¾î .Va sendmail_submit_enable ÇÏÁö¸¸ .Dq Li YES (À¸)·Î ¼³Á¤µÇ¾úÀ» °æ¿ì, À̰͵éÀº .Xr sendmail 8 demon¿¡°Ô °Ç³×Áö´Â Ç÷¡±×°¡ µË´Ï´Ù. .It Va sendmail_outbound_enable .Pq Vt ºÒ¸®¾ð °ª .Dq YES (À¸)·Î ¼³Á¤ÇØ .Va sendmail_enable (¿Í)°ú .Va sendmail_submit_enable ÀÇ ¾çÂÊ ¸ðµÎ¸¦ .Dq NO (À¸)·Î ¼³Á¤Çϸé(ÀÚ), .Va sendmail_flags ´ë½Å¿¡ .Va sendmail_outbound_flags (À»)¸¦ »ç¿ëÇØ .Xr sendmail 8 (À»)¸¦ ½ÇÇàÇÕ´Ï´Ù. SMTP ¼­ºñ½º¸¦ ±â´Ù¸®Áö ¾Ê°í , ·ÎÄÃÀÇ ¸ÞÀÏ Å¥ °ü¸®°¡ ÇÒ ¼ö ÀÖµµ·Ï(µíÀÌ) ÇÏ´Â °ÍÀ» ÀǵµÇϰí ÀÖ½À´Ï´Ù. .It Va sendmail_outbound_flags .Pq Vt ij¸¯ÅÍ ¶óÀÎ .Va sendmail_enable (¿Í)°ú .Va sendmail_submit_enable ÀÇ ¾çÂÊ ¸ðµÎ¸¦ .Dq NO (À¸)·Î ¼³Á¤ÇØ, .Va sendmail_outbound_enable (À»)¸¦ .Dq YES (À¸)·Î ¼³Á¤Çϸé(ÀÚ), À̰͵éÀº .Xr sendmail 8 demon¿¡°Ô °Ç³×Áö´Â Ç÷¡±×°¡ µË´Ï´Ù. .It Va sendmail_msp_queue_enable .Pq Vt ºÒ¸®¾ð °ª .Dq YES (À¸)·Î ¼³Á¤Çϸé(ÀÚ), ½Ã½ºÅÛ ºÎÆ®½Ã¿¡, Ŭ¶óÀÌ¾ðÆ® (MSP) Å¥ ¶õ³ª .Xr sendmail 8 demon¸¦, ±âµ¿ÇÕ´Ï´Ù. sendmail 8.12 ¿¡¼­´Â, ¸í·ÉÇàÀ¸·ÎºÎÅÍÀÇ ¼Û½Å¿¡´Â ´Ù¸¥ Å¥°¡ »ç¿ëµË´Ï´Ù. Ŭ¶óÀÌ¾ðÆ® Å¥ ¶õ³ª´Â, ¼Û½Å Å¥¿¡ ¾Æ¹«°Íµµ ÀØ¾î ¹ö¸± ¼ö ¾ø´Â °ÍÀ» ÇÁ·ÎÅØ¼ÇÇÕ´Ï´Ù. .It Va sendmail_msp_queue_flags .Pq Vt ij¸¯ÅÍ ¶óÀÎ .Va sendmail_msp_queue_enable (À»)¸¦ .Dq YES (À¸)·Î ¼³Á¤Çϸé(ÀÚ), À̰͵éÀº .Xr sendmail 8 demon¿¡°Ô °Ç³×Áö´Â Ç÷¡±×°¡ µË´Ï´Ù. .El .Pp ÀÌ·¯ÇÑ º¯¼ö´Â, .Xr sendmail 8 ÀÇ ±âµ¿ ¹æ¹ýÀ» ´ÙÀ½°ú °°ÀÌ °áÁ¤ÇÕ´Ï´Ù: .Pp .Bd -literal -offset indent # MTA if (${sendmail_enable} == NONE) # Do nothing else if (${sendmail_enable} == YES) start sendmail with ${sendmail_flags} else if (${sendmail_submit_enable} == YES) start sendmail with ${sendmail_submit_flags} else if (${sendmail_outbound_enable} == YES) start sendmail with ${sendmail_outbound_flags} endif # MSP Queue Runner if (${sendmail_enable} ! = NONE && [ -r /etc/mail/submit.cf] && ${sendmail_msp_queue_enable} == YES) start sendmail with ${sendmail_msp_queue_flags} endif .Ed .Sh °ü·Ã Ç׸ñ .Xr rc.conf 5 , .Xr rc 8 , .Xr sendmail 8 .Sh ¿ª»ç .Nm ÆÄÀÏÀº, .Fx 4.6 ±×¸®°í µîÀåÇß½À´Ï´Ù.