This page looks plain and unstyled because you're using a non-standard compliant browser. To see it in its best form, please upgrade to a browser that supports web standards. It's free and painless.

修性不修命,萬劫陰靈難入聖; 修命不修性,猶有家財無主柄
Album | Blog | Comment | Profile | Control Panel
aquatower | 3 August,2009 0:30

LAB

*Logging to a centralized loghost

%server1的log複寫一份到server118


(1) server1
#vi /etc/syslog.conf
加入 user,* @server118
(Read More...)

aquatower | 3 August,2009 0:16

Syslogd and Klogd Configuration

configuration: /etc/syslog.conf

Syntax:
facility.priority log_location

Ex:
mail.info /dev/tty8

(Read More...)

aquatower | 2 August,2009 23:55

System Performance and Security

*即時監看log
#tail -f /var/log/[logfile]

*查看網路狀態
#netstat -tupln
-n : do not resolve IP address to host name
-t : list TCP connections
-u : list UDP connections
(Read More...)

aquatower | 1 August,2009 14:39

LAB

1. 啟動sendmail 並修改設定 [iptables開放Port: 25)

2. 啟動dovecot並修改設定 [iptables開放Ports: 110, 143, 993, 995], create "dovecot.pem"

[root@server1 ~]# cd /etc/pki/tls/certs
[root@server1 certs]# make dovecot.pem
umask 77 ; \
PEM1=`/bin/mktemp /tmp/openssl.XXXXXX` ; \
(Read More...)

aquatower | 1 August,2009 14:22

2. Mail Relays

%允許intranet: 192.168.0.0/24使用MTA(sendmail)寄信
#vi /etc/access

# by default we allow relaying from localhost...
Connect:localhost.localdomain RELAY
Connect:localhost RELAY
Connect:127.0.0.1 RELAY
Connect:192.168.0.0/24 RELAY
(Read More...)