Re: exim not sending email
On Thu, Jan 17, 2002 at 10:51:02AM -0800, Mike Egglestone wrote:
|
| > I recommend trying to send a message manually (use telnet) and see
| > exactly what the interaction with the remote host is. Aternatively,
| > you can run exim with the -v option to see the SMTP interaction on
| > stderr.
| > eg :
| > $ /usr/sbin/exim -v <remote_addr> < file_with_rfc822_message
| >
|
| Hi,
| I'm not sure exactly how I would use telnet to send a message manually.
| Do I telnet on port 110? or something.
Or something :-).
SMTP is port 25. RFC2821 describes the SMTP protocol. I'll show a
sample session to my server.
$ telnet dman.ddts.net 25
Trying 64.213.114.152...
Connected to dman.ddts.net.
Escape character is '^]'.
220 dman.ddts.net ESMTP Exim 3.33 #1 Thu, 17 Jan 2002 15:26:26 -0500
EHLO harmony.cs.rit.edu
250-dman.ddts.net Hello indiana.cs.rit.edu [129.21.37.186]
250-SIZE
250-PIPELINING
250 HELP
MAIL FROM: dsh8290@rit.edu
250 <dsh8290@rit.edu> is syntactically correct
RCPT TO: dman@dman.ddts.net
250 <dman@dman.ddts.net> is syntactically correct
DATA
354 Enter message, ending with "." on a line by itself
From: dsh8290@rit.edu
To: dman@dman.ddts.net
Subject: test message
hi :-)
.
250 OK id=16RJ8O-0005mq-00
QUIT
221 dman.ddts.net closing connection
Connection closed by foreign host.
If you try this you can easily see which stuff I typed and which the
server sent back.
You can do this manually, or run "exim -v" and enter the stuff between
"DATA" and "." on exim's stdin.
HTH,
-D
--
He who belongs to God hears what God says. The reason you do not hear
is that you do not belong to God.
John 8:47
Reply to: