大网数据广告活动
服务器运维问答

Can postfix queue message till milter comes back?

· 52CE 我爱测

I am using postfix and a before queue milter (written in java, running as a seperate process). When milter crashes or not available for a brief period, can postfix be configured to queue till milter comes back online? The email c…

问题原文

原帖链接 · Sathish Kumar · CC BY-SA 3.0

I am using postfix and a before queue milter (written in java, running as a seperate process). When milter crashes or not available for a brief period, can postfix be configured to queue till milter comes back online? The email client should get a successful 250 Queued for delivery but postfix buffers the message till milter is available.

已采纳解答

原帖链接 · Dom · CC BY-SA 3.0

The answer is yes if you have a Postfix 2.6, else you can only accept or temporaly reject the mail if the milter is down. If it is accepted, you will not go to the milter after the mail is putting in queue.

See the milter_default_action option http://www.postfix.org/postconf.5.html#milter_default_action

If you have postfix 2.6, the quarantine option is maybe interesting, the mail is put in hold and you will need to restart the delivery process. I don't know if it will go on the milter when you will do that action.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Server Fault
适用范围
以原帖系统、软件版本与发布日期为准(2018-02-18)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 3.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。