Gmail ‘den SSL kullanmadan mail göndermek | Send Gmail / Google Apps without using SSL


Blacklist yüzünden mail hizmetini Google Apps a taşıdığım ve Netsis kullanan bir müşterim, email yoluyla fatura,irsaliye v.b. evraklarını otomatik olarak göndermek istediklerini bildirdiler.

Program 25 portundan mail göndermeye çalıyor fakat, smtp.gmail.com sadece SSL 465 portundan gelen bağlantıları kabul ediyor. Aynı şekilde birçok cihaz ve yazılım da SSL yöntemini desteklemiyor. Bu durumda yaptığım araştırmalar sonucu: normal 25,587 v.b. portundan smtp hizmetiyle mailleri alıp smtp.gmail.com ‘a SSL 465 portundan teslim yapan Stunnel isminde bir servis programı buldum.

Programı kurup, yazının devamındaki konfigürasyonu yükledim. Daha sonra Netsis programına da normal gmail kullanıcı bilgilerini, 25 olarak smtp portunu ve giden sunucusu olarak Stunnel kurduğum bilgisayarın IP adresini girdim. Test ettiğimizde herhangi bir sorunla karşılaşmadık.

Stunnel ‘i indirmek için : http://www.stunnel.org/?page=downloads

Konfigürasyon :

; Some options used here may not be adequate for your particular configuration

; Certificate/key is needed in server mode and optional in client mode
; The default certificate is provided only for testing and should not
; be used in a production environment
cert = stunnel.pem
;key = stunnel.pem

; Some performance tunings
socket = l:TCP_NODELAY=1
socket = r:TCP_NODELAY=1

; Workaround for Eudora bug
;options = DONT_INSERT_EMPTY_FRAGMENTS

; Authentication stuff
;verify = 2
; Don’t forget to c_rehash CApath
;CApath = certs
; It’s often easier to use CAfile
;CAfile = certs.pem
; Don’t forget to c_rehash CRLpath
;CRLpath = crls
; Alternatively you can use CRLfile
;CRLfile = crls.pem

; Some debugging stuff useful for troubleshooting
;debug = 7
;output = stunnel.log

; Use it for client mode
client = yes

; Service-level configuration

[pop3s]
accept = 110
connect = pop.gmail.com:995

[imaps]
accept = 143
connect = imap.gmail.com:993

[ssmtp]
accept = 25
connect = smtp.gmail.com:465

;[https]
;accept = 443
;connect = 80
;TIMEOUTclose = 0

; vim:ft=dosini


Bir cevap yazın

E-posta hesabınız yayımlanmayacak. Gerekli alanlar * ile işaretlenmişlerdir