Chinaunix首页 | 论坛 | 博客
  • 博客访问: 56902
  • 博文数量: 17
  • 博客积分: 720
  • 博客等级: 军士长
  • 技术积分: 155
  • 用 户 组: 普通用户
  • 注册时间: 2006-03-21 13:34
文章分类

全部博文(17)

文章存档

2011年(1)

2009年(1)

2008年(5)

2007年(6)

2006年(4)

我的朋友
最近访客

分类:

2009-06-25 16:07:34

Whitelist setup in the mail system of Postfix + amavisd-new + spamassassin

1.       Setup amavisd-new

a.       Open /etc/amavisd.conf

b.      Add the following line into the amavisd.conf file

 read_hash(\%whitelist_sender, "/var/amavis/whitelist"),

c.       Create a new file which contains the following:

'*@examplesa.com.cn'         =>      -100,

'*@examplesb.com'     =>      -100,

2.       That’s all we should do about amavisd.conf, now let’s do with the configuration file of the spamassassin

a.       Open the file of /etc/mail/spamassassin/local.cf

b.      Add a line similar to the following into local.cf

whitelist_from *@ examplesA.com.cn *@ examplesB.com

That’s all, good luck to you

阅读(654) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~