Articles of sendmail

试图摆脱传出电子邮件中的本地主机 – Sendmail

我正在运行sendmail,我已经出现在CBL上。 我已经解决了几个问题,但我无法弄清楚如何摆脱这两个本地主机提到。 我在我的/ etc / hosts文件中注释掉了localhost行,并且确保sendmail.cf中有一行代码: Djmydomain.com 我将继续寻找其他的事情,但我真的很喜欢我的邮件不被标记为垃圾邮件,因为我是一个sendmail新手。 提前致谢! 以下是我发送给我的Gmail帐户的邮件标题: Delivered-To: [email protected] Received: by 10.90.70.19 with SMTP id s19cs391179aga; Fri, 26 Feb 2010 17:18:08 -0800 (PST) Received: by 10.142.196.20 with SMTP id t20mr692104wff.88.1267233488585; Fri, 26 Feb 2010 17:18:08 -0800 (PST) Return-Path: <[email protected]> Received: from mydomain.com ([999.999.999.999]) by mx.google.com with ESMTP id 36si1793616pxi.21.2010.02.26.17.18.07; Fri, 26 Feb […]

从我的域到Gmail的电子邮件转发 – 失败

[在ServerFault上有很多类似的问题,但我找不到一个正确的点] 背景:我为我的电子邮件客户端使用Gmail。 我的电子邮件是[email protected]。 然而,人们与我沟通的电子邮件是[email protected]。 我在ServerBeach上运行托pipewww.example.com和其他域的服务器。 直到昨天,我无痛地只是把电子邮件发送到[email protected][email protected],一切都很好,事实上已经好几年了。 突然间,我的电子邮件停止工作 – 也就是说,我的Gmail帐户停止从我的服务器通过转发接收电子邮件。 看着它,我发现了一堆电子邮件坐在我的服务器上,像这样的内容: … while talking to gmail-smtp-in.l.google.com.: >>> RCPT To:<[email protected]> <<< 450-4.2.1 The user you are trying to contact is receiving mail at a rate that <<< 450-4.2.1 prevents additional messages from being delivered. Please resend your <<< 450-4.2.1 message at a later time. If the user […]

sendmail:在同一域/服务器上的网站和电子邮件

我使用的sendmail为我的网站,我的电子邮件地址也使用相同的服务器名称。 所以,www.zedsaid.com和[email protected]。 Sendmail似乎不想将邮件实际发送到我的收件箱,而是想要在服务器上本地发送,我不想要。 以下是我尝试发送testing时得到的结果: zedsaid:/etc# echo "Subject: test" | /usr/lib/sendmail -v [email protected] [email protected]… Connecting to [127.0.0.1] via relay… 220 zedsaid.com ESMTP Sendmail 8.14.3/8.14.3/Debian-5+lenny1; Thu, 12 May 2011 15:34:11 -0700; (No UCE/UBE) logging access from: zedsaid.com(OK)-zedsaid.com [127.0.0.1] >>> EHLO zedsaid.com 250-zedsaid.com Hello zedsaid.com [127.0.0.1], pleased to meet you 250-ENHANCEDSTATUSCODES 250-PIPELINING 250-EXPN 250-VERB 250-8BITMIME 250-SIZE 250-DSN 250-ETRN […]

Linux Sendmail相同的用户名多个域

我已经通过创build用户名configuration我的sendmail多个域 [email protected] [email protected] [email protected] 在passwd文件中 现在我添加了文件/ etc / mail / virtusetable中的条目 [email protected] sales\@domain1.com #escape to count as user not email [email protected] sales\@domain2.com [email protected] sales\@domain3.com 因此,在configuration电子邮件客户端时,您提供的用户名为sales @ domain1.com,sales @ domain2.com等。我使用webmail和Outlook进行了testing。 这是做这件事的最好方法吗?我需要把条目放在任何其他文件中,比如genericstable。

AWS亚马逊SES突然停止工作

自从星期一(30-10-2012)以来,我无法从aws.amazon SES发送邮件,此前它正在正常工作,但突然停止工作。 我得到以下是错误 A PHP Error was encountered Severity: User Warning Message: SimpleEmailService::getSendQuota(): Sender – RequestExpired: Request timestamp: Wed, 31 Oct 2012 11:50:32 UTC expired. It must be within 300 secs/ of server time. Request Id: e472fb5a-2351-11e2-8183-8138c6c456cf Filename: libraries/ses.php Line Number: 363 但是这个相同的代码在另一台服务器上正常工作可能是什么问题请帮忙,我找不到解决scheme。

如何确认发送邮件时SendMail看到的具体MX优先级?

