主题: 如何設置amavis白名單功能
我用的iRedmail0.8.2
ubuntu12.04
想設置一個amavis的白名單
看到有人設置成:
编辑/usr/local/etc/amavisd.conf,最后添加
# ---------------------------------------------------------------------------------------
read_hash(\%whitelist_sender, '/usr/local/etc/amavisd/whitelist');
read_hash(\%blacklist_sender, '/usr/local/etc/amavisd/blacklist');
# ---------------------------------------------------------------------------------------
touch /usr/local/etc/amavisd/whitelist
touch /usr/local/etc/amavisd/blacklist
名单格式:
xxx@domain.com 单个地址
domain.com 整个域名
修改list文件后需要reload amavisd
/usr/local/etc/rc.d/amavisd reload
如果不成功,调整一下list文件的权限。
chown amavis:amavis whitelist
chown amavis:amavis blacklist
但是这个在我的服务器上找不到对应的文件。所以想问问ubuntu12.04上怎么设置