[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: debian/testing下exim4的配置问题。




Menghan Zheng 写道:
> 我在/etc/exim4/conf.d/router下添加了一个350_exim4_config_pipe_bbsmail
> pipe_bbsmail:
> driver = accept
> transport = pipe_bbsmail

在router 中增加一条诊断信息,可能有帮助:
debug_print = "R: pipe_bbsmail for $local_part@$domain"

> 在/etc/exim4/conf.d/transport下添加了一个99_exim4_config_pipe_bbsmail
> pipe_bbsmail:
> driver = pipe
> command = /bin/bash -c 'cat >> /tmp/testpipe'

在transport 中增加一条诊断信息,可能有帮助:
debug_print = "T: pipe_bbsmail for $local_part@$domain"

> th143127:/etc/exim4/conf.d/transport# ls /var/spool/mail/ -l
> total 0
> -rw------- 1 bbs mail 0 2008-07-20 18:37 bbs
> -rw------- 1 root mail 0 2008-07-20 18:00 root

用 exim -bt root 命令诊断会非常有效,可以查看到执行了哪条路由。
据此可以调整 router 的顺序。

-- 
蒋鑫

北京群英汇信息技术有限公司
邮件: worldhello.net@gmail.com
网址: http://www.ossxp.com
    http://www.worldhello.net
电话: 010-51262007, 13910430470
传真: 010-51262007

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: