#°³¿ä
¼öÆÛÅö½º¿¡¼´Â º¸¾È.½ºÆÔ.¾Ç¼ºÇÁ·Î±×·¥ À» ¹æÁöÇϱâÀ§ÇÑ Ãß°¡ÀûÀÎ ±â´É ¹× ȯ°æÆÄÀÏÀÌ ÀÖ½À´Ï´Ù.
#÷ºÎÆÄÀÏ Å©Áö Á¶Á¤Çϱâ.
¾Æ·¡´Â ¼¹ö³» À̸ÞÀÏ »ç¿ëÀÚ°¡ À̸ÞÀÏ÷ºÎ¸¦ º¸³¾¶§ Å©±â¸¦ ¸ÞÀϼ¹ö Â÷¿ø¿¡¼ Á¦ÇÑÇÏ´Â ±â´ÉÀÔ´Ï´Ù.
#ÀýÂ÷ 1:
/etc/postfix/main.cf ÆÄÀÏÀ» ¿¾î¼ ÆÄÀÏ °¡Àå ¾Æ·¡ºÎºÐ¿¡ ¾Æ·¡Ã³·³ Ãß°¡ÇÏ¿© ÁÝ´Ï´Ù.
message_size_limit = 10240000
#ÀýÂ÷ 2:
´ÙÀ½¿¡ ¾Æ·¡Ã³·³ Postfix À̸ÞÀϼ¹ö¸¦ Àç ½ÃÀÛÇÏ¿© ÁÝ´Ï´Ù.
[root@mbkang ~]# service postfix restart
Shutting down postfix: [ OK ]
Starting postfix: [ OK ]
[root@mbkang ~]#
#Àüü ȯ°æÆÄÀÏ º¸±â
¾Æ·¡´Â ¼öÆÛÅö½º¿¡¼ »ç¿ëÇÏ´Â À̸ÞÀϼ¹öÀÇ ¸ÞÀΠȯ°æÆÄÀÏ ÀÔ´Ï´Ù.
inet_interfaces = all
mailq_path = /usr/bin/mailq.postfix
newaliases_path = /usr/bin/newaliases.postfix
sendmail_path = /usr/sbin/sendmail.postfix
smtpd_helo_required = yes
smtpd_recipient_limit = 100
mydestination = $myhostname, localhost.$mydomain, localhost
mynetworks_style = host
smtpd_sasl_auth_enable = yes
smtpd_delay_reject = yes
smtpd_helo_required = yes
#Recipient restrictions
smtpd_recipient_restrictions =
permit_mynetworks,
permit_sasl_authenticated,
reject_unauth_destination,
reject_non_fqdn_recipient,
reject_non_fqdn_sender,
reject_unknown_recipient_domain,
reject_unauth_destination,
reject_unknown_sender_domain,
reject_invalid_hostname,
reject_rbl_client relays.ordb.org,
reject_rbl_client list.dsbl.org,
reject_rbl_client sbl-xbl.spamhaus.org,
reject_rbl_client bl.spamcop.net,
reject_rhsbl_client blackhole.securitysage.com,
reject_rhsbl_sender blackhole.securitysage.com,
permit
#Sender restrictions http://www.akadia.com/services/postfix_uce.html
smtpd_sender_restrictions =
permit_sasl_authenticated,
permit_mynetworks,
reject_non_fqdn_sender,
reject_unknown_sender_domain,
permit
# Content Filter
content_filter = scan:127.0.0.1:10024
receive_override_options = no_address_mappings
maildrop_destination_recipient_limit = 1
virtual_mailbox_base = /
virtul_mailbox_minimum_uid = 500
virtual_transport = maildrop
virtual_alias_maps = mysql:/etc/postfix/valias.cf
virtual_mailbox_maps = mysql:/etc/postfix/vmailbox.cf
virtual_mailbox_domains = mysql:/etc/postfix/vdomains.cf
virtual_uid_maps = mysql:/etc/postfix/vuid.cf
virtual_gid_maps = mysql:/etc/postfix/vgid.cf
alias_database = hash:/etc/postfix/aliases
alias_maps = hash:/etc/postfix/aliases
# SJM added
message_size_limit = 10240000