我刚在我的Ubuntu服务器上安装了postfix,并试图debugging为什么不发送邮件。 这使我发现/var/log/mail.log文件丢失。 对于这个问题,我的/ var / log中没有任何名为mail *的东西。 我试过以下无济于事: 创build一个mail.log并将所有者+组更改为postfix 重新启动postfix和rsyslog 删除虚拟日志并重新启动服务,然后发送邮件 sudo apt-get remove rsyslog / sudo apt-get install rsyslog 运行postconf syslog_facility返回syslog_facility = mail 任何其他的想法?
如何在后缀中启用RBLfilter? 我目前的configuration: submission inet n – n – – smtpd -o syslog_name=postfix/submission -o smtpd_tls_security_level=encrypt -o smtpd_sasl_auth_enable=yes -o smtpd_client_restrictions=permit_sasl_authenticated,reject # -o milter_macro_daemon_name=ORIGINATING -o smtpd_helo_restrictions= -o smtpd_sender_restrictions=reject_sender_login_mismatch,permit -o receive_override_options=no_header_body_checks,no_address_mappings -o smtpd_sender_restrictions=permit_sasl_authenticated,reject -o smtpd_recipient_restrictions=reject_non_fqdn_recipient,reject_unknown_recipient_domain,permit_sasl_authenticated,reject 邮件正在发送和接收。 当我添加: reject_rbl_client sbl-xbl.spamhaus.org, reject_rbl_client bl.spamcop.net 雷鸟在发送过程中永远循环,没有任何反应。 /var/log/mail.*是空的。
我正在尝试为smtp中继设置一个postfix服务器。 Centos 5.5 我已经遵循http://mhawthorne.net/posts/postfix-configuring-gmail-as-relay.html,但是当尝试重新启动或重新加载postfix时出现FAILED错误。 当我做: cat maillog 我得到: fatal: open /etc/postfix/main.cf: Permission denied 这是我所尝试的: chown postfix /etc/postfix/main.cf chmod u+rwx /etc/postfix/main.cf 之后,我做: ls -l /etc/postfix/main.cf 这给了我: -rwx——. 1 postfix anotheruser 27531 Apf 29 12:19 /etc/postfix/main.cf 没有骰子。 同样的错误。 我什至尝试暂时做chmod 777,但得到同样的错误。 关于权限问题的任何想法? 我假设它正在运行该服务作为后缀用户。 谢谢
我的服务器开发了一个预期的问题,我无法从邮件客户端连接。 我查看了服务器日志,唯一看起来确定问题的事情是像下面这样的事件: 11月23日18:32:43 hig3 dovecot:imap-login:login:user =,method = PLAIN,rip = xxxxxxxx,lip = xxxxxxx,TLS Nov 23 18:32:55 hig3 postfix / smtpd [11653]:从xxxxxxx .co.uk [xxxxxxx] 11月23日18:32:55 hig3 postfix / smtpd [11653]:警告:SASL身份validation失败:无法连接到saslauthd服务器:无此文件或目录11月23日18:32:55 hig3 postfix / smtpd [11653]:警告:xxxxxxx.co.uk [xxxxxxxx]:SASL LOGIN身份validation失败:通用失败11月23日18:32:56 hig3 postfix / smtpd [11653]:来自xxxxxxx.co.uk的AUTH之后丢失连接[xxxxxxx] 11月23日18:32:56 hig3后缀/ smtpd [11653]:从xxxxxxx.co.uk断开[xxxxxxx] 这个问题是不寻常的,因为在我的办公室只有半个小时,我的邮件客户端没有被提示input正确的用户名和密码。 我没有对服务器做任何改变,所以我不明白会发生什么事情发生这个错误。 search错误消息会产生各种结果,“修复”我不确定(显然不想让事情变得更糟或者修复没有被破坏的东西)。 当我跑步 testsaslauthd -u xxxxx -p xxxxxx 我也得到以下结果: connect():没有这样的文件或目录 […]
我遇到了这个问题,我的Postfix安装: https://www.virtualmin.com/node/23909 即我得到的错误: postfix/smtp[130]: fatal: unknown service: smtp/tcp 和上面的url一样,解决scheme是手动将/etc/services和/etc/resolv.conf复制到/var/spool/postfix/etc 我的印象是这个“刚刚开始发生”,以前不是一个问题,但是我只是做了postfix main.cf微小的看似无关的变化,所以我不明白为什么。 我所关心的Postfix安装教程没有提及任何有关手动复制这些文件的事情……这感觉就像Postfix本身应该做的事情,而不是由于某种原因。 是否有一些潜在的错误configuration会导致这种情况?
我正在testing一个后缀安装。 我注意到,如果我尝试从另一个不是我的域名( [email protected] )的虚构帐户发送邮件给我的本地用户( [email protected] ),邮件仍然会传送给我用户。 MAIL FROM:<[email protected]> RCPT TO:<[email protected]> 我不确定这是否是正常行为,或者是否会导致问题。 例如,我很担心用户可以使用服务器发送伪造的电子邮件,这些电子邮件并非真正源自他们声称是源自的电子邮件帐户。 PS我仍然处于学习postfix的早期阶段,所以不知道我的问题是否合理。 根据@ DerfK的评论,我testing了一个开放的中继(其中MAIL FROM和RCPT TO不在这台服务器上),这就是我所得到的。 出于某种原因,它接受RCPT TO ,然后在我input主题之后说再见。 那么这是好还是坏? HELO test.mydomain.com 250 mail MAIL FROM:<[email protected]> 250 2.1.0 Ok RCPT TO:<[email protected]> 250 2.1.5 Ok Subject: testing for open relay 221 2.7.0 Error: I can break rules, too. Goodbye. Connection closed by foreign host.
我一直在寻找如何做到这一点的资源,但没有太多的运气。 我正在运行一个基于Postfix和Courier with MySQL的工作MTA / MUA作为虚拟用户的后端。 我基于我的系统在下面的文章: https://help.ubuntu.com/community/PostfixCompleteVirtualMailSystemHowto 这是很好的,直到空的部分! 我的SMTP / IMAP设置工作得很好,我设法得到SpamAssassin和ClamAV以及我在网上find的一些单独的文档。 我需要帮助的是设置Postfix使用Procmail作为mailbox_command,以便它可以与虚拟用户一起使用。 我希望能够为每个虚拟用户分别定义不同的Procmail规则。 我读过Postfix文档,据我所知,mailbox_command的默认function只适用于本地(非虚拟)用户。 提前致谢! 更新: 自从这篇文章,我已经认识到,mailbox_command不是成立的。 相反,我find了一个使用transport_maps来做到这一点的方法。 在下面阅读我自己的答案。
设置一个新的服务器,并有一些问题与后缀。 设置它使用相同的configuration作为另一台服务器,我有它的工作正常。 无论如何,当我尝试发送到一个特定的领域,我不断得到 Feb 14 10:28:55 web postfix/smtp[6276]: B9056A041A: to=<[email protected]>, relay=mailserver.innovative-payroll.com[213.171.216.114]:25, delay=0.29, delays=0.06/0.01/0.01/0.21, dsn=5.0.0, status=bounced (host mailserver.innovative-payroll.com[213.171.216.114] said: 550 <[email protected]>: Sender address rejected: Domain not found (in reply to MAIL FROM command)) innov-payroll.com域的MXlogging似乎设置正确 使用挖掘领域,我得到以下。 ; <<>> DiG 9.6-ESV-R4-P3 <<>> mailserver.innovative-payroll.com ;; global options: +cmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 32030 […]
Centos 6.8 Postfix 2.6.6 我仍然有与Postgrey灰名单问题。 我忘了我的Dropbox密码,所以我遵循了知道的程序。 Dropbox寄给我一封邮件来改变它。 Postgrey不断拒绝Dropbox重试。 在我的maillog每5/6分钟,我看到dropbox拒绝,“reason = new” 我想这是因为发件人的IP更改。 4/5尝试dropbox服务器停止重试。 如何在白名单中手动添加发件人? 编辑1:我添加了“dropbox.com”到/etc/postfix/postgrey_whitelist_clients.local,重新启动Postfix,但发件人= 01000157d7ee0e57-3626bd2e-5464-4efc-b36b-a61d9df644d2-000000@email.dropbox.com被拒绝(发件人的名称“每改变一次) 编辑2: Oct 18 11:30:36 host postgrey [1813]:action = greylist,reason = new,client_name = a10-6.smtp-out.amazonses.com,client_address = 54.240.10.6,sender = 01000157d7ee0e57-3626bd2e-5464-4efc [email protected],收件人= d @ s 10月18日11:30:36 host postfix / smtpd [4306]:NOQUEUE:拒绝:来自a10-6.smtp-out.amazonses.com的RCPT [54.240.10.6]:450 4.2.0:收件人地址被拒绝:灰名单,请参阅http://postgrey.schweikert.ch/help/s.html ; from = <01000157d7ee0e57-3626bd2e-5464-4efc-b36b-a61d9df644d2-000000@email.dropbox.com> to = proto = ESMTP helo […]
在过去的几个星期里,我们受到了一类新的垃圾邮件(或者至less对我/新来说)的重创。 我把它称为“小报垃圾邮件”,因为他们发送超市小报头条与小报副本,绕过垃圾邮件刺客。 以下是一些示例主题行: Mark Cuban Tells Anderson Cooper The Economy is in for a Meltdown Looking for Walk In Bath Information? Compare These Choices. One of the Biggest Government Lies: "The Food We Eat is Safe" Donald Trump: I Consult Myself On Foreign Policy, "Because I Have A Very Good Brain" 该消息包含1-2个链接,但不清楚他们是否出售任何东西或没有点击链接。 这些消息都包含大量的正文,其中一些读取像旋转的网页内容。 垃圾邮件刺客无法从合法邮件中辨别出这种风格的副本。 这些信息的频率正在增加,几个星期前我们每天可能有20个,而且这个信息正在升级到现在我们每天能够获得数百个这样的信息。 […]