我有一个邮件服务器,它具有主要的MXlogging,这个邮件服务器处理所有的邮件收件箱和邮件进出邮箱。 我设置了第二个邮件服务器,它没有MXlogging,但仅充当服务器发送邮件,没有接收邮件。 这第二台服务器只是从一个网站发送邮件,这个网站在几个节点之间进行负载平衡,只有networking服务器节点有权从第二台邮件服务器发送邮件。 以上所有的工作都很好,我现在的问题是,当有人填写了网站上的联系表格,我发送邮件给提交表格的用户,我也发送表格的内容到一个信息邮件,所以网站是example.com,我发送一封邮件到[email protected],这里的问题是发送到[email protected]的电子邮件在本地服务器上处理,我希望它从第二个外部发送出去像任何其他邮件的邮件服务器。 邮件服务器是mail2.example.com 。 希望这是有道理的。 main.cf myhostname = mail2.example.com mydomain = example.com myorigin = $mydomain mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain local_recipient_maps = unix:passwd.byname $alias_maps # Custom changes message_size_limit = 10485760 mailbox_size_limit = 0 always_add_missing_headers = yes # Server smtpd_tls_loglevel = 1 smtpd_tls_security_level = may smtpd_tls_cert_file = /etc/letsencrypt/live/mail2.example.com/fullchain.pem smtpd_tls_key_file = /etc/letsencrypt/live/mail2.example.com/privkey.pem smtpd_tls_CApath = […]
This is as far as i know a question which is sometimes asked but noone has an answer. (That is how I expirenced it…) 是的,我已经看到了这种问题在serverfault,但从来没有这样(postfixadmin) 我有2个域(domain1.de和domain2.de)和1个邮件服务器(mailserver.domain1.de)。 SPF,PTR / ReverseDNS,DKIM,DMARClogging都为这两个域设置。 直到前几天,我只有一个域(domain1.de)和设置工作。 现在我有第二个,我已经使用postfixAdmin将其添加到Postfix MTA。 我得到了以下错误,并决定使用virtual_alias发送任何邮件到… @ domain2.de到[email protected](这样我就会得到重要的电子邮件,即使系统目前不好): Jun 12 17:34:06 441335-696 postfix / smtpd [18907]:NOQUEUE:reject:来自xxxxxx-xxx.pph-server.de的RCPT [91.134.xxx.xxx]:553 5.7.1'[email protected] ':发件人地址被拒绝:不属于用户[email protected]; from='[email protected]'to='[email protected]'proto = ESMTP helo ='mails.domain1.de' mails.domain1.de是Roundcube 现在再到我的设置: /等/后缀: main.cf […]
我们有一个安全系统,当第一次售出的电脑启动时,我们从目的地收到一封电子邮件,显示它已经收到。 警方build议我们这样做后,一些不幸的骗局的尝试 – 所有工作正常与macOS上的Postfix,但要注意的是,他们希望头中的计算机的IP地址,以certificate它不是我们的电子邮件刚刚发送自己。 我使用Google的SMTP进行了testing,并且在相同的设置下也能正常工作,但是随着交付的电脑出现在世界各地,Google的安全措施将会启动,并认为我们的密码被盗用,所以只有20%的电子邮件发送。 邮戳到目前为止看起来是100%交付,问题是,像我们testing过的其他SMTP服务器一样,邮件头中没有显示源IP地址, X-Sf-Originating-Ip是他们的服务器。 反正有Postfix头文件,我们可以强制发件人的公共IP包含在标题中,或者使用我们可能错过的邮戳的SMTP服务器的任何设置? 看来大多数Postfix的选项都是排除公有IP的,不要强迫它被包含在内。
我需要为后缀设置TLS / SSL,所以我可以通过我的smtp邮件服务器从我的iPhone发送邮件(否则我会得到中继访问被拒绝的消息)。 根据我的理解,这是一个方法: https://www.rosehosting.com/blog/set-up-ssl-encrypted-connection-in-postfix-dovecot-and-apache/ 但是我也可以用SASL框架来做,并使用dovecot: https ://wiki2.dovecot.org/HowTo/PostfixAndDovecotSASL 哪个更好/更合适?
我无法使域“[email protected]”正常工作。 当我发送邮件(从Outlook和雅虎),我收到错误“收件人地址拒绝:本地收件人表中的用户未知”(我GOOGLE了这个,并遇到了一些stackoverflowpost,但似乎没有任何帮助…) 除“[email protected]”之外,以下所有邮件均可正常工作…? /等/后缀/虚拟: [email protected] gvanto [email protected] gvanto [email protected] gvanto [email protected] gvanto 我碰到这个post ,这表明设置: local_recipient_maps = (空)应该停止这个错误发生,但它不为我工作。 我已经检查过,没有“网站pipe理员”或“支持”的用户或别名,那么为什么这些工作,而不是'testing'? 我已经尝试添加test: gvanto和test: root / etc /别名太…每次重新启动后缀,没有运气… 任何帮助非常感谢,谢谢 完整configuration(/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 the first # line of that file to be used as […]
我需要通过exetrnal SMTP发送邮件,是使用STARTTLS,我的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 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 mynetworks = 0.0.0.0/0 newaliases_path = /usr/bin/newaliases.postfix queue_directory = […]
我有Postifix与Dovecot为更多的域名a.com b.com c.cz maindomain.com等我创build新的Exchagne域名maindomain.com服务器,当我更改MX为maindomain.com一切工程很好从互联网传递到maindomain .com在Exchange中,但从另一个我的域名在Postfix服务器(a.com b.com c.cz),maindomain.com当我从a.com或b.com或c.cz发送电子邮件然后邮件被传递到Postfix服务器中的旧邮箱而不是Exchange。 是否有可能只添加这个传输文件在后缀中: maindomain.com smtp:[excahnge.domain.com] 或者我还必须做点别的? 谢谢
抱歉打扰你,但我有一个问题,我似乎无法解决。 我试图在一个新的服务器上安装Postfix,这个服务器需要移动到更多的空间/内存,旧的服务器有256MB的内存,而且相当老旧。 我是相当新手,并花了很多时间今天/晚上试图找出如何得到这个工作。 旧的服务器有MYSQL 5.5.36所以计算可能会有意想不到的问题,如果我们改变到MariaDB并select升级到新的服务器的MYSQL 5.7.18 。 我们真的没有一个专门的开发团队,所以我不能顺从他们。 这是我的错误: yum install postfix Loaded plugins: fastestmirror Loading mirror speeds from cached hostfile * base: mirrors.seas.harvard.edu * epel: epel.mirror.constant.com * extras: ftp.osuosl.org * updates: mirror.trouble-free.net * webtatic: us-east.repo.webtatic.com Resolving Dependencies –> Running transaction check —> Package postfix.x86_64 2:2.10.1-6.el7 will be installed –> Processing Dependency: libmysqlclient.so.18(libmysqlclient_18)(64bit) for package: […]
我已经将后缀configuration为开放中继,以将邮件推送到Office 365 SMTP连接器。 该连接器configuration为静态IP地址authentication,这工作正常。 当我尝试用telnet发送邮件时,Office365弹跳: host smtp.office365.com[40.101.125.210] said: 550 Relay access denied (in reply to RCPT TO command) 我是否需要在O365中设置特殊权限才能允许从连接器发送邮件? 难道有规则不允许吗? 我不完全是O365 / Exchange的专家 我还testing了同一个域(mydomain.com)和不同的FROM地址上的其他收件人。 该域在O365在线交换界面中的“接受域”(mydomain.com – authorative)下列出,远程域中只有一个条目(默认* =允许的所有远程域)。 编辑 :main.cf现在有正确的中继地址(relayhost选项)。 问题依然存在。 这里是我的SMTP中继的更详细的信息: /var/log/mail.log: Jul 20 10:31:11 smtp postfix[4704]: Postfix is running with backwards-compatible default settings Jul 20 10:31:11 smtp postfix[4704]: See http://www.postfix.org/COMPATIBILITY_README.html for details Jul […]
我已经看到了这个错误消息的其他几个问题,但似乎主机和IP问题是OP知道的。 这两个与我的服务器无关。 哪里和为什么是后缀产生这个错误? 7月24日17:42:14电子邮件postfix / smtpd [32277]:警告:主机名kimtake.respectedopinion.com不解决地址62.210.28.114 7月24日17:42:14邮件后缀/ smtpd [32277]:连接来自未知[62.210.28.114] 7月24日17:42:14电子邮件postfix / smtpd [32277]:断开与未知[62.210.28.114]