設定 · 1 min read · Oct 11, 2025
Ubuntu-Server 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-1dpkg-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.confecho 'mech_list: plain login' >> /etc/postfix/sasl/smtpd.confpostconf -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_checkstouch /etc/postfix/virtual新しい投稿を受信箱で受け取る
スパムはありません。いつでも購読を解除できます。