#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0

    GMail hates my SMTP Server


    Hello all. This isn't really a java question per-se, though the program is written in java.

    The problem is with my little homemade esmtp server. All the internet loves my smtp server, and they send emails to it all the time. However, GMAIL is mean and won't talk to it. I've poured through ESMTP and SMTP protocol specs looking for clues, but am about at my wits end. If anyone has advice, then you will have my grattitude for life.

    Here's a copy of the conversation from my smtp debug log (the log automatically changes EOLNs to strings for readability):

    20130613.1658.30 debug SMTPserver Connection received: 209.85.216.194
    20130613.1658.30 debug SMTPrq1 Sent: 220 ESMTP coffeemud.net CoffeeMud SMTPserver/1.1.1.0; 6/13/2013 4:58 PM
    20130613.1658.30 debug SMTPrq1 Input: EHLO mail-qc0-f194.google.com
    20130613.1658.30 debug SMTPrq1 Reply: 250 OK\r\n250-8BITMIME\r\n250-SIZE 200000\r\n250-DSN\r\n250-ONEX\r\n250-PIPELINING\r\n250 HELP\r\n
    20130613.1658.30 debug SMTPrq1 Input: MAIL FROM:<edwinfzimmerman3@gmail.com>
    20130613.1658.30 debug SMTPrq1 Reply: 250 OK Efztest\r\n
    20130613.1658.30 debug SMTPrq1 Input: QUIT
    20130613.1658.30 debug SMTPrq1 Reply: 221 coffeemud.net closing connection\r\n

    As you can see, GMAIL comes to call with a new message, sends MAIL FROM, and immediately issues a QUIT command?! That's not right!

    Any help is appreciated,
    - Bo Zimmerman
  2. #2
  3. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0
    Through sheer experimentation I answered my own darn question. The answer: a typo in the EHLO reply -- only the last entry should start with 250<space>

    I wish I knew how to delete the above message.

IMN logo majestic logo threadwatch logo seochat tools logo