Skip to content

Instantly share code, notes, and snippets.

@oravecz
Created December 19, 2011 18:33
Show Gist options
  • Select an option

  • Save oravecz/1498303 to your computer and use it in GitHub Desktop.

Select an option

Save oravecz/1498303 to your computer and use it in GitHub Desktop.
18:27:34,391 DEBUG 0-exec-7 [ utility.email-sender]: ? - Initializing SMTP service with config: {
"host": "localhost",
"port": "25",
"defaultEncoding": "UTF-8",
"username": "",
"password": "",
"props": {
"mail.debug": "true",
"mail.smtp.auth": "false",
"mail.smtp.starttls.enable": "false"
}
}
DEBUG: JavaMail version 1.4.4
DEBUG: URL jar:file:/opt/tomcat7/webapps/ROOT/WEB-INF/lib/aws-java-sdk-1.2.12.jar!/META-INF/javamail.providers
DEBUG: Bad provider entry:
DEBUG: successfully loaded resource: jar:file:/opt/tomcat7/webapps/ROOT/WEB-INF/lib/aws-java-sdk-1.2.12.jar!/META-INF/javamail.providers
DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
DEBUG: Tables of loaded providers
DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], com.amazonaws.services.simpleemail.AWSJavaMailTransport=javax.mail.Provider[TRANSPORT,aws,com.amazonaws.services.simpleemail.AWSJavaMailTransport,Amazon Web Services LLC]}
DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], aws=javax.mail.Provider[TRANSPORT,aws,com.amazonaws.services.simpleemail.AWSJavaMailTransport,Amazon Web Services LLC]}
DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "localhost", port 25, isSSL false
220 ip-10-12-49-127.ec2.internal ESMTP Sendmail 8.14.4/8.14.4; Mon, 19 Dec 2011 18:27:34 GMT
DEBUG SMTP: connected to host "localhost", port: 25
EHLO ip-10-12-49-127.ec2.internal
250-ip-10-12-49-127.ec2.internal Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
DEBUG SMTP: Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "SIZE", arg ""
DEBUG SMTP: Found extension "DSN", arg ""
DEBUG SMTP: Found extension "ETRN", arg ""
DEBUG SMTP: Found extension "AUTH", arg "DIGEST-MD5 CRAM-MD5"
DEBUG SMTP: Found extension "DELIVERBY", arg ""
DEBUG SMTP: Found extension "HELP", arg ""
DEBUG SMTP: Attempt to authenticate
DEBUG SMTP: check mechanisms: LOGIN PLAIN DIGEST-MD5 NTLM
DEBUG SMTP: mechanism LOGIN not supported by server
DEBUG SMTP: mechanism PLAIN not supported by server
AUTH DIGEST-MD5
334 bm9uY2U9InVOSVkwTHlYWTh4ZUdreXZhSzNaY3VzQllQWXNuWVRuSFQyV2VTcm1wZ0U9IixyZWFsbT0iaXAtMTAtMTItNDktMTI3LmVjMi5pbnRlcm5hbCIscW9wPSJhdXRoLGF1dGgtaW50LGF1dGgtY29uZiIsY2lwaGVyPSJyYzQtNDAscmM0LTU2LHJjNCxkZXMsM2RlcyIsbWF4YnVmPTgxOTIsY2hhcnNldD11dGYtOCxhbGdvcml0aG09bWQ1LXNlc3M=
DEBUG DIGEST-MD5: Loaded
DEBUG DIGEST-MD5: Begin authentication ...
DEBUG DIGEST-MD5: Received => nonce='uNIY0LyXY8xeGkyvaK3ZcusBYPYsnYTnHT2WeSrmpgE='
DEBUG DIGEST-MD5: Received => realm='ip-10-12-49-127.ec2.internal'
DEBUG DIGEST-MD5: Received => qop='auth,auth-int,auth-conf'
DEBUG DIGEST-MD5: Received => cipher='rc4-40,rc4-56,rc4,des,3des'
DEBUG DIGEST-MD5: Received => maxbuf='8192'
DEBUG DIGEST-MD5: Received => charset='utf-8'
DEBUG DIGEST-MD5: Received => algorithm='md5-sess'
DEBUG DIGEST-MD5: Response => username="",realm="ip-10-12-49-127.ec2.internal",qop=auth,nc=00000001,nonce="uNIY0LyXY8xeGkyvaK3ZcusBYPYsnYTnHT2WeSrmpgE=",cnonce="6B4jMlbvovXUey5eG+ZRSEsGfzo6dixPgXo3wI/Szas=",digest-uri="smtp/localhost",response=f2c5700e90c6c3d020276cd5dd9ad363
dXNlcm5hbWU9IiIscmVhbG09ImlwLTEwLTEyLTQ5LTEyNy5lYzIuaW50ZXJuYWwiLHFvcD1hdXRoLG5jPTAwMDAwMDAxLG5vbmNlPSJ1TklZMEx5WFk4eGVHa3l2YUszWmN1c0JZUFlzbllUbkhUMldlU3JtcGdFPSIsY25vbmNlPSI2QjRqTWxidm92WFVleTVlRytaUlNFc0dmem82ZGl4UGdYbzN3SS9TemFzPSIsZGlnZXN0LXVyaT0ic210cC9sb2NhbGhvc3QiLHJlc3BvbnNlPWYyYzU3MDBlOTBjNmMzZDAyMDI3NmNkNWRkOWFkMzYz
535 5.7.0 authentication failed
18:27:34,532 ERROR 0-exec-7 [ utility.email-sender]: ? - jcook@pykl.com JavaException: org.springframework.mail.MailAuthenticationException: Authentication failed; nested exception is javax.mail.AuthenticationFailedException: 535 5.7.0 authentication failed
(spring-ext/lib/main.js#118)
Script stack:
at spring-ext/lib/main.js:118 (send)
at utility/email-sender.js:115 (anonymous)
at utility/email-sender.js:91 (sendMessages)
at api/email.js:157 (anonymous)
at stick/lib/middleware/route.js:215 (route)
at stick/lib/stick.js:43 (app)
at stick/lib/middleware/mount.js:123 (mount)
at middleware/indexenforcer.js:20 (anonymous)
at middleware/errorhandling.js:22 (anonymous)
at stick/lib/stick.js:43 (app)
at stick/lib/middleware/mount.js:123 (mount)
at stick/lib/middleware/params.js:102 (anonymous)
at stick/lib/middleware/notfound.js:28 (notfound)
at middleware/securitycontext.js:24 (anonymous)
at middleware/multitenancy.js:18 (anonymous)
at middleware/snoop.js:61 (anonymous)
at stick/lib/stick.js:43 (app)
at ringo/jsgi/connector.js:41 (handleRequest)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment