postfix 扣下退信
来源:互联网 发布:通达信布林线指标源码 编辑:程序博客网 时间:2024/05/21 00:19
有时候我们希望往外的发的邮件给你退回来的邮件接下,但是不做处理。
这时候需要设置:
1. 在master.cf中设置新的传输法:
ondemand unix - - n - - smtp
2. 要求postfix自动延缓任何通过ondemand递送的邮件。只要将新设的 ondemand传输法列在main.cf的defer_transports参数中,就可以达到自动延缓的效果。
defer_transports = ondemand
3. 确定 transport_maps 参数指向我们的传输表:
transport_maps = hash:/etc/postfix/transport
4. 修改传输列表,使得所有通过example.com网域的所有邮件都通过ondemand 传输法来投递。
example.com ondemand
5. 运行 postmap 将传输表转换成数据库格式:
# postmap /etc/postfix/transport
6. 重新载入配置文件。
postfix reload
7. 当你运行 postqueue -f example.com 才会投递。 不过我更喜欢postsuper -d ALL。呵呵。
0 0
- postfix 扣下退信
- Postfix
- postfix
- postfix
- postfix
- postfix
- postfix
- mail postfix postfix+mariadb
- postfix 配置
- postfix简介
- As4+postfix
- Postfix资源
- postfix简介
- python postfix
- Postfix介绍
- postfix搭建
- milter-postfix
- postfix+dovecot
- [6]访问权限控制 0X03
- shell stdin 变 参数
- 【bzoj3572】 世界树
- 不平衡数据下的机器学习方法简介
- linux 重命名 rename
- postfix 扣下退信
- POJ 1511
- Android触控基础:MotionEvent
- js实现新闻列表自动滚动
- linux java 线上问题排查
- 有限状态机
- java知识整理
- 正则表达式 元字符备查
- 记录org.springframework.web.client.RestTemplate的用法