Ubuntu-Server 6.10 防火墙系统安装

豆豆网   技术应用频道   2007年03月04日  【字号: 收藏本文

本文详细介绍Ubuntu-Server 6.10 防火墙系统安装

  It should look like this: (if you are Dutch, otherwise adjust as desired).
Main thing is to enable your locale with the charset 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

  Now make sure that the DirectoryIndex line in /etc/apache2/apache2.conf reads:

DirectoryIndex index.html index.htm index.shtml index.cgi index.php index.php3 index.pl index.xhtml

  Edit /etc/apache2/ports.conf and add Listen 443:

Listen 80
Listen 443

  Now we configure Postfix and MailScanner.

  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'

来源:howtoforge    责编:豆豆技术应用

正在加载评论...