|
 
|
1#
发表于 2005-6-15 02:21
| 只看该作者
本站免费提供APF for Postfix的技术支持服务
什么是APF?
简单来说APF就是一套抗击垃圾邮件的框架,APS是基于该框架的服务体系。
APF=Antispam Policy Framework
是一种利用综合策略分析SMTP信息,主要用于对付垃圾邮件的一套框架。
APS=APF Service/System
主要以Client/Server模式对外提供APF完整支持的服务体系,模式类似于RBL/DNS。
APF有什么用?
它提供了一种简便而高效的反垃圾邮件技术手段,但它不仅可以杀灭垃圾邮件,也可以对进出邮件进行各种策略性控制,甚至能设计成监视、分析的功能。欢迎加入APF自由社区,参与开发基于APF的各种软件和应用。
APF有什么好处?
低成本、灵活、高效!APS1.0及APS2.0普通版完全免费,拒收Spam“零成本”。
APF支持什么MTA?
目前APF支持三大流行MTA,包括Sendmail, Qmail, Postfix
以下是APF for Postfix的安装文档
*************************
* APF addon for postfix *
*************************
1. INTRODUCTION
---------------
APF-postfix is only a small script to communicate with APS, and send the
reply from APS to postifx. It is written in pure perl.
2. PREREQUISITES
----------------
1): postfix 2.0.x with policy builtin support
2): a text editor :-)
3): Perl 5.6.0 or higher
4): IO::Socket
Sys::Syslog
Getopt: ong
3. INSTALLATION
---------------
It's very easy to apply apf-postfix to postfix, just a few minutes work.
A): Configure main.cf
# vim /etc/postfix/main.cf
Add "check_policy_service unix:private/apf" among the smtpd_recipient_
restrictions, just like the "^" line indicate:
smtpd_recipient_restrictions = reject_non_fqdn_sender,
permit_sasl_authenticated,
permit_mynetworks,
reject_unauth_destination,
check_policy_service unix:private/apf
-----> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
reject_unknown_recipient_domain
B): Configure master.cf
# vim /etc/postfix/master.cf
Define an entry name "apf" as:
apf unix - n n - - spawn
user=nobody argv=/usr/bin/perl /path/to/apf-postfix.pl
C): Restart postfix
# postfix reload
D): Test
Follow the apf-qmail test section, it's almost the same. Addionally, you
can turn on verbose mode to see it action in the maillog, change master.cf
as:
apf unix - n n - - spawn
user=nobody argv=/usr/bin/perl /path/to/apf-postfix.pl --verbose
Then reload postfix, and run:
# tail -f /var/log/maillog |
|