Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5352111
  • 博文数量: 1144
  • 博客积分: 11974
  • 博客等级: 上将
  • 技术积分: 12312
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-13 20:06
文章存档

2017年(2)

2016年(14)

2015年(10)

2014年(28)

2013年(23)

2012年(29)

2011年(53)

2010年(86)

2009年(83)

2008年(43)

2007年(153)

2006年(575)

2005年(45)

分类: LINUX

2006-08-09 14:59:29

实现对某一个域的邮件的进出实行监控。
实现方法:采用qmail-tap的补丁。
原文如下
qmail provides the ability to make a copy of each email that flows through the system.
This is done using the QUEUE_EXTRA code. See qmail FAQ #8.2

The qmail tap patch adds additional functionality:
1) Specify which email addresses to tap using a regex style control file. With the
regex function, you can specify full domains or individual email addresses.

2) Specify which email address to send the emails to.

3) Qmail does not need to be restated to when the taps control file is changed.

The regex match is applied to both the to and from email addresses. So email
sent to or from the addresses will be copied. Matching is case insensitive.
If there are multiple matches, the first match is used.

The queue tap patch adds a new control file:

/var/qmail/control/taps
Contains a regex style list of addresses to tap and the email
address of where you want the copy sent to.

Examples:
a) To tap a whole domain add a line like:
.*@domain.com:joe@example.com


b) To tap an individual email address add a line like:
:other@example.com
阅读(1879) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~