![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Postfix
qidizi
文件共享盘:http://cid-0c051e9a0a1fd5a3.office.live.com;
展开
-
postfix 的main.cf参数
inet_interfaces = loopback-only 只允许本地使用smtp如果有这个参数root@CSV-004:~# netstat -a | grep smtptcp 0 0 localhost:smtp *:* LISTEN unix 2 [ ACC ] STREAM原创 2013-03-28 16:48:18 · 969 阅读 · 0 评论 -
postfix的esmtp用saslauthd 认证错误
Apr 13 14:42:02 CSV-004 postfix/smtpd[4342]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directoryApr 13 14:42:02 CSV-004 postfix/smtpd[4342]: warning: lo原创 2013-03-28 16:48:16 · 1550 阅读 · 0 评论 -
postfix install + 做为群发运行的配置
#===========/etc/postfix/main.cf=============#--------install setting------------alias_maps = hash:/etc/aliases#postfix shellcommand_directory = /usr/sbin#cf dirconfig_directory = /etc/postfix#daemon原创 2013-04-09 21:09:08 · 950 阅读 · 0 评论 -
postfix 小部分失败日志分析
boun日志原因如果需要会员资料用于后续发送用的,建议邮箱地址进行验证;----------1 用户不存在 代码5502,如sohu的发件人封锁未解,也打回.代码5533. 用户停用 代码5504. 挨过滤系统拒绝 代码543,21cn最多,基本上过不了.5. yahoo的转发错误,用户没有账号,估计是有用户名,代码554;6. hotmail的用户的收件箱不可用,可能停用,代码550;7. ya原创 2013-04-09 21:08:16 · 850 阅读 · 0 评论 -
postfix性能调整(一)
Postfix Performance TuningPurpose of Postfix performance tuning The hints and tips in this document help you improve theperformance of Postfix systems that already work. If your Postfixsystem is una原创 2013-04-09 21:07:56 · 3053 阅读 · 0 评论 -
posftix队列健康状况分析(二)
The "hold" queue The administrator can define "smtpd" access(5) policies, orcleanup(8) header/body checks that cause messages to be automaticallydiverted from normal processing and placed indefinitel原创 2013-04-09 21:07:54 · 873 阅读 · 1 评论 -
postfix队列健康状况分析(一)
Postfix Bottleneck AnalysisIntroducing the qshape tool When mail is draining slowly or the queue is unexpectedly large,run qshape(1) as the super-user (root) to help zero in on the problem.The qshape(原创 2013-04-09 21:07:52 · 1804 阅读 · 0 评论 -
postfix 做为群发服务器的设置:只发不收
Postfix on a null client A null client is a machine that can only send mail. It receives nomail from the network, and it does not deliver any mail locally. Anull client typically uses POP, IMAP or NFS原创 2013-04-09 21:07:50 · 7016 阅读 · 0 评论 -
postfix smtpd_recipient_restrictions配置错误导致smtpd问题
在postfix官方网上的conf说明中关于它的提示是IMPORTANT: If you change this parameter setting, you must specifyat least one of the following restrictions. Otherwise Postfix willrefuse to receive mail:reject, defer, defe原创 2013-04-09 21:07:14 · 4820 阅读 · 0 评论 -
修改postfix/手工编译/安装让smtp日志包含mail from 信息
修改后的日志to = 变成 service@myhrd.cn -> 这是sent日志Nov 21 12:56:27 chrd-edm postfix/smtp[11762]: 208E0100735: service@myhrd.cn -> , relay=mx3.qq.com[112.90.138.89]:25, delay=0.94, delays=0.09/0.01/0.51/0.33, d原创 2013-04-09 21:07:08 · 2903 阅读 · 0 评论 -
修改postfix2.9-20111113版本的smtp发送模块在发送前输出发件人
基于postfix的转发机制是异步的,而不是跟smtp收信直接反馈是否发送成功.而是要先放入队列后再转发,接着对于发送情况那么就只能看日志了.而它的日志却是每行一句.所以.很难从一句日志中找到它与信的关联:这个发送状态(发给xx@yy.com的信成功与否)的日志行跟哪封信是相关的?因为我们需要统计每封信群发情况. 看了一下源码后.感觉想把发件人(mail from)放到每行日志中还是比较麻烦的.但原创 2013-04-09 21:07:06 · 1046 阅读 · 0 评论 -
postfix 日志过滤与linux 日志 模块rsyslog配置
在有些linux上,可能使用的是sysylog,而rsysylog是在它的基础上扩展的,也就意味着是兼容sysylog的配置的;它的man rsyslog.conf出来的东西太少了,根本搞不明白怎么回事.还是上了官网才搞明白.我的是要求是让postfix产生的日志把我想的内容记录到一个文件中.如转发的smtp的成功与否这二种信息记录而已;postfix它是调用rsyslog来记录的.所以要做的文章原创 2013-04-09 21:06:45 · 6070 阅读 · 0 评论 -
关闭postfix 退信 bounce
在 /etc/postfix/master.cf文件中配置着相关的进程,可以取消启动相关进程就可以了.http://www.postfix.org/bounce.8.html root@chrd-edm:/etc/rsyslog.d# cat /etc/postfix/master.cf## Postfix master process configuration file. For detai原创 2013-04-09 21:06:27 · 4303 阅读 · 0 评论 -
ubuntu postfix 日志不能生成
我在清理/var/log目录下的一些文件后发现,本来存在的mail.log,mail.err,现被我删除后却不会再次生成了.我尝试故意让postfix发送错误的邮件地址,发现还是一样没生成mail相关的日志,郁闷了.这种问题对于我,根本无从查起,原因未明.....重启postfix,一样无果.查看log路径设置文件/etc/rsyslog.conf和/etc/rsysconf.d中的相关配置文件,原创 2013-04-09 21:06:23 · 2740 阅读 · 0 评论 -
postfix bounced日志部分分析归类
bounde用户错误said: 550 Invalid User said: 550Recipient unknown said: 550 #2175041 unavailable mail user (said: 503 RCPT account isn't a local account me said: 550 5.7.1 Requested action not takensaid: 50原创 2013-04-09 21:09:13 · 4405 阅读 · 0 评论 -
postfix smtp 拒绝接受不存在的收件人地址信
postconf -e smtpd_recipient_restrictions="permit_mynetworks,reject_unauth_destination,reject_unknown_recipient_domain"测试发现上现这个写法并没有起到我想要的作用,可能是规则应用逻辑上不是我理解的那样会把所有的规则检测一次,而是在某个规则适合了就终止检测了.所以需要写成下面的写法,因原创 2013-04-09 21:06:25 · 8412 阅读 · 1 评论 -
查询email的smtp发件的情况
http://smtp.e-dns.org/ 只有sina做了反向解析原创 2013-03-28 16:48:39 · 1416 阅读 · 0 评论