Can't disable plain login on imap

I'm trying to write a program that retrieves mail from an imap server. The user name and password won't validate. If I try to connect via pop3 it connects. The mail adminstrator says that I should be able to connect via imap and I am able to using Eudora. The mail adminstrator says we use a cleartext login. I am unable to force imap to use the login method. I have the following line in my properties file to disable Authentication plain.
          prop.put("mail.imap.auth.plain.disable",true);
But it still tries to Authenticate plain. Can somebody tell me what I am doing wrong? Here is my code along with the stack trace.
import java.util.*;
import javax.mail.*;
import javax.mail.internet.*;
public class ImapRead
     Properties prop = null;
     public ImapRead()
          prop = new Properties();
          prop.put("server", "mail.company.com");
          prop.put("mail.imap.host", "mail.company.com");
          prop.put("mail.imap.auth.plain.disable",true);
     public void imapRun()
          String host = prop.getProperty("server");
          String username = prop.getProperty("username");
          String password = prop.getProperty("password");
          try {
               Authenticator auth = new MailAuthenticator();
               Session session = Session.getInstance(prop,auth);
               session.setDebug(true);
               Store store = session.getStore("imap");
               store.connect(host,username,password);
               store.close();
          } catch (Exception ex) {
               ex.printStackTrace();
               System.exit(0);
     public static void main(String[] args)
          ImapRead mread = new ImapRead();
          mread.imapRun();
Authenticator class
mport javax.mail.*;
import java.util.*;
public class MailAuthenticator extends Authenticator
     public PasswordAuthentication getPasswordAuthentication()
          String username = "[email protected]";
          String password = "password";
          return new PasswordAuthentication(username,password);
DEBUG: setDebug: JavaMail version 1.4
DEBUG: getProvider() returning javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc]
DEBUG: mail.imap.fetchsize: 16384
* OK IMAP4 Server (IMail 8.22)
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 UIDPLUS AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
A0 OK CAPABILITY completed
IMAP DEBUG: AUTH: CRAM-MD5
IMAP DEBUG: AUTH: PLAIN
IMAP DEBUG: AUTH: LOGIN
DEBUG: protocolConnect login, host=mail.ikano.com, user=rlawtest, password=<non-null>
A1 AUTHENTICATE PLAIN
+
cmxhd3Rlc3QAcmxhd3Rlc3QAcmxAdzczNTc=
A1 NO AUTHENTICATE Invalid userid/password
* OK IMAP4 Server (IMail 8.22)
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 UIDPLUS AUTH=CRAM-MD5 AUTH=PLAIN AUTH=LOGIN
A0 OK CAPABILITY completed
IMAP DEBUG: AUTH: CRAM-MD5
IMAP DEBUG: AUTH: PLAIN
IMAP DEBUG: AUTH: LOGIN
DEBUG: protocolConnect login, host=mail.ikano.com, [email protected], password=<non-null>
A1 AUTHENTICATE PLAIN
+
cmxhd3Rlc3RAbWFpbC5pa2Fuby5jb20Acmxhd3Rlc3RAbWFpbC5pa2Fuby5jb20AcmxAdzczNTc=
A1 NO AUTHENTICATE Invalid userid/password
javax.mail.AuthenticationFailedException: AUTHENTICATE Invalid userid/password
     at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:474)
     at javax.mail.Service.connect(Service.java:297)
     at javax.mail.Service.connect(Service.java:156)
     at com.ikano.mail.ImapRead.imapRun(ImapRead.java:37)
     at com.ikano.mail.ImapRead.main(ImapRead.java:61)

Hi,
I am trying experiencing a similar issue with IMAP and trying hard to disable AUTH: PLAIN.
I set the property as follows with "xxxxxxxx...." shown below with right values:
props.setProperty("mail.store.protocol","imaps");
     props.setProperty("mail.imap.auth.plain.disable","true"); -- "true" within quotes as yu see
     props.setProperty("mail.imap.host","xxxxxxxxxxx");
     props.setProperty("mail.imap.port","993");
     props.setProperty("mail.imap.user","xxxxxxx");
     props.setProperty("mail.imap.pwd","xxxxxx");
     props.setProperty("mail.imap.debug","true");
