
我有一個在 Debian 機器上運行的 Exim 4.92 伺服器,一切正常。現在我想透過該 Exim 伺服器從 Gmail 發送郵件,因為 Gmail 需要一個 STMP 伺服器來儲存別名位址。
但是,當我嘗試使用 SSL 透過我的伺服器從 Gmail 發送郵件時,我在 Exim 的mainlog
文件中收到以下錯誤:
SMTP protocol synchronization error (input sent without waiting for greeting): rejected connection from H=mail-ot1-f48.google.com [209.85.210.48] input="\026\003\001\002"
我不是 Exim 專家,到目前為止我還沒有弄亂它的設定檔。我正在使用從 Debian 的 Exim 配置工具獲得的預設設定。
為了在 Exim 中啟用 TLS 支持,我遵循這個 Debian 文檔。因此,我基本上生成了證書檔案並/etc/exim4/exim4.conf.localmacros
透過以下方式在檔案中啟用了 TLS
MAIN_TLS_ENABLE = yes
這是我的/etc/exim4/update-exim4.conf.conf
文件:
dc_eximconfig_configtype='internet'
dc_other_hostnames='...' # my list of allowed domains
dc_local_interfaces=''
dc_readhost=''
dc_relay_domains=''
dc_minimaldns='false'
dc_relay_nets=''
dc_smarthost=''
CFILEMODE='644'
dc_use_split_config='false'
dc_hide_mailname=''
dc_mailname_in_oh='true'
dc_localdelivery='maildir_home'
我有什麼想法可以解決這個錯誤嗎?