CentOS 5.x | SendMail 8.14 我有一个configuration为最后一跳的sendmail服务器。 它执行出站邮件的DNS查找,并尝试将其发送给收件人邮件主机。 由于某些原因,服务器遇到延迟发送到一个收件人域和日志表明它正在尝试某些收件人MXlogging不按顺序。 例: recipientfoo.com MX preference = 10 mail.cloudfoo.com recipientfoo.com MX preference = 20 backup.recipientfoo.com recipientfoo.com MX preference = 30 backup2.recipientfoo.com 在这种情况下,我希望首先看到mail.cloudfoo.com的初始尝试…但是这不是我在日志中看到的。 在/ var / log / maillog中,我看到: maillog.1:Apr 10:08:28 serverfoo sendmail [12345]:r5ND75SPa012345:from =,size = 1345,class 0,nrcpts = 1,msgid =,proto = ESMTP,daemon = MTA,relay = mail.senderfoo.com [192.168.1.10] maillog.1:Apr 10:08:49 […]

抓住传入的电子邮件,然后在sendmail上交付给原始收件人

在我工作的公司里,有一个用户对电子邮件的使用不好,但为了certificate他在做什么,我们需要拦截所有收到的电子邮件给他,并从他那里发出所有的电子邮件,我是邮件服务器pipe理员,我有在Ubuntu上运行的sendmail。 是否有可能收到他的所有电子邮件,将其存储到另一个电子邮件帐户,然后通过sendmail将电子邮件发送给原始收件人? 例如,所有发送到[email protected]的电子邮件都必须存储在另一个帐户([email protected])上,然后交给他([email protected])。 所有来自[email protected]的电子邮件必须存储到另一个帐户([email protected]),然后发送给收件人。 我感谢您的帮助。 非常感谢。

发送邮件服务启动错误

我在一些教程的基础上在CentOS上安装了sendmail。 当我启动sendmail时,它显示sendmail失败的错误。 这里的结果如下: systemctl status sendmail sendmail.service – Sendmail Mail Transport Agent Loaded: loaded (/usr/lib/systemd/system/sendmail.service; enabled) Active: failed (Result: exit-code) since Sun 2015-08-23 10:57:25 EDT; 12min ago Aug 23 10:57:25 test systemd[1]: Starting Sendmail Mail Transport Agent… Aug 23 10:57:25 test systemd[1]: sendmail.service: control process exited, code=exited status=203 Aug 23 10:57:25 test systemd[1]: Failed to […]

为什么sendmail在To:头中为非收件人域调用dns_getcanonname?

我们注意到sendmailconfiguration中偶尔会出现一个可重复的问题。 这种情况是,我们收到来自互联网的一封邮件,内容是To:列表中的一个用户,To:列表中的其他用户之一有一个DNS问题的域。 在这种情况下,sendmail在坏地址上得到一个DNS错误,并以“主机名称查找失败”退出,所以邮件在我们的队列中停留了几天,并且永远不会传递给我们系统上的收件人。 作为一个例子,如果我用这个To:行发送消息: To: [email protected], [email protected] swcp.com是由该服务器处理的本地域名,而“cheeks”具有指向“cheeks @ ebi2”的本地别名。 lovelacesandia.com是一个有问题的非本地域(目前对它的所有查询都会导致SERVFAIL)。 原来的邮件可能有一个这个消息的副本卡在自己的队列,因为他们无法达到lovelacesandia.com。 卡在我的队列中的消息的副本只有一个收件人: RPFDA:cheeks@ebi2 这里是“sendmail -v -d8-9.5 -qRcheeks”的输出 Running /var/spool/mqueue/t7QHX1uB080255 (sequence 1 of 1) host_map_lookup(swcp.com) => dns_getcanonname(swcp.com, trymx=1) dns_getcanonname: trying swcp.com. (AAAA) dns_getcanonname: trying swcp.com. (A) dns_getcanonname: swcp.com FOUND swcp.com host_map_lookup(swcp.com) => CACHE swcp.com host_map_lookup(ebi2) => dns_getcanonname(ebi2, trymx=1) dns_getcanonname: trying ebi2.swcp.com (AAAA) dns_getcanonname: trying ebi2.swcp.com […]

sendmail不能发送邮件 – Centos6 / 7

我有一个新的CentOS 6.7盒子来设置sendmail。 它似乎发送电子邮件,但不是真的,不知道这个问题可能是什么。 我做了什么: yum install sendmail sendmail-cf sendmail-doc sendmail-devel telnet service sendmail start chkconfig sendmail on chkconfig –list sendmail ls -l /etc/mail telnet localhost 25 chkconfig –level 25 sendmail service iptables stop telnet连接成功,iptables停止,以减less任何并发症。 testingsendmail: mail -v -s 'testing sendmail' [email protected] < /etc/passwd 2.1.0 <[email protected]>… Sender ok </br> 2.1.5 <[email protected]>… Recipient ok Enter mail, end […]