qmail smtpd¸¦ ±¸µ¿Çϱâ Àü¿¡, ¾×¼¼½º ÄÁÆ®·ÑÀÌ ½ÇÇàµÇµµ·Ï ÇÏ¿©¾ß ÇÑ´Ù. ÀÌ °£´ÜÇÑ ÀÛ¾÷Àº /etc/tcp.smtp ÆÄÀÏÀ» ÀÌ¿ëÇÑ´Ù. /etc/tcp.smtp ¿¡ ´ÙÀ½ ÇÑ ÁÙÀ» ÀÛ¼ºÇÑ´Ù.
# vi /etc/tcp.smtp -------------------------------- :allow --------------------------------·ÎÄÃÈ£½ºÆ®ÀÌ¿Ü¿¡ ¾î¶°ÇÑ ¸ÞÀÏ ¸±·¹À̵µ Çã¶ôÇÏÁö ¾Ê´Â ±âº»ÀûÀÎ configurationÀÌ´Ù.
·ÎÄÃÈ£½ºÆ®¿Í ´ç½ÅÀÇ ·ÎÄó×Æ®¿÷¿¡°Ô¸¸ ¸ÞÀÏ ¸±·¹À̸¦ Çã¶ôÇÏ´Â configurationÀº ´ÙÀ½°ú °°´Ù.
------------------------------------- 127.0.0.1:allow,RELAYCLIENT="" 192.168.1.:allow,RELAYCLIENT="" :allow -------------------------------------¾×¼¼½º ÄÁÆ®·Ñ¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ¼³¸íÀ» º¸·Á¸é, ´ÙÀ½ÀÇ ÆÄÀÏÀ» ¹Þ¾Æ¼, ¾ÐÃàÀ» Ǭ ÈÄ¿¡, tcprules¿¡ ´ëÇÑ man ÆÄÀÏÀ» ÂüÁ¶ÇÏ¸é µÈ´Ù. ftp://ftp.innominate.org/pub/pape/djb/ucspi-tcp-0.88-man.tar.gz
rule ÆÄÀÏÀ» ¸¸µé¾úÀ¸¸é tcpserver°¡ cdb(µ¥ÀÌÅͺ£À̽º)·ÎºÎÅÍ ÀÐ¾î¼ È°¼ºÈÇÒ ÇÊ¿ä°¡ ÀÖ´Ù. /etc/tcp.smtp ÆÄÀϷκÎÅÍ tcprules ÇÁ·Î±×·¥À» ÀÌ¿ëÇÏ¿© µ¥ÀÌÅͺ£À̽º¸¦ »ý¼ºÇÑ´Ù. ´ÙÀ½ÀÇ ¸í·ÉÀ» ¼öÇàÇÏ¸é µÈ´Ù.
# /etc/rc.d/init.d/qmail cdb¶Ç´Â,
# tcprules /etc/tcp.smtp.cdb /etc/tcp.smtp.tmp < /etc/tcp.smtp