我有一个奇怪的问题,最近出现在我的Debian压缩服务器上。
我已经将Exim4配置为使用SMTP进行加密设置,并在此框上运行了很长一段时间,但现在它无法工作。
一开始我以为是我的证书过期了,但事实并非如此,它们还能用上好几年。
服务器似乎不再监听端口25。
如果我尝试打电话到端口25,就会超时。
如果我在服务器上运行netstat -tulpen,那么端口25上没有任何监听内容。
我用的是Exim4的分割函数。
在conf.d.d/main中,我启用了MAIN_TLS_ENABLE=true
在config.d/auth/30_exim4-config_示例中,我有以下内容
# Authenticate against local passwords using sasl2-bin
# Requires exim_uid to be a member of sasl group, see README.Debian.gz
plain_saslauthd_server:
driver = plaintext
public_name = PLAIN
server_condition = ${if saslauthd{{$auth2}{$auth3}}{1}{0}}
server_set_id = $auth2
server_prompts = :
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif
#
login_saslauthd_server:
driver = plaintext
public_name = LOGIN
server_prompts = "Username:: : Password::"
# don't send system passwords over unencrypted connections
server_condition = ${if saslauthd{{$auth1}{$auth2}}{1}{0}}
server_set_id = $auth1
.ifndef AUTH_SERVER_ALLOW_NOTLS_PASSWORDS
server_advertise_condition = ${if eq{$tls_cipher}{}{}{*}}
.endif在服务器上运行以下命令: swaks -a -tls -q HELO -s localhost -au A_USER_NAME -ap '<>‘
我明白了. ===试着本地人:25.*连接0.0.0.0到本地主机的错误:25:* IO::Socket::INET: Connection :Connection拒绝
有人能告诉我一些更先进的调试技术吗?
发布于 2013-03-31 00:17:45
好的。我想通了。
康卡斯特区块端口25。我不知道为什么现在会出现这种情况,除非他们最近开始阻止它。
我不得不在/etc/默认值/etc 4中更改一行
从这里开始
SMTPLISTENEROPTIONS='-oX 25 -oP /var/run/exim4/exim.pid'到这个
SMTPLISTENEROPTIONS='-oX 465:25 -oP /var/run/exim4/exim.pid'我还把这个添加到/etc/exim4/conf.d/main/03_exim4-config_tlsoptions中
tls_on_connect_ports=465奇怪的是,这只会弹出,除非Debian包更新了/etc/default/exim4 4文件。这很让人困惑,但很管用。希望这对将来的人有帮助。
干杯。
https://stackoverflow.com/questions/15720443
复制相似问题