SASL LOGIN authentication failed: authentication failure解决

平台:centos 5 X64
postfix:postfix-2.5.6
May 9 20:42:49 mail postfix/smtpd[2536]: warning: unknown[ip]: SASL LOGIN authentication failed: authentication failure
现象:
本地extmail能正常登陆并发送邮件出去。通过telnet登陆出现错误:
SASL LOGIN authentication failed: authentication failure
通过foxmail,php的smtp类登陆同样报此错。
分析:
查看验证配置文件:
cat  /usr/lib/sasl2/smtpd.conf pwcheck_method: authdaemondlog_level: 3mech_list: PLAIN LOGINauthdaemond_path:/var/spool/authdaemon/socket
且 /var/spool/authdaemon/socket 文...

extman:Can’t locate Ext/MIME.pm in @INC (@INC contains

配置完exitmail,打开、登陆都正常。就extman不行。升级了perl,报错没有丝毫改变。
Can’t locate Ext/MIME.pm in @INC (@INC contains: /data/mail/extman/libs /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/li...

Can’t chdir to /Maildir/, Permission denied

装了extmail登陆自带的postmaster@extmail.org帐户时出现
Can’t chdir to /mail_data/extmail.org/postmaster/Maildir/, Permission denied
发现postmaster不存在,只有个test目录,考虑到权限要一致,我就
cp -rp test postmaster
复制一份过去,可还是报错,网上查了下,有人说是SELINUX引起的.
修改:/etc/sysconfig/selinux
设置:SELINUX=disabled
让他马上生效:setenforce 0
按上面的方法即可关闭.可是我的selinux是一老早就关闭了的.而且apache运行的用户也是vuser.vgroup,所以这个可能性排除.由于以前装的邮局是...

Can’t locate RRDs.pm in @INC (@INC contains: /usr/lib64/perl5

Can’t locate RRDs.pm in @INC (@INC contains:
在配置postfix环境中遇到问题.
平台:64位Centos5.2
在安装rrdtool-1.2.28.tar.gz后启动mailgraph-init和qmonitor-init出错:
tarting mail statistics grapher: mailgraph_extCan’t locate RRDs.pm in @INC (@INC contains: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.7/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.6/x86_64-linux-thread-multi /usr/lib64/perl5/site_perl/5.8.5/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/5.8.6 /usr/li...

postfix一amavisd故障(timed out while receiving the initial server greeting)

今天公司一postfix邮局服务器出故障,不能收发信件,查看队列,4千多,也不算多.
执行postsuper -d ALL 清除所有队列,重新启动postfix,问题依然.
再次查看队列,发现全是类似下面的错误
(conversation with 127.0.0.1[127.0.0.1] timed out while receiving the initial server greeting)
邮件日志查看:
tail -n200 /var/log/maillog
错误信息类似:
postfix/smtpd  disconnect from unknown
Jun 26 17:32:04 mail postfix/error[4098]: 625A0137707: to=<MONEY@XXXX.COM>, relay=none, delay=0.71, delays=0.71/0/0/0, dsn=4.4.2, status=deferred (delivery...

Send fail, return code 19200(extmail)

平台:postfix+extmail
发信出现以下错误:

在服务器上观察队列并不对,擦音看日志发现提示/var空间不足,也查df -h ,果然.
18G     maillog
执行:
echo > /var/log/maillog
问题解决.

...

gmail的垃圾邮件也如此之多.

这段时间很为垃圾邮件发愁,90%的垃圾信全是国外来的,以前做过一个武断的措施,把国外的IP全封了,导致很多信无法到达公司邮局,客户抱怨严重,我也无赖,还是得放开,唉.
qmail上的反垃圾也没怎么多研究了,现在主要在查postfix的,他自身带了不少的反垃圾功能,还是挺有用的.今天登陆gmail,发现垃圾邮件同样是一大堆,我并不怀疑gmail 的反垃圾技术,难道是为了更好的用户体念?将所有邮件的主动权交给用户?

...

postfix中slockd插件plugin.cf配置

 slockd中各种插件的配置,都依赖于软件包里config/plugin.cf文件。
以下是每个配置的介绍,请根据自己的需求打开或关闭其中有关的插件/选项。
注意:Slockd 的插件载入/执行先后顺序,与“插件名称__plugin = yes”在配置文件中的先后
有着紧密联系,例如anvil和localctrl,如果localctrl_plugin = yes 比anvil_plugin = yes
的位置靠文件前头,则先执行localctrl,然后再到anvil,具体的可以打开debug_level = 4,
在日志文件里看到子进程启动时加载插件的顺序。
QUOTE:
# plugins config...

常见退信内容诊断分析集锦

常见退信内容诊断分析集锦

1、提示信息:Sorry, I couldn’t find a mail exchanger or IP address. (#5.4.4)
退信原因:检索不到接收方域名的邮件解析(MX记录)和域名解析(A记录)。
解决办法:检查接收方域名是否有效,且正确设置了邮件解析(MX记录)或域名解析(A记录)。查询命令(dos或者命令行提示符下执行):Nslookup –q=mx 投递方域名2、提示信息:invalid address (#5.5.0)或者User unknown或者user is not found 退信原因:没有这个收件人。
解决办法:请核对对方email地址是否正...