Still i couldn't get AUTH:PLAIN disabled and trying to get AUTH:NTLM enabled.
DEBUG: setDebug: JavaMail version 1.4.1
DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc]
DEBUG: mail.imap.fetchsize: 16384
* OK Microsoft Exchange Server 2007 IMAP4 service ready
A0 CAPABILITY
* CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN IDLE NAMESPACE LITERAL+
A0 OK CAPABILITY completed.
IMAP DEBUG: AUTH: NTLM
IMAP DEBUG: AUTH: GSSAPI
IMAP DEBUG: AUTH: PLAIN
DEBUG: protocolConnect login, host=xxxxxxxxxxx, user=xxxxxxx, password=<non-null>
A1 AUTHENTICATE PLAIN
+
NzM0NjE1NTk5NAA3MzQ2MTU1OTk0AE5ld3Bhc3N3MHJk
A1 NO AUTHENTICATE failed.
caught exception: javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
     at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:566)
     at javax.mail.Service.connect(Service.java:288)
     at javax.mail.Service.connect(Service.java:169)
     at edu.umich.mais.mail.testssl.main(testssl.java:59)
Please help!!! thanks in advance.

Similar Messages

  • IMAP java mail -- Can't disable plain login

    Hi,
    I am trying to solve Authentication issue with IMAP and java mail1.4.1 connecting to Microsoft Exchange Server 2007 and couldn't disable AUTH: PLAIN.Also need to know how to enable NTLM.
    I set the property as follows with "xxxxxxxx...." shown below with right values:
    props.setProperty("mail.store.protocol","imaps");
    props.setProperty("mail.imap.auth.plain.disable","true"); -- "true" within quotes
    props.setProperty("mail.imap.host","xxxxxxxxxxx");
    props.setProperty("mail.imap.port","993");
    props.setProperty("mail.imap.user","xxxxxxx");
    props.setProperty("mail.imap.pwd","xxxxxx");
    props.setProperty("mail.imap.debug","true");
    props.setProperty("mail.imap.ssl.protocols","SSL");
    props.setProperty("mail.imap.socketFactory.class", "javax.net.ssl.SSLSocketFactory");
    props.setProperty("mail.imap.socketFactory.fallback", "false");
    props.setProperty("mail.imap.socketFactory.port", "993");
    Still i couldn't get AUTH:PLAIN disabled and trying to get AUTH:NTLM enabled.
    DEBUG: setDebug: JavaMail version 1.4.1
    DEBUG: getProvider() returning javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc]
    DEBUG: mail.imap.fetchsize: 16384
    * OK Microsoft Exchange Server 2007 IMAP4 service ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    DEBUG: protocolConnect login, host=xxxxxxxxxxx, user=xxxxxxx, password=<non-null>
    A1 AUTHENTICATE PLAIN
    +
    NzM0NjE1NTk5NAA3MzQ2MTU1OTk0AE5ld3Bhc3N3MHJk
    A1 NO AUTHENTICATE failed.
    caught exception: javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
    javax.mail.AuthenticationFailedException: AUTHENTICATE failed.
    at com.sun.mail.imap.IMAPStore.protocolConnect(IMAPStore.java:566)
    at javax.mail.Service.connect(Service.java:288)
    at javax.mail.Service.connect(Service.java:169)
    at edu.umich.mais.mail.testssl.main(testssl.java:59)
    Please help!!! thanks in advance.

    Hi,
    NTLM is not supported by Java Mail , i am wondering how my previous Java mail 1.3.3 program worked with other mail server (not microsoft exchange server) and produced the following result which seemed to use AUTH=NTLM:
    * OK IMAP4rev1 UMSG-WEB03.UMSG.xxxxx.umich.edu CTI2 interceptor 3.500016100 Service Ready
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 IDLE LOGIN-REFERRALS MAILBOX-REFERRALS NAMESPACE LITERAL+ UIDPLUS CHILDREN AUTH=NTLM
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    A1 LOGIN xxxxx xxxxxxx
    A1 OK LOGIN completed.
    A2 LIST "" INBOX
    * LIST (\Marked \HasNoChildren) "/" INBOX
    A2 OK LIST completed.
    DEBUG: connection available -- size: 1
    A3 EXAMINE INBOX
    The IMAP4 capability of exchange server 2007 supporting AUTH mechanisms are as follows --
    A0 CAPABILITY
    * CAPABILITY IMAP4 IMAP4rev1 AUTH=NTLM AUTH=GSSAPI AUTH=PLAIN IDLE NAMESPACE LITERAL+
    A0 OK CAPABILITY completed.
    IMAP DEBUG: AUTH: NTLM
    IMAP DEBUG: AUTH: GSSAPI
    IMAP DEBUG: AUTH: PLAIN
    If NTLM doesn't work with java mail , any other suggestions to make it work ??
    Thanks

  • Can't disable automatic login (wifi) in Mt. Lion 10.8.4

    Dear all, why i can't disable automatic login in Mt. Lion 10.8.4??
    i'm using a MBP 2.4Ghz/Intel core i5 / late 2011 model, running 10.8.4
    each time i turn the wifi on and select the name of network, it will automatically login without asking my password, (I just want it ask me for password every time coz i don't want the password stay on the computer!)
    and i had did the following already but the nightmare still go on, please kindly let me know if the issue can be fix? thanks a lot!!!
    1. network panel : click advance and remove all network names in the window, and unchecked the box "Remember networks this computer has joined".
    2. Security Panel : selected "Disable automatic login"
    3. Users & Groups panel : Automatic login : selected "off"
    4.inside the Library / Preferences folder : "com.apple.loginwindow.plist", "com.apple.airport.preferences.plist" & " NetworkInterfaces.plist" all are deleted
    thanks again!!!

    Open Keychain Access and locate the entry for the network logon, select the entry and press the Delete key. That will remove the password from your Keychain and the system will have to request your password to log onto the network. Note: keychain entries are securely encrypted so even if someone has access to your computer, it would be highly unlikely they would be able to retrieve the network password.

  • How can i disable remote login on a RV082 router?

    how can i disable remote login on a RV082 router?

    Please check the below link for configuration.
    http://sbkb.cisco.com/CiscoSB/GetArticle.aspx?docid=dc6301cd85194d7f967710344f16f990_General_Firewall_Setting_on_RV042_VPN_Router.xml&pid=2&converted=0

  • How can i disable my login?

    I'm trying to disable my login so that everytime i walk away from my computer briefly, i don't have to log back in.  i don't want to disable it for downloads though...

    I like this App, Caffeine. It overrides the sleep and screensaver settings with one simple click in the menubar.
    You can have it launch on startup, in either mode too (on or off).
    http://www.lightheadsw.com/caffeine/

  • [Solved]can't disable auto login after upgrade to gnome 2.28

    Prior to upgrading gnome to the latest version I had set gdm up to auto log me in. Since the upgrade I can't figure out how to disable auto login. I would like to be able to disable auto login, can anyone on here please help me out here? Thanks for any help provided.
    Last edited by daedalusman (2009-11-03 05:06:05)

    anonymous_user wrote:Look in your /etc/gdm/custom.conf file.
    Ah, thanks a bunch. This had been bothering me for awhile now, just finely got around to trying to fix it. Thanks again.
    Ranguvar wrote:
    You can't.  Using the advanced AI now in 2.28, GNOME has decided you are too stupid to log in yourself, and is now in User Protection Mode(TM).
    tongue xD
    Sorry, I have no constructive advice.  Just poking fun.
    No problem, you actually made me laugh out loud, so thanks for that.

  • How can I disable the login query in the music and podcast apps?

    This is really annoying. If I go to listen to something, I get a "Sign in to iTunes Store" and I have to find the Cancel button which is a pain in the car or in sunshine. I'd like to remove this permanently. Thanks

    Instead of canceling enter your passcode for your Apple ID. It should then stop asking.

  • How can I disable Firefox from automatically opening on system startup on my Mac - unchecking the "open at login" does not work?

    We have Firefox 10.o on our Macbook Pro OS X 10.5.8. I prefer using Firefox as my browser but my husband prefers Safari for now because of a long history of bookmarks and saved information he doesn't have time to re-do. He is tired of Firefox automatically opening when we start up the laptop, and even when we uncheck the "open at login" it still opens at login every time. He is about to uninstall it because of this. How can we disable? It does NOT show up in our account on the Mac OS as an application that starts at login, so we can't disable it there.

    For those of you running Windows, I found this on another site. (Unfortunately, not before getting totally disgusted and switching to chrome.)
    1. click start (or the windows flag button at the bottom left) 2. in the "search programs and files" or the RUN dialog box, enter "msconfig.exe" or "msconfig". 3. That should open the system configuration program. 4. click the "Startup" tab at the top of the opened program. 5. Under the "startup item" column, look for Mozilla firefox. 6. uncheck that one. 7. Click OK or apply. 8. click "exit without restart". 9. you're good to go.

  • I have enlarged icons on the log in screen and can not enter my login code. I have tried enough times that I am locked out and my iphone 5 has been disabled.How do I fix this??

    I have enlarged icons on the log in screen and can not enter my login code. I have tried enough times that I am locked out and my iphone 5 has been disabled.How do I fix this??

    Hey there byambar,
    Welcome to Apple Support Communities.
    It sounds like you’re describing two issues, the first issue is related to the Zoom accessibility feature and the second issue is related to the device being disabled.
    Take a look at the article linked below to learn more about Zoom and the other accessibility features on your iPhone 5.
    Use Accessibility features in iOS - Apple Support
    This article will help you resolve the issue with your iPhone being disabled.
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support
    Take care,
    -Jason

  • I downloaded Lion but can't disable the automatic login, how do I change this?

    When I downloaded Lion, I am always prompted to login. I was wondering how I can disable this.  I've tried to go to system preferences, to un-check the ability to disable automatic login but it is grayed out.  Is there a way to get around this?
    thank you.

    You need to click the lock to make changes. Go to System Preferences/Users & Groups
    Select your Account and click the lock on the bottom left to make changes. Enter your Account Password/Click Login Options.  You should now be able to turn Automatic Login Off

  • How can a disable the password required to login?

    I have a new Macbook Pro retina display.  I am the only user of the computer, and I would really like to be able to open and use my computer without being asked for my login password everytime.  I have searched this forum for the answer, but I am more confused now than before?  One of the answers says to simply go to "Security & Privacy" > General and simply uncheck the box in front of the line that says "require password ***** after sleep or screen saver begins".  They even show a screen shot clearly showing this box.  The problem is that on my Macbook Pro, when I go to this location, there is NO box in front of that line!  There is a small window where I can choose between "immediately - 1 hour", but that is it.  Am I doing something wrong?  Does anyone know how I can turn off this prompt for the login password?
    Thank you!
    Lincoln

    Try this...
    System Preferences > Users and Groups
    Choose your username then click on "Log In Options" below
    Next, turn "Automatic login" to ON then supply the password to your account
    Then, in the "Security & Privacy" Section, make sure "Disable automatic login" is OFF

  • Can't Access Administrative Services after "Disable Workspace Login"

    Hi,
    I have been testing a production configuration on my local APEX instance, and run into the following difficultly. I disabled the Workspace Login from

    Hi Scott, jeeze.... that was quick! Must be the time difference :)
    Must have submitted that post by accident, I was just swearing at my pc and typing it out again.
    What I was trying to say was that I disabled the Workspace Login from Admin Services > Manage Service > Security.
    When I attempted to login as the internal workspace, I get a 404.
    Then, I though this must be the whole point of the apex_admin interface and attempted to log in via:
    http://localhost:7777/pls/htmldb/apex_admin
    Still the 404.
    I have checked the access logs, and a 302 is generated before each 404.
    I have also executed the following (as per instructions for reverting from a 'Disable Administrator Login") - just to be sure:
    alter session set current_schema=flows_030100
    BEGIN
    WWV_FLOW_API.SET_SECURITY_GROUP_ID(p_security_group_id=>10);
    WWV_FLOW_PLATFORM.SET_PREFERENCE(
    p_preference_name => 'DISABLE_ADMIN_LOGIN',
    p_preference_value => 'N' );
    end;
    commit
    Following a restart of both the db and http server, Im still getting the 404.

  • Can't access checkbox: 'Disable automatic Login'

    On the security settings 'General' tab, only the checkbox for 'Require password (immediately, etc.) is enabled. All options under it are ghosted an inaccessible including 'Disable automatic login'. How do I make these options available? I need my Macbook to require a login on startup.

    Click on the "lock" in the bottom left of the screen. Supply your admin password and the options then become available.
    Cheers

  • Where can I disable users in the File Vault Login-Screen?

    Hi! I have four users on my mac, but only two should start the mac - where can i disable the others?
    Thank you!

    I would like to know how to do this also.  I have enabled all user accounts to unlock FileVault, but some accounts do not have secure passwords so I would like to disable these.
    The only way I can see to do this, is to disable FileVault and then re-enable it with only the accounts I want.  Problem with this is it will take a while.
    Regards,
    Keith.

  • Mail can't get my mail via IMAP

    Apple Mail 6.6 does not connect to my Mail account via IMAP. It keeps telling me that my passwort is wrong however, it definitely is not.
    I can connect to my mail account (a gandi.net account) via thunderbird, via my android phone and via the terminal on my Mac. Any ideas what the problem might be?
    Thanx!

    Hi Barney,
    thanks for the answer.
    Connection doctor says passwort or username incorrect which is both impossibe. See details below.
    There is no entry in the keychain. Every time I want to get my mail, it asks me for my password over and over again even though I entered it in the preferences.
    INITIATING CONNECTION Sep 15 17:15:52.921  -- host:mail.gandi.net -- port:143 -- socket:0x0 -- thread:0x7fb39acec2c0
    INITIATING CONNECTION Sep 15 17:15:52.921  -- host:mail.gandi.net -- port:25 -- socket:0x0 -- thread:0x7fb39db2e270
    CONNECTED Sep 15 17:15:52.993 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39acec2c0
    CONNECTED Sep 15 17:15:52.999 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    READ Sep 15 17:15:53.040 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39acec2c0
    * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE STARTTLS AUTH=PLAIN] Dovecot ready.
    WROTE Sep 15 17:15:53.046 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39e118650
    1.9 STARTTLS
    READ Sep 15 17:15:53.047 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    220 relay4-d.mail.gandi.net ESMTP Postfix
    WROTE Sep 15 17:15:53.080 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    EHLO [192.168.2.100]
    READ Sep 15 17:15:53.093 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39e118650
    1.9 OK Begin TLS negotiation now.
    READ Sep 15 17:15:53.126 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    250-relay4-d.mail.gandi.net
    250-PIPELINING
    250-SIZE 25600000
    250-VRFY
    250-ETRN
    250-STARTTLS
    250-AUTH PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    WROTE Sep 15 17:15:53.129 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    STARTTLS
    WROTE Sep 15 17:15:53.152 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39b8c0c50
    2.9 CAPABILITY
    READ Sep 15 17:15:53.181 [kCFStreamSocketSecurityLevelNone]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    220 2.0.0 Ready to start TLS
    WROTE Sep 15 17:15:53.237 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    EHLO [192.168.2.100]
    READ Sep 15 17:15:53.288 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39b8c0c50
    * CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE SORT SORT=DISPLAY THREAD=REFERENCES THREAD=REFS MULTIAPPEND UNSELECT IDLE CHILDREN NAMESPACE UIDPLUS LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES WITHIN CONTEXT=SEARCH LIST-STATUS QUOTA AUTH=PLAIN
    2.9 OK Capability completed.
    WROTE Sep 15 17:15:53.295 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39ac94a70
    3.9 ID ("name" "Mac OS X Mail" "version" "6.6 (1510)" "os" "Mac OS X" "os-version" "10.8.5 (12F37)" "vendor" "Apple Inc.")
    READ Sep 15 17:15:53.343 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39ac94a70
    * ID NIL
    3.9 OK ID completed.
    WROTE Sep 15 17:15:53.360 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:143 -- socket:0x7fb39b8c0b30 -- thread:0x7fb39dd15c30
    4.9 AUTHENTICATE PLAIN
    READ Sep 15 17:15:53.373 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    250-relay4-d.mail.gandi.net
    250-PIPELINING
    250-SIZE 25600000
    250-VRFY
    250-ETRN
    250-AUTH PLAIN LOGIN
    250-ENHANCEDSTATUSCODES
    250-8BITMIME
    250 DSN
    WROTE Sep 15 17:15:53.389 [kCFStreamSocketSecurityLevelTLSv1SSLv3]  -- host:mail.gandi.net -- port:25 -- socket:0x7fb39d94aae0 -- thread:0x7fb39db2e270
    QUIT

Maybe you are looking for