Fix for fake sendmail error: Error connecting with SSL

瀏覽次數:373 次
跳到第一則未讀訊息

Aaron

未讀,
2010年3月28日 清晨6:41:592010/3/28
收件者:Google App Engine
As of March 14th, Google phased out SSLv2. Since, Byron Jones' fake
sendmail application depended on it, all of us who were using it found
out that it no longer worked.

Here are step-by-step instructions to fix it. You need stunnel.

1) Download and Install: http://www.stunnel.org/download/stunnel/win32/stunnel-4.32-installer.exe
2) In start menu, go to stunnel folder and click on 'Edit
stunnel.conf'
3) Copy the following into stunnel.conf and save.

cert = stunnel.pem
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1
debug = 7
output = stunnel.log
client = yes
[smtpg]
accept = 127.0.0.1:25
connect = smtp.gmail.com:465

4) Run stunnel
5) Go edit sendmail.ini and change to the following:
smtp_server=localhost and smtp_port=25
6) Restart GAE

Hope this helps!

回覆所有人
回覆作者
轉寄
0 則新訊息