我在我们的postfix邮件服务器的mail.log文件中获得了连续的消息stream。 这是一个santisied示例: postfix/qmgr[7883]: 03DF631E8F: from=<[email protected]>, size=1021, nrcpt=15 (queue active) Jan 18 16:16:30 fadmin3 postfix/error[12269]: 923AC288B9: to=<[email protected]>, relay=none, delay=166662, delays=166657/0.59/0/4.2, dsn=4.4.2, status=deferred (delivery temporarily suspended: lost connection with mta5.am0.yahoodns.net[98.138.112.35] while sending RCPT TO) Jan 18 16:16:30 fadmin3 postfix/qmgr[7883]: 9D2F539889: from=<[email protected]>, size=672, nrcpt=15 (queue active) Jan 18 16:16:30 fadmin3 postfix/error[12267]: 9AFCD301D6: to=<[email protected]>, relay=none, delay=132365, delays=132362/0.64/0/1.8, dsn=4.4.2, status=deferred […]
所以我build立了一个简单的脚本,在某个Web服务停止运行时发送电子邮件警报。 它有一个简单的stream程: test = $( curl [address] | grep [a certain string in response] | wc -l ) if [ $test -ne 1 ]; then echo "there has been an error" | mail -s "Error" -t "[my-mail-address]" fi 并在crontab中设置为每五分钟进行一次检查: */5 * * * * sh /path/to/script/ 它运行了好几天,但是大概在十分钟前,几乎同时收到了来自服务器的一百封电子邮件。 这似乎是不可能的,因为脚本中甚至没有任何循环。 系统日志: Jan 26 01:05:01 sv1 CRON[23310]: (munin) […]
我正在将旧的Wordpress安装到新的CentOS LEMP堆栈VPS。 我想为新的VPS设置电子邮件。 它与默认安装的sendmail一起,但我觉得这是矫枉过正。 我只需要一个轻量级的电子邮件设置从Wordpress联系表单,通知等出站邮件。 我目前使用Google Apps在这个域上发送电子邮件。 是否可以configurationVPS通过GApps上托pipe的同一邮箱来转发电子邮件? 我的旧共享主机帐户(WPEngine)的通知电子邮件设置了与我的GApps相同的名称,但未通过GApps进行身份validation。 电子邮件地址结尾是一致的。 我目前使用sendmail的设置可以发送电子邮件,但他们没有通过GAppauthentication,电子邮件地址格式如下所示:[email protected]。 我知道我可以伪装子域(localhost),但我不确定如何将用户(root)更改为其他内容? 最终,我不希望电子邮件build立在VPS上,而是在GApps邮箱中。 我想尽可能保持VPS的清洁,并通过GApps转发所有电子邮件。 谢谢
电子邮件服务器设置 嘿,这是我第一次使用serverfault,但我希望社区可以帮助。 我正在尝试使用Linux,Postfix,Dovecot和MySQL构build一个安全的电子邮件系统。 我已经阅读perot.me ,你可以encryption传入的邮件,所以我想我可以使用它与邮件服务器。 下面我描述了我正在计划使用的设置。 在系统上得到一些反馈意见是否好,是否应该部署给公众? 我的服务器的位置将在冰岛或瑞士。 在我的设置中,我有3个服务器:mail1,mail2和webmail1 DNS: – MX:10:mail1.domain.com 10:mail2.domain.com TXT:v = spf1 ip4:127.0.0.1 a mx〜all mail1:这是发送和接收电子邮件的邮件服务器。 收到电子邮件时,会自动使用在mail1和mail2之间存储和同步的客户端公用PGP密钥encryption电子邮件内容(如果尚未encryption的话)。 如果服务器在线并且硬盘解密,则邮件将被传递到webmail1服务器,如果服务器处于脱机状态,则mail1将保留电子邮件,直到服务器重新联机为止。 此服务器没有完整的磁盘encryptionfunction,因为这是实际的邮件服务器,需要良好的正常运行时间,这意味着如果mail1和mail2都具有全盘encryptionfunction,并且由于在托pipe中心重新启动而closures,则电子邮件需要等到这些服务器将重新联机,并且已经手动解密了他们的磁盘。 (安全性<正常运行时间) mail2:与mail1具有相同的function,但用于在发送和接收邮件时保持邮件1的带宽下降(负载均衡)。 webmail1:保存从mail1和mail2发送的PGPencryption邮件。 它具有全磁盘encryptionfunction,因为它不需要很长的正常运行时间(安全性>正常运行时间)。 此服务器也是一个反向代理背后的webmail服务器,所以没有客户或用户可以findIP地址。 对于我正在考虑使用浏览器的本地存储来让用户在运行中解密消息的networking邮件,但这可能需要插件,因为在服务器上保存私钥是不安全的。 我面临的问题是如何将邮件从两个单独的邮件服务器(mail1和mail2)转移到webmail1? 那里有任何已知的指南吗?
我有两台configuration了Postfix的CentOS 6.6服务器来发送邮件。 我有一切工作很好,SPF条目,域名键和OpenDKIMconfiguration和工作,但我想完善我的备份邮件服务器。 目前,如果我closuresmx1并发送一封电子邮件,它会在mx2上排队等待。 一旦我在mx1上启动Postfix,邮件就会被发送出去,但是由于SPFfilter的原因,mx1会拒绝它。 我已经尽了一切努力来实现这个目标,但是这只是不按照预期的方式工作。 mx2被configuration为中继我发送给域的邮件。 我的main.cf中也有mynetwork中备份MX的IP地址 mx1 = bluemoon.domain.tld mx2 = surly.domain.tld 日志: MX2: Apr 28 08:23:31 surly postfix/smtpd[13015]: 4B37B35E1092E: client=sender1.zohomail.com[74.201.84.162] Apr 28 08:23:31 surly postfix/cleanup[13020]: 4B37B35E1092E: message-id=<[email protected]> Apr 28 08:23:31 surly /usr/lib64/plesk-9.0/psa-pc-remote[23410]: handlers_stderr: SKIP Apr 28 08:23:31 surly /usr/lib64/plesk-9.0/psa-pc-remote[23410]: SKIP during call 'limit-out' handler Apr 28 08:23:31 surly /usr/lib64/plesk-9.0/psa-pc-remote[23410]: handlers_stderr: SKIP Apr […]
我在CentOS 7机器上使用Apache,Postfix,Courier IMAP和roundcube。 我想创build一个新的用户帐户/新用户的电子邮件,以便能够从我的本地networking(到互联网)从我的域发送电子邮件。 我在CentOS服务器上创build了一个名为“bbrown”的用户(只是一个普通的Linux帐户,adduser / useradd bbrown)。 然后我转到roundcube邮件网页,我可以login为“bbrown”或者“[email protected]”。 如果我把腻子放到CentOS服务器上,我可以以“bbrown”的身份login到命令行。 无论在数据库中自动创build一个roundcube邮件用户帐户,都不会创build它。 (我确保在./config/main.inc.php $rcmail_config['auto_create_user'] = TRUE; auto_create_user的设置设置为true: $rcmail_config['auto_create_user'] = TRUE; ) 这是一个独立的CentOS服务器,所以用户在命令行上被useradd命令添加。 这不是CPANEL或任何其他types的Linux服务器。 在这个论坛中的一切似乎表明,大多数人添加用户使用CPANEL,这可能是做一些不同于通用的useradd脚本。 我的猜测是,我可能需要添加一个帐户到我的IMAP服务器 – 但真的不知道如何做到这一点。 我检查了日志,我有这样的消息: imapd: bbrown: No such file or directory 我还应该检查/做些什么才能使其工作? 后缀configuration文件: inet_interfaces = xxxx, 192.168.1.1, 127.0.0.1, [::1] inet_protocols = ipv4, ipv6 mydomain = xxxx.xxxx.xx myhostname = xxxx.$mydomain myorigin = $myhostname […]
我最近搬到一个新的服务器,现在我的一个用户抱怨电子邮件没有到达收件人。 邮件日志告诉我他们拒绝邮件 AOL will not accept delivery of this message. (in reply to end of DATA command)) refused to talk to me: 421 mtaig-mba02.mx.aol.com Service unavailable – try again later Recipient address rejected: aol.com (in reply to RCPT TO command)) 最后 (host mailin-03.mx.aol.com[64.12.91.196] said: 521 5.2.1 : (CON:B1) http://postmaster.info.aol.com/errors/554conb1.html (in reply to end of DATA […]
我正在为我目前正在build立的一个非营利组织build立一个邮件服务器(包括Postfix,Dovecot和Postfixadmin)。 我可以发送但不能通过TLS收到邮件。 当从[email protected]发送邮件到[email protected]时,它完美地工作。 字尾 /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 the name. The Debian default # is /etc/mailname. #myorigin = /etc/mailname smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU) biff = no # […]
我有以下几点: postfix-2.10.1-6.el7.x86_64 cyrus-sasl-lib-2.1.26-17.el7.x86_64 cyrus-sasl-plain-2.1.26-17.el7.x86_64 cyrus-sasl-2.1.26-17.el7.x86_64 我的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 debugger_command = PATH=/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin ddd $daemon_directory/$process_name $process_id & sleep 5 html_directory = no inet_interfaces = all inet_protocols = all mail_owner = postfix mailq_path = /usr/bin/mailq.postfix manpage_directory = /usr/share/man […]
我有一个新的专用服务器运行CentOS7与Postfix的Plesk 12.5,我已经成功地设置SPF,DKIM,DMARC和DomainKeys,因为它显示了这个testingport25.com: ================================================== ======== 结果摘要 SPF检查:通过DomainKeys检查:通过DKIM检查:通过Sender-ID检查:通过SpamAssassin检查:火腿 ================================================== ======== 细节: HELO主机名:s17772156.onlinehome-server.info来源IP:217.160.108.200邮箱来源:[email protected] SPF检查详情: 结果:通过validation码:[email protected] DNSlogging:pixeldraw.net。 SPF(没有logging)pixeldraw.net。 146 IN TXT“v = spf1 + a + mx + a:s17772156.onlinehome-server.info + ip4:217.160.108.200?all”pixeldraw.net。 146 IN A 104.27.131.21 pixeldraw.net。 146 IN A 104.27.130.21 pixeldraw.net。 146 IN MX 10 dc-7e1939e7-mail.pixeldraw.net。 pixeldraw.net。 146 IN MX 15 dc-7e1939e7-mail2.pixeldraw.net。 dc-7e1939e7-mail.pixeldraw.net。 146中A 217.160.108.200 DomainKeys查看详细信息: 结果:通过validation的ID:[email protected] DNSlogging:default._domainkey.pixeldraw.net。 300 […]