360doc--小若兮的文章 http://www.ahfyzs.com/rssperson/4302.aspx 360doc (http://www.ahfyzs.com) zh-cn 360doc--個人圖書館 Postfix配置文件main.cf中常用參數(shù)介紹 開源郵件技術(shù)社區(qū) http://www.ahfyzs.com/content/06/0829/09/4302_193286.shtml 2006/8/29 9:55:29
≡ 本頁主題: Postfix配置文件main.cf中常用參數(shù)介紹。與轉(zhuǎn)發(fā)限定的參數(shù)有很多:主要請參看mynetworks、relay_domains、mydestination。myhostname參數(shù)用于描述運行C-Link系統(tǒng)的服務(wù)器所符合規(guī)則的域名全稱。myhostname = host.local.domain (local hostname is not FQDN) myhostname = host.virtual.domain (virtual interface) myhostname = virtual.domain (virtual interface)這個參數(shù)非常重要,用于設(shè)定彈回的最大郵件尺寸。
Bind9 View - master / slave http://www.ahfyzs.com/content/06/0430/19/4302_108187.shtml 2006/4/30 19:45:15
Bind9 View 底下的 master/slave 設(shè)定方案。倘若 master 與 slave 的對外與對內(nèi)界面均能相互指定路由(這是前提),那只要在 slave 端不同的 view 內(nèi)指定 master 的不同 IP ,也能夠順利完成 zone transfer 。
Just 平生一笑: Linux下Apache并發(fā)連接數(shù)和帶寬控制 http://www.ahfyzs.com/content/06/0428/09/4302_106443.shtml 2006/4/28 9:14:34
一、使用mod_limitipconn限制Apache的并發(fā)連接數(shù).以管理員方式登陸服務(wù)器,然后在服務(wù)器上運行 wget http://dominia.org/djao/limit/mod_limitipconn-0.04.tar.gz 將mod_limitipconn的tar包下載到服務(wù)器,然后按照再運行tar zxvf mod_limitipconn-0.04.tar.gz將tar包解壓縮,會在當(dāng)前目錄下生成mod_limitipconn-0.04目錄,然后cd mod_limitipconn-0.04進入此目錄,下一步就是使用apxs將目錄中的mod_limitipconn.c編譯。
Sys Admin > v13, i04: Monitoring and Managing Linux Software RAID http://www.ahfyzs.com/content/06/0411/09/4302_96354.shtml 2006/4/11 9:53:36
The Linux kernel supports RAID 0, RAID 1, RAID 4, or RAID 5.raiddev /dev/md1 raid-level 5 nr-raid-disks 3 nr-spare-disks 0 persistent-superblock 1 parity-algorithm left-symmetric chunk-size 32 device /dev/hda1 raid-disk 0 device /dev/hdc1 raid-disk 1 device /dev/hde1 raid-disk 2The chunk-size directive specifies how many kilobytes will be written as a data block to each column of the RAID device.
MailScanner 安裝設(shè)置(中文版) — mailscanner.conf 開源郵件技術(shù)社區(qū) http://www.ahfyzs.com/content/06/0403/15/4302_91301.shtml 2006/4/3 15:19:25
Default: 5.Default: /opt/MailScanner/etc/filename.rules.conf Default Linux: /etc/MailScanner/filename.rules.conf Default FreeBSD: /usr/local/etc/MailScanner/filename.rules.conf.Default: /opt/MailScanner/etc/reports/en/sender.spam.rbl.report.txt Default Linux: /etc/MailScanner/reports/en/sender.spam.rbl.report.txt Default FreeBSD: /usr/local/share/MailScanner/reports/en/sender.spam.rbl.report.txt.
postfix的UCE 開源郵件技術(shù)社區(qū) http://www.ahfyzs.com/content/06/0323/08/4302_84169.shtml 2006/3/23 8:34:33
reject_unknown_hostname:如果客戶端執(zhí)行HELO命令時的主機名在DNS中沒有相應(yīng)的A 或 MX 記錄則拒絕該客戶端的連接請求。reject_non_fqdn_hostname:如果客戶端執(zhí)行HELO命令時的主機名不是RFC規(guī)定的完整的域名則拒絕客戶端的連接請求。check_relay_domains:如果符合以下的條件,則接受SMTP連接請求,否則拒絕該連接,可以用relay_domains_reject_code 參數(shù)指定返回給客戶機的錯誤代碼(缺省為504)。
FC4下升級內(nèi)核到2.6.15.4及給netfilter打補丁 - 網(wǎng)絡(luò)與硬件 - Linux - ChinaUnix.net http://www.ahfyzs.com/content/06/0323/08/4302_84168.shtml 2006/3/23 8:33:33
cd /usr/srcln -s /usr/src/linux-2.6.15.4 linuxcd /usr/src/linuxmake mrpropercp /boot/config-2.6.11-1.1369_FC4 ./.configmake menuconfig (什么都不做,保存退出,其實可以不做這一步,但是為了保證.cofnig文件的存在,我們還是要做下)cd /usr/src/iptables-1.3.5export KERNEL_DIR=/usr/src/linuxexport IPTABLES_DIR=/usr/src/iptables-1.3.5make BINDIR=/sbin LIBDIR=/lib MANDIR=/usr/share/man install.
常見退信內(nèi)容診斷分析集錦 開源郵件技術(shù)社區(qū) http://www.ahfyzs.com/content/06/0317/08/4302_80891.shtml 2006/3/17 8:05:47
常見退信內(nèi)容診斷分析集錦1、提示信息:Sorry, I couldn‘t find a mail exchanger or IP address. (#5.4.4) 退信原因:檢索不到接收方域名的郵件解析(MX記錄)和域名解析(A記錄)。8、提示信息:Connected to remote host, but failed after I sent the message. 退信原因:連接到接收方郵件服務(wù)器,但發(fā)送郵件失敗。解決辦法:請投遞方將郵件域名添加一條優(yōu)先級較低的MX記錄,指向頭地方使用的smtp服務(wù)器對應(yīng)的IP地址;
[精彩] 輕松使用sun update manager給系統(tǒng)打補丁 http://www.ahfyzs.com/content/06/0316/08/4302_80475.shtml 2006/3/16 8:45:18
[精彩] 輕松使用sun update manager給系統(tǒng)打補丁。通常給solaris進行升級打補丁有幾種方式:patchadd,smc patches工具,update connection services和update manager。如果不喜歡界面操作用smpatch也很方便 smpatch analyze--分析補丁包 smpatch download--下載補丁包 smpatch update--全部更新(懶人用的) smpatch add --選擇性地更新 有空的時候就給你的系統(tǒng)打打補丁吧,讓你的系統(tǒng)保持活力。
一段使用 iptable 設(shè)置防火墻的設(shè)置 - Linux - 服務(wù)器區(qū) - 破釜沉舟: 源碼下載,素材下載,為網(wǎng)站站長.設(shè)計師.編程開發(fā)者. 提供資源! http://www.ahfyzs.com/content/06/0315/15/4302_80198.shtml 2006/3/15 15:10:21
## SYN-Flooding iptables -N syn-flood iptables -A INPUT -i eth0 -p tcp --syn -j syn-flood iptables -A syn-flood -m limit --limit 30/s --limit-burst 4 -j RETURN iptables -A syn-flood -j DROP.## FTP service iptables -A INPUT -i eth0 -p tcp --dport 21 -j ACCEPT iptables -A INPUT -i eth0 -p tcp --dport 20 -j ACCEPT iptables -A INPUT -p tcp --dport 30001:50000 -j ACCEPT.
基于Linux和Postfix的郵件系統(tǒng)的web mail安裝手冊 開源郵件技術(shù)社區(qū) http://www.ahfyzs.com/content/06/0310/11/4302_77930.shtml 2006/3/10 11:19:26
13.安裝Courier-imap [root@mail build] tar –jxf ../src/courier-imap-4.0.6.tar.gz[root@mail build] cd courier-imap-4.0.6[root@mail build] ./configure –prefix=/usr/lib/imapd \--silent --without-authpgsql --without-ipv6 \--with-redhat --with-authmysql \--mandir=/usr/lib/man --disable-root-check[root@mail build] make [root@mail build] make install[root@mail build] make install-configure.
TCP Tuning Guide - Linux TCP Tuning http://www.ahfyzs.com/content/06/0223/10/4302_71062.shtml 2006/2/23 10:03:04
TCP Tuning Guide.Linux TCP Tuning.Like all operating systems, the default maximum Linux TCP buffer sizes are way too small.# increase TCP max buffer size net.core.rmem_max = 16777216 net.core.wmem_max = 16777216 # increase Linux autotuning TCP buffer limits # min, default, and max number of bytes to use net.ipv4.tcp_rmem = 4096 87380 16777216 net.ipv4.tcp_wmem = 4096 65536 16777216.
Linux 性能調(diào)優(yōu)的幾種方法 http://www.ahfyzs.com/content/06/0222/09/4302_70523.shtml 2006/2/22 9:06:21
可以根據(jù)需要停止某個進程,如要停止sendmail 進程,輸入如下命令:Red Hat: /sbin/service sendmail stopSUSE LINUX: /etc/init.d/sendmail stop也可以配置在下次啟動的時候不自動啟動某個進程,還是sendmail:Red Hat: /sbin/chkconfig sendmail offSUSE LINUX: /sbin/chkconfig -s sendmail off除此之外,LINUX還提供了圖形方式下的進程管理功能。Linux內(nèi)核是操作系統(tǒng)的核心,對所有的Linux發(fā)行版本是通用的。
Linux邏輯盤卷管理LVM詳解 - ELM\‘s Blog http://www.ahfyzs.com/content/06/0222/08/4302_70518.shtml 2006/2/22 8:54:32
關(guān)鍵字:Linux LVM 磁盤管理 盤卷 文件系統(tǒng)。LVM是邏輯盤卷管理(Logical Volume Manager)的簡稱,它是Linux環(huán)境下對磁盤分區(qū)進行管理的一種機制,LVM是建立在硬盤和分區(qū)之上的一個邏輯層,來提高磁盤分區(qū)管理的靈活性。物理卷(physical volume)物理卷就是指硬盤分區(qū)或從邏輯上與磁盤分區(qū)具有同樣功能的設(shè)備(如RAID),是LVM的基本存儲邏輯塊,但和基本的物理存儲介質(zhì)(如分區(qū)、磁盤等)比較,卻包含有與LVM相關(guān)的管理參數(shù)。
【bind9的view功能(備忘)】 http://www.ahfyzs.com/content/06/0107/17/4302_55254.shtml 2006/1/7 17:53:51
bind9的view功能(備忘)named.conf 有以下內(nèi)容: ------------------------------------------------------------------- view "internal" { // This should match our internal networks. match-clients { 10.0.0.0/8; }; // Provide recursive service to internal clients only. recursion yes; zone "."{ type hint; file "/etc/namedb/named.root"; };file "/etc/namedb/zone.mydomain.com.internal";
!網(wǎng)管員世界>經(jīng)驗技巧>網(wǎng)絡(luò)設(shè)備管理>正文 http://www.ahfyzs.com/content/06/0107/17/4302_55253.shtml 2006/1/7 17:50:44
BIND9可以根據(jù)不同的原地址給出不同的解析結(jié)果,也就是說內(nèi)網(wǎng)的用它解析得出是內(nèi)網(wǎng)的IP地址,公網(wǎng)的用它解析得出的是公網(wǎng)的IP地址。這樣配置以后服務(wù)器就會根據(jù)源地址的不同到/var/named目錄下面尋找相應(yīng)的DNS記錄文件,如果是192.168.0.0/16網(wǎng)段的IP地址做查詢,服務(wù)器就會查找/var/named/db.abcde.com.in這個文件里的數(shù)據(jù)并給出內(nèi)網(wǎng)的解析結(jié)果,公網(wǎng)IP則查找/var/named/db.abcde.com.ex里的數(shù)據(jù)并給出公網(wǎng)的解析結(jié)果。
軟件路由論壇 - Linux - 免升內(nèi)核在nat上封殺p2p(已試驗成功) http://www.ahfyzs.com/content/06/0104/16/4302_53743.shtml 2006/1/4 16:14:11
解iptables源碼至/usr/src/iptables-1.2.7a解ipp2p-0.8.0_rc3.tar.gz至 /root/download/ipp2p-0.8.0_rc3.添加3項:/sbin/insmod /root/download/ipp2p-0.8.0_rc3/ipt_ipp2p.o #加載模塊/sbin/iptables -A FORWARD -m ipp2p --ipp2p -j DROP/sbin/iptables -A INPUT -m ipp2p --ipp2p -j DROP實測不加過濾下載神六飛船升空錄像700kB-1.0mB,加載后68-80KB穩(wěn)定下載速度。