Re: Strange problem in SMTP communication

2010-04-11 Thread Emanuele
Ok, I've attached tcp dump. tcpdump Description: Binary data

Re: Strange problem in SMTP communication

2010-04-11 Thread Emanuele
Ok, I've attached tcp dump. It contains only 8 packets because after HELO message, as you can see from log file previously posted, there's no more communication. Thanks in advance.

Re: Strange problem in SMTP communication

2010-04-11 Thread Emanuele
Ok, I've attached tcp dump. It contains only 8 packets because after the HELO message, as you can see from logfile previously posted, there's no more communication. Thanks in advance. tcpdump Description: Binary data

Re: Strange problem in SMTP communication

2010-04-12 Thread Emanuele
self. if you concatenate two strings do you expect a NULL in the middle of the new string? of course not. Your program is broken, do not send NULL after cr/lf. Good luck, -Aaron On Mon, Apr 12, 2010 at 4:40 AM, Emanuele Gallo wrote: I don't think that it's the problem. My mail s

Strange problem in SMTP communication

2010-04-11 Thread Emanuele Gallo
Hi! I've developed a RFC821-compliant mail server. I want to make it clear first that my server works well either with a mail client, as Thunderbird, and with telnet session. I've configured Postfix to communicate with my server modifying main.cf in this way: relayhost = [myMailServer.localh

Re: Strange problem in SMTP communication

2010-04-11 Thread Emanuele Gallo
Sorry, can you tell me how can I send binary attachments in this mailing list? Thanks. Il 11/04/2010 15:11, Wietse Venema ha scritto: Emanuele Gallo: Hi! I've developed a RFC821-compliant mail server. I want to make it clear first that my server works well either with a mail clien

Re: Strange problem in SMTP communication

2010-04-11 Thread Emanuele Gallo
Sorry, can you tell me how can I send a binary attachment? Il 11/04/2010 15:11, Wietse Venema ha scritto: Emanuele Gallo: Hi! I've developed a RFC821-compliant mail server. I want to make it clear first that my server works well either with a mail client, as Thunderbird, and with t

Re: Strange problem in SMTP communication

2010-04-12 Thread Emanuele Gallo
ously mentioned, my server works well with Mozilla Thunderbird. If were the guilty, neither the first string ("220 myMailServer.localhost SMTP service ready") would arrive. Il 11/04/2010 22:48, Wietse Venema ha scritto: Emanuele: Ok, I've attached tcp dump. It contains on

Re: Strange problem in SMTP communication

2010-04-12 Thread Emanuele Gallo
ouss ha scritto: Emanuele Gallo a écrit : I don't think that it's the problem. My mail server is developed in C language and replies that I send to Postfix are strings. As I think you know, all strings in C are NULL terminated and there's no chance for create string that aren

Re: Strange problem in SMTP communication

2010-04-12 Thread Emanuele Gallo
Thanks a lot. I'll try to do these changes. Bye. Il 12/04/2010 19:04, Wietse Venema ha scritto: Emanuele: I know that NULL is there to indicate end of a string. But why if I do: send(SMTPSocket,session->reply,strlen(session->reply)); // session->reply is where I wrot