新服务器访问 ldap 和邮件服务器/中继时出现问题(连接超时且无法联系)

新服务器访问 ldap 和邮件服务器/中继时出现问题(连接超时且无法联系)

我在 OpenSUSE 12.3 上,并通过 yast 在邮件服务器设置(posix)下设置邮件中继。

我尝试发送一封邮件但超时了:

2013-09-27T15:19:08.745282+01:00 myserver postfix/qmgr[12258]: 2973BE49E4: from=<>, size=2705, nrcpt=1 (queue active)
2013-09-27T15:19:08.748700+01:00 myserver postfix/qmgr[12258]: B66A7E49A1: from=<[email protected]>, size=1979, nrcpt=1 (queue active)
2013-09-27T15:19:38.779794+01:00 myserver postfix/smtp[17650]: connect to mailserver.com[123.456.78.9]:25: Connection timed out
2013-09-27T15:19:38.779811+01:00 myserver postfix/smtp[17651]: connect to mailserver.com[123.456.78.9]:25: Connection timed out
2013-09-27T15:19:38.783206+01:00 myserver postfix/smtp[17650]: 2973BE49E4: to=<[email protected]>, orig_to=<[email protected]>, relay=none, delay=90908, delays=90878/0.01/30/0, dsn=4.4.1, status=deferred (connect to mailserver.com[123.456.78.9]:25: Connection timed out)
2013-09-27T15:19:38.784639+01:00 myserver postfix/smtp[17651]: B66A7E49A1: to=<[email protected]>, relay=none, delay=252675, delays=252645/0.01/30/0, dsn=4.4.1, status=deferred (connect to mailserver.com[123.456.78.9]:25: Connection timed out)

Ldap 通过 php 应用程序登录,显示错误:

Array
(
[0] => An unexpected failure occurred
[1] => 0x1: Failed to retrieve DN for account: enphsrob [0x51 (Can't contact LDAP server): ldap://ldap.mysite.com]...)

我已经从 SLES 11 上的工作服务器复制了 ldap 和邮件设置,防火墙也一样(仅限 HTTPS/HTTP/SSH)。我必须被列入邮件服务器的白名单,并且被告知我已被列入白名单。对于 ldap,我不知道是否也是如此。在等待答案的同时,我想看看是否可以修复它。提前感谢任何回复!

答案1

在这种情况下,我是对的。外部因素阻止了服务器访问 ldap 和邮件服务器。当他们说他们已经启用访问权限时,实际上并没有,我不得不继续追查。

相关内容