Archive for 03月, 2006

Mar 28 2006

基于FreeBSD和Postfix的邮件系统与邮件列表的web mail安装

Published by David under 应用|Application

Table of Contents
Chapter 1. 系统安装
1.1 安装MySQL
1.2 安装Apache
1.3 安装PHP
1.4 安装zend
1.5 安装openssl
1.6 安装phpMyAdmin
1.7 通过phpMyadmin设置数据库
1.8安装Courier-imap
1.9安装 postfix 和 cyrus-sasl
1.10 安装expect
Chapter 2. 配置邮件服务器
2.1 配置rc.conf
2.2 配置postfix 和 cyrus-sasl
2.3 配置Courier-imap
Chapter 3. 手动设置第一个用户并测试
Chapter 4. 安装postfix管理工具
4.1安装本人开发的postfix管理工具
4.2 用户登录测试
Chapter 5. 防病毒与防垃圾邮件
5.1 安装Clamav
5.2 安装MailScanner
5.3 安装配置Spamassassin
5.4修改Postfix设定档main.cf
5.5修改mailscanner.conf
5.6新增MailScanner所要用到的资料夹
5.7把病毒提示信息改为中文
5.8MailScanner监管进出邮件
5.9 邮件流量监控(mailscanner-mrtg)安装与设置
5.10.安装APF防垃圾邮件
Chapter 6. 安装webmail
Chapter 7邮件列表(mailman)
Chapter 8. 查看系统状态

Continue Reading »

No responses yet

Mar 28 2006

MailScanner的黑白名单使用说明

Published by David under 应用|Application

常用語法:
對象:
From: - 針對信件的寄件者進行比對
To: - 針對信件的收件者進行比對
FromOrTo: - 針對寄件者或收件者進行比對
FromAndTo: - 針對寄件者及收件者共同進行比對

比對的樣本
user@sub.domain.com # 單一的郵件位址
user@* # 單一帳號(不限定領域)
*@*.domain.com # domain.com下轄 subdomin下的任何帳號
*@donain.com # 特定 domain.com 的任何帳號
192.168. # SMTP client IP 範圍 192.168.0.0/16
/^192.168.1[4567]./ # SMTP client IP 範圍 192.168.14~17

Continue Reading »

No responses yet

Mar 28 2006

MailScanner.conf Archive Mail使用方法

Published by David under 应用|Application

# SaPow 20040820
# RedHat 9.0

vi MailScanner.conf
Archive Mail = %rules-dir%/archive.rules

vi archive.rules

#SAMPLE1:
代碼:

FromOrTo: a@sapow.idv.tw yes forward b@sapow.idv.tw
FromOrTo: b@sapow.idv.tw yes forward a@sapow.idv.tw

互相備份, 以上這樣並不會造成 loop

Continue Reading »

No responses yet

Mar 28 2006

MailScanner 安裝設置(中文版) — mailscanner.conf

Published by David under 应用|Application

� 系統設定 (System settings)

� 處理 incoming郵件 (Processing incoming mail)

� 病毒掃描及弱點測試 (Virus scanning and vulnerability testing)

� 移除危險的及潛在的攻擊內容 (Removing dangerous or potentially offensive content)

� 附件檔的確認 (Attachment filename checking)

� 報告及回應 (Reports and responses)

� 改變訊息表頭 (Changes to message headers)

� 改變主旨列 (Changes to the Subject: line)

Continue Reading »

No responses yet

Mar 28 2006

关于MailScanner中的filename.rules.conf

Published by David under 应用|Application

# JKF 04/01/2005 More Microsoft security vulnerabilities
allow .bmp$ Windows bitmap file security vulnerability Possible buffer overflow in Windows
allow .ico$ Windows icon file security vulnerability Possible buffer overflow in Windows
allow .ani$ Windows animated cursor file security vulnerability Possible buffer overflow in Windows
allow .cur$ Windows cursor file security vulnerability Possible buffer overflow in Windows
allow .hlp$ Windows help file security vulnerability Possible buffer overflow in Windows

# These 4 are well known viruses.
deny prettys+park.exe$ “Pretty Park” virus “Pretty Park” virus
deny happy99.exe$ “Happy” virus “Happy” virus
deny .ceo$ WinEvar virus attachment Often used by the WinEvar virus
deny webpage.rar$ I-Worm.Yanker virus attachment Often used by the I-Worm.Yanker virus

Continue Reading »

No responses yet

Next »

Close
E-mail It