4 Star 0 Fork 0

src-oepkgs/postgrey

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README-rpm 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
张一诺 提交于 2022-12-06 05:51 . 1.37
1. To make use of postgrey in postfix, edit postfix configuration file:
/etc/postfix/main.cf:
smtpd_recipient_restrictions = ...
check_policy_service unix:postgrey/socket, ...
Or if TCP sockets (modify IP / port if needed) is preferred, first change
POSTGREY_TYPE:
/etc/sysconfig/postgrey:
POSTGREY_TYPE="--inet=127.0.0.1:10023"
then modify postfix configuration file:
/etc/postfix/main.cf:
smtpd_recipient_restrictions = ...
check_policy_service inet:127.0.0.1:10023, ...
After above steps, please restart the postfix service to make sure postfix has
loaded the changes. And don't forget to activate the service on startup!
2. If --privacy option is passed to postgrey in /etc/sysconfig/postgrey, make
sure perl(Digest::SHA) is installed, using dnf to install if not available:
dnf install perl\(Digest::SHA\)
Don't forget to escape the parentheses if other perl modules are absent.
3. Postgrey could be used with exim if you want, but need to modify the
systemd service file like removing the dependency of postfix.service. More
details in README.exim underneath /usr/share/doc/postgrey.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-oepkgs/postgrey.git
[email protected]:src-oepkgs/postgrey.git
src-oepkgs
postgrey
postgrey
master

搜索帮助