[stunnel-users] cannot connect to gmail (STARTTLS trouble ?)
Sebastien WILLEMIJNS
stunnel at willemijns.com
Sun Dec 5 03:51:28 CET 2004
hello,
i'm trying to test gmail SMTP server with postie (a commandline poster) and
stunnel....
POP access to port 995 is OK
SMTP access with gmail is bad (authentification failed)
SMTP access with gmx.net and vfemail.net is OK
In eudora software , it speak about 3 methods to use SSL, how to try in stunnel these
method ?
********************* STUNNEL.CNF
client = yes
[X]>> stunnel.cnf
accept = 1664
connect = smtp.gmail.com:465
******************** WIN32 COMMANDLINE IS "stunne~1.exe stunnel.cnf"
********************* EUDORA DOC
The Generic Properties tab is used to set the SSL options for sending mail (SMTP). The available options are:
* Never -- tells Eudora not to use SSL
* If Available, STARTTLS -- tells Eudora to use SSL if it is available
* Required, Alternate Port -- tells Eudora that the use of SSL is required, on the alternate port (more on this in a minute)
* Required, STARTTLS -- tells Eudora that the use of SSL is required
*********************** MY GMAIL LOG
here's the log i have
+OK Gpop ready.
USER willemijns at gmail.com
+OK send PASS
PASS xxxxxxxx
+OK Welcome.
STAT
+OK 0 0
There are 0 messages waiting (0 bytes)
QUIT
+OK Farewell.
%%%%%%%%%%%
220 smtp.gmail.com ESMTP 79sm7704rna
EHLO 80-125-222-144.dti.cegetel.net
250-smtp.gmail.com at your service
250-SIZE 20971520
250-8BITMIME
250-AUTH PLAIN LOGIN
250 ENHANCEDSTATUSCODES
AUTH PLAIN
334 =
AHXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX2
235 2.7.0 Accepted
EHLO 80-125-222-144.dti.cegetel.net
250-smtp.gmail.com at your service
250-SIZE 20971520
250-8BITMIME
250-AUTH PLAIN LOGIN
250 ENHANCEDSTATUSCODES
Connected to 'smtp.gmail.com:465'
MAIL FROM:<willemijns at gmail.com>
530 5.7.0 Authentication Required
Could not send: error= -1
Status: 530 5.7.0 Authentication Required
**********i've noticied when it works well (with GMX.NET), i can see "250 STARTTLS" as:
Query for (NS) 'runbox.com'
[127.0.0.1] MX/A server (0) = ''
220 {mp009} GMX Mailservices ESMTP
EHLO localhost
250-{mp009} GMX Mailservices
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH CRAM-MD5 LOGIN PLAIN
250 STARTTLS
AUTH PLAIN
334 Go on
AHXXXXXXXXXXXXXXXXXXXXXXXXXXX==
235 2.7.0 {mp009} Go ahead
EHLO localhost
250-{mp009} GMX Mailservices
250-8BITMIME
250-ENHANCEDSTATUSCODES
250-AUTH=LOGIN CRAM-MD5 PLAIN
250-AUTH CRAM-MD5 LOGIN PLAIN
250 STARTTLS
Connected to '127.0.0.1:1664'
MAIL FROM:<willemijns at gmx.net>
250 2.1.0 {mp009} ok
RCPT TO:<vivil at runbox.com>
250 2.1.5 {mp009} ok
DATA
354 {mp009} Go ahead
To: vivil at runbox.com
(...)
thanks of your help :-)
----- End Forwarded Message -----
----- End Forwarded Message -----
More information about the stunnel-users
mailing list