서버 설정 · 1 min read · Oct 11, 2025

우분투 서버 6.06 LTS를 소규모 비즈니스 환경의 방화벽/게이트웨이로 설정하기 - 페이지 5

이제 squirrelmail이 당신의 언어를 사용하게 만드세요. 영어만 사용하는 경우 파일의 마지막 줄은 건너뛸 수 있습니다.

/var/lib/locales/supported.d/local을 편집하세요.

다음과 같이 보일 것입니다: (네덜란드어인 경우, 그렇지 않으면 원하는 대로 조정하세요). 주요 사항은 ISO-8859-1 문자 집합으로 로케일을 활성화하는 것입니다.

en_US.UTF-8 UTF-8
en_US.ISO-8859-1    ISO-8859-1
nl_NL.ISO-8859-1    ISO-8859-1
dpkg-reconfigure locales

이제 postfix를 구성합니다.

postconf -e 'mynetworks = 127.0.0.0/8, 192.168.1.0/24'
postconf -e 'smtpd_sasl_local_domain ='
postconf -e 'smtpd_sasl_auth_enable = yes'
postconf -e 'smtpd_sasl_security_options = noanonymous'
postconf -e 'broken_sasl_auth_clients = yes'
postconf -e 'smtpd_recipient_restrictions = permit_sasl_authenticated, permit_mynetworks,reject_unauth_destination'
postconf -e 'inet_interfaces = all'
echo 'pwcheck_method: saslauthd' >> /etc/postfix/sasl/smtpd.conf
echo 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.conf
postconf -e 'smtpd_tls_auth_only = no'
postconf -e 'smtp_use_tls = yes'
postconf -e 'smtpd_use_tls = yes'
postconf -e 'smtp_tls_note_starttls_offer = yes'
postconf -e 'smtpd_tls_key_file = /etc/apache2/ssl/apache.pem'
postconf -e 'smtpd_tls_cert_file = /etc/apache2/ssl/apache.pem'
postconf -e 'smtpd_tls_loglevel = 1'
postconf -e 'smtpd_tls_received_header = yes'
postconf -e 'smtpd_tls_session_cache_timeout = 3600s'
postconf -e 'tls_random_source = dev:/dev/urandom'
postconf -e 'home_mailbox = Maildir/'
postconf -e 'mailbox_command ='
postconf -e 'header_checks = regexp:/etc/postfix/header_checks'
postconf -e 'relayhost ='
postconf -e 'virtual_alias_domains = hash:/etc/postfix/virtual'
postconf -e 'virtual_alias_maps = hash:/etc/postfix/virtual'
postconf -e 'smtp_never_send_ehlo = yes'
touch /etc/postfix/header_checks
touch /etc/postfix/virtual
Share: X/Twitter LinkedIn

새 게시물을 받은 편지함에서 받기

스팸은 없습니다. 언제든지 구독 해지 가능합니다.