我拥有一个vServer和多个域。 服务器主要用于网站,但我也设置了postfix和dovecot来传递邮件。 一切都按预期工作。 即使对于不同的域名,我也可以在MySQL数据库中添加user , alias和domain ,发送和接收邮件。 每天我都在我的mail.logfind这个奇怪的条目: postfix/smtpd[29295]: NOQUEUE: reject: RCPT from mx1.tld-mx.com[41.222.33.24]: 550 5.1.1 <[email protected]>: Recipient address rejected: User unknown in virtual mailbox table; from=<[email protected]> to=<[email protected]> proto=ESMTP helo=<mx1.tld-mx.com> 这个日志信息每天早晨在服务器时间大约4:35出现,我真的不知道该怎么做。 我以任何错误的方式configuration我的服务器? 或者这是一个机器人扫描我的机器? 我的main.cf # cat /etc/postfix/main.cf # See /usr/share/postfix/main.cf.dist for a commented, more complete version # Debian specific: Specifying a file name will cause […]
我知道这已经被问过,但是我尝试了其他的并且仍然得到相同的错误。 服务器错误:“554 5.7.1:中继访问被拒绝” postconf -n: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = […]
是否有可能在Postfix上configuration不同用户名/密码凭证的SMTP身份validation? 所以,我有一个MTA来传递来自20个不同域的电子邮件。 当发送电子邮件到特定的域时,例如example.com,我的MTA必须进行身份validation。 没问题,这解决了这个问题: http : //postfix.state-of-mind.de/patrick.koetter/smtpauth/smtp_auth_mailservers.html 但是,我对每个发件人域都有不同的帐户。 所以,当mydomain1.com发送邮件到example.com时,它使用一个帐户。 另一个用于mydomain2.com – > example.com等 这是通过Postfix实现的吗?
我正试图阻止来自一个发件人的垃圾邮件。 他们每次使用另一个邮件服务器。 这里是从原来的电子邮件标题(我取代了我的电子邮件和主机:[email protected],发件人的电子邮件和主机我取而代之:[email protected],所有其他都没有改变): From – Mon Jan 27 14:17:08 2014 X-Account-Key: account7 X-UIDL: 1201266183.11294 X-Mozilla-Status: 0001 X-Mozilla-Status2: 00000000 X-Mozilla-Keys: Return-Path: <[email protected]> Received: from my-domain.com ([unix socket]) by localhost (Cyrus v2.2.13-Debian-2.2.13-10) with LMTPA; Mon, 27 Jan 2014 14:15:18 +0200 X-Sieve: CMU Sieve 2.2 X-Greylist: delayed 460 seconds by postgrey-1.27 at mnl-bck; Mon, 27 Jan 2014 14:15:05 […]
我正在使用Postfix 2.7.1(暂时不能更改为新版本),并且运行正常,除了允许从内部networking中继邮件,即使指定的发件人不是来自所服务的域由Postfix。 换句话说,如果我的域是mydomain.com,我的本地networking上的任何一台计算机都可以使用[email protected]作为发件人的电子邮件地址将电子邮件发送到任何其他域,我该怎么办? 我在main.cf中有这个: smtpd_recipient_restrictions = permit_mynetworks,permit_sasl_authenticated,reject_unauth_destination 我试图限制我的networking只有本地主机或改变smtpd_recipient_restrictions的顺序为: smtpd_recipient_restrictions = reject_unauth_destination,permit_mynetworks,permit_sasl_authenticated 但结果是networking上没有用户可以发送电子邮件。 在此先感谢您的帮助!
我试图从运行sendmail 8.13.6 / dovecot 0.99.14(mbox格式)的旧服务器将数百个电子邮件帐户迁移到运行postfix 2.6.6 / dovecot 2.0.9(maildir格式)的新服务器。 我尝试用dsync迁移几个邮箱,并尝试使用imapsync,但是在这两种情况下,邮件UIDL都正在更改,这显然会导致stream行的桌面客户端重新下载他们的pop收件箱中的所有邮件,这反过来会产生很多愤怒的电话和来自我的用户的电子邮件。 奇怪的是,在旧的dovecot 0.99.14中显然使用了不同的UIDL格式:例如旧格式的UIDL:两个连续消息的1391619175.6和1391619175.7。 导入时分配给这两个消息的新格式UIDL:使用dovecot.conf中定义的格式%08Xu%08Xv的0000000152f30760和0000000252f30760 而且我在0.9版的dovdcot.conf文件中没有看到一个选项来指示这是什么格式,所以我不知道如何configuration新的安装来模仿这种格式。 任何深入了解保存旧的UIDL的好方法将不胜感激。
我遵循这个指南逐字: http://www.postfix.org/STANDARD_CONFIGURATION_README.html#firewall 但是,它会导致本地邮件进入[email protected] 。 如果我将/etc/postfix/virtual那一行更改为: root [email protected]那么它会到达我,所以问题解决了吗? 问题是从外面来的任何人都可以发送到root ,然后到达我。 我一直想弄清楚如何在本地发布邮件到root去[email protected]同时防止外部连接这样做。
我正在寻找关于Postfix限制configuration的一些build议。 我正在寻找一个平衡的configuration,正确地拒绝垃圾邮件和未经授权的访问重试。 最近,我一直在阅读一些文档,并试图从别人的经验中学习,但是当限制出现时,我有点困惑。 现在,我被迫设置permit_sasl_authenticated作为第一个限制,以便通过桌面电子邮件客户端应用程序发送电子邮件时,经过身份validation的用户不会与垃圾邮件阻止列表相匹配。 如果我删除这样的限制,那么通过桌面电子邮件客户端应用程序(例如MS Outlook)发送电子邮件并通过ADSL或dynamicIPS连接到networking的人通常会被检测为垃圾邮件。 我想知道如果我错过了阅读其他configuration,教程和文档,他们看起来没有受到这个问题的困扰。 我觉得我是唯一的一个。 我也想知道,如果我在每个限制声明中检查正确的垃圾邮件列表。 mynetworks_style = host smtpd_client_restrictions = permit_sasl_authenticated, reject_rbl_client sbl.spamhaus.org, reject_rbl_client blackholes.easynet.nl ,reject_rbl_client zen.spamhaus.org ,reject_rbl_client bl.spamcop.net ,check_client_access正则expression式:/ etc / postfix / client_restrictions smtpd_data_restrictions = reject_unauth_pipelining smtpd_end_of_data_restrictions = smtpd_etrn_restrictions = smtpd_helo_restrictions = permit_mynetworks, check_helo_access哈希:/ etc / postfix / helo_access, permit_sasl_authenticated, warn_if_reject reject_non_fqdn_hostname, reject_invalid_hostname, 许可证 smtpd_recipient_restrictions = permit_sasl_authenticated, reject_unauth_pipelining, permit_mynetworks, […]
我使用postfix将邮件转发给第三方SMTP,从不直接发送电子邮件,当然,我从来没有收到电子邮件。 所以,如果我设置myhostname / mydestination像fake.mydomain.com,哪个mydomain.com是有效的域,但 fake.mydomain.comlogging不存在 机器的IP没有PTR指向fake.mydomain.com 上述设置是否有缺陷?
我在CentOS 6中使用postfix / dovecot构build了自己的邮件服务器,这是我的postconf -n结果: alias_database = hash:/etc/aliases alias_maps = hash:/etc/aliases command_directory = /usr/sbin config_directory = /etc/postfix daemon_directory = /usr/libexec/postfix data_directory = /var/lib/postfix debug_peer_level = 2 home_mailbox = Maildir/ html_directory = no inet_interfaces = localhost inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain mydomain = […]