postfix
tweegnee
这个作者很懒,什么都没留下…
展开
-
postfix 代码生存手册
需要输出调试信息用 msg_info 函数,语法同 printf。 日志打在 syslog 里,Ubuntu 默认路径为 /var/log/mail.log 改造 msg_info,使其能够输出文件名及行号。msg.h 的函数声明改成: [code="c"]#ifdef NO_LINE_NUMBER extern void PRINTFLIKE(1, 2) msg_info(const...2011-04-18 19:08:12 · 138 阅读 · 0 评论 -
Ubuntu 下编译 postfix
[code="perl"]# 编译出错 ma3310@u-svr-32:~/postfix-2.8.2 $ make make -f Makefile.in MAKELEVEL= Makefiles (echo "# Do not edit -- this file documents how Postfix was built for your machine."; ...2011-03-24 14:08:38 · 170 阅读 · 0 评论 -
从源代码安装 Postfix
前提: # apt-get install libdb-dev # adduser postfix # addgroup postdrop 编译: % make 安装: # make install 备份原始配置文件: # cp /etc/postfix/main.cf /etc/postfix/main.cf.org # cp /etc/postfix/maste...2011-04-01 18:17:16 · 92 阅读 · 0 评论