SMTP Server Not Working

This is a discussion on SMTP Server Not Working within the Networking/Device Communication forums, part of the General Programming Boards category; Hey all, Im making an SMTP Server. Now i know mails are sent from an smtp server and recieved on ...

  1. #1
    Registered User (TNT)'s Avatar
    Join Date
    Aug 2001
    Location
    UK
    Posts
    339

    Unhappy SMTP Server Not Working

    Hey all,

    Im making an SMTP Server.

    Now i know mails are sent from an smtp server and recieved on a smtp server then stored and retrived via a pop server.

    My pop server is finished and fully working.

    My SMTP server however is having problems

    When i send an email from an smtp server to mail@myhostname.com

    That smtp server will open an connection to my smtp server on port 25 as it should do. But thats it, it just sits there with an open connection. Where as it should send the Helo command to my server and then go on to send the email which i then retrive locally and store.

    The first line i send out to the client of my smtp is:

    220 ppp-225*MYHOST*.com ESMTP Wed, 09 Jul 2003 03:28:01 +0100

    i cant see any probems with that , my server outputs all recived commands and as i say non are recived from the connection opened by the smtp server i sent the mail from.



    I would be very greatful if someone could tell me what im doing wrong.

    Thanks
    TNT
    TNT
    You Can Stop Me, But You Cant Stop Us All

  2. #2
    That Creepy Network Guy DeepBlackMagic's Avatar
    Join Date
    Feb 2003
    Posts
    265
    my reply is:

    220 your-domain-name.com ESMTP MailTransfer Agent Version 1.2.3b4; Tue, 15 Jul 2003 07:30:37 -0400 (EDT)

    Only major difference is that mine replys with a version and a semicolin after the ESMTP, but im no expert.

    http://cr.yp.to/smtp/greeting.html <--- SMTP protocol information.

    When all else fails, netcat and send the greetings, etc, manually and see what the other servers say.
    Last edited by DeepBlackMagic; 07-15-2003 at 06:36 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 8
    Last Post: 01-18-2008, 04:06 AM
  2. Open Source Email Server!
    By andhikacandra in forum Tech Board
    Replies: 2
    Last Post: 10-02-2007, 11:51 PM
  3. Multi-threaded server design question
    By theroguechemist in forum Networking/Device Communication
    Replies: 2
    Last Post: 03-10-2004, 02:56 PM
  4. GUI Programming
    By trainee in forum C++ Programming
    Replies: 15
    Last Post: 02-27-2004, 02:16 PM
  5. Server Client Messaging Program
    By X PaYnE X in forum Networking/Device Communication
    Replies: 3
    Last Post: 01-04-2004, 05:20 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21