服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

Sendmail在MXlogging中本地而不是MTA

好吧,我有一个名为websrv1.mydomain.com的框。 这是一个运行ubuntu,apache2,sendmail等的web服务器 我的电子邮件外包给第三方。 所以在我的DNS我有MX设置为mx.thirdparty.net。 我没有理由在我的networking服务器上接收收到的邮件,每封邮件都应该发送给第三方。 这工作正确接受从web服务器(又名通过cron或控制台)发送邮件。 所以从我的networking服务器,如果我发送电子邮件[email protected],它只是消失。 没有错误,没有任何信息,没有任何东西。 我可以发送到任何其他地址没有问题。 如果我发送到[email protected]它在本地交付这是很好的。 1)做nslookup显示mxlogging是正确的。 2)从sendmail -bt运行/ mx mydomain.com返回正确的结果。 3)运行sendmail -bv [email protected]返回: sudo sendmail -bv [email protected] [email protected] …交付成果:邮件esmtp,主机mydomain.com。,用户[email protected] 4)运行3 [email protected],返回: 3,0 [email protected] canonifyinput:me @ mydomain。 COM Canonify2input:我 Canonify2返回:我 canonify回报:我 parsinginput:我 Parse0input:我 Parse0返回:我 Parse1input:我 MailerToTripleinput:我 MailerToTriple返回:我 Parse1返回:$#esmtp $ @ mydomain。 com。 $:我 parsing返回:$#esmtp $ @ mydomain。 com。 $:我 所以我很茫然 Sendmail似乎看到mxlogging,但它没有使用它。