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
| 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
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
250-dman.ddts.net Hello indiana.cs.rit.edu [22.214.171.124]
MAIL FROM: firstname.lastname@example.org
250 <email@example.com> is syntactically correct
RCPT TO: firstname.lastname@example.org
250 <email@example.com> is syntactically correct
354 Enter message, ending with "." on a line by itself
Subject: test message
250 OK id=16RJ8O-0005mq-00
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.
He who belongs to God hears what God says. The reason you do not hear
is that you do not belong to God.