°Ô½Ã¹° 259°Ç
   
[RHEL7.4] sendmail ¼­¹ö°¡ ¸±·¹ÀÌ Çã¿ë ¼³Á¤
±Û¾´ÀÌ : ´õÄÚ ³¯Â¥ : 2019-02-28 (¸ñ) 10:41 Á¶È¸ : 1779
 # cat /etc/mail/access
# Check the /usr/share/doc/sendmail/README.cf file for a description
# of the format of this file. (search for access_db in that file)
# The /usr/share/doc/sendmail/README.cf is part of the sendmail-doc
# package.
#
# If you want to use AuthInfo with "M:PLAIN LOGIN", make sure to have the
# cyrus-sasl-plain package installed.
#
# By default we allow relaying from localhost...
Connect:localhost.localdomain           RELAY
Connect:localhost                       RELAY
Connect:127.0.0.1                       RELAY
Connect:0.0.0.0                         RELAY
Connect:192.168.20                     RELAY    // C Ŭ·¡½º´Â IP 3ÀÚ¸®¸¸³Ö´Â´Ù.




- µî·ÏÈÄ DBÀÛ¾÷

# makemap hash /etc/mail/access < /etc/mail/access

 

- DBÀÛ¾÷ÈÄ DB¿¡ È®ÀÎ

# strings access.db

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

miwit.com sir.co.kr DNS Powered by DNSEver.com DNS Powered by DNSEver.com