From: Zeno <ze...@bi...> - 2008-01-20 00:03:12
|
Edward Dekkers wrote: > Have you tried going through your LOCAL smtp server manually? This is the > way I use to diagnose bare bones postfix setup problems. In your case > sendmail. > > NOTE: This is an extract from http://www.yuki-onna.co.uk/email/smtp.html > with a few spelling mistakes fixed > > Below, replace mail.domain.ext with your local address > > telnet mail.domain.ext 25 > You should receive a reply like: > Trying ???.???.???.???... > Connected to mail.domain.ext. > Escape character is '^]'. > 220 mail.domain.ext ESMTP Sendmail ?version-number?; ?date+time+gmtoffset? > > You will then need to declare where you are sending the email from: > HELO local.domain.name - don't worry too much about your local domain name > although you really should use your exact fully qualified domain name as > seen by the outside world the mail server has no choice but to take your > word for it as of RFC822-RFC1123. > This should give you: > 250 mail.domain.ext Hello local.domain.name [loc.al.i.p], pleased to meet > you > > Now give your email address: > MAIL FROM: mail@domain.ext > Should yield: > 250 2.1.0 mail@domain.ext... Sender ok > > Now give the recipients address: > RCPT TO: mail@otherdomain.ext > Should yield: > 250 2.1.0 mail@otherdomain.ext... Recipient ok > > To start composing the message issue the command DATA > > If you want a subject for your email type Subject:-type subject here- then > press enter twice (these are needed to conform to RFC 882) > > You may now proceed to type the body of your message (e.g. hello > mail@otherdomain.ext from mail@domain.ext) > > To tell the mail server that you have completed the message enter a single > "." on a line on its own. > The mail server should reply with: 250 2.0.0 ???????? Message accepted for > delivery > > You can close the connection by issuing the QUIT command. > The mail server should reply with something like:221 2.0.0 mail.domain.ext > closing connection > Connection closed by foreign host. > > Regards, > Ed. > > > > > > Hm, I'm getting a "Relaying denied" error on the RCPT part. But I don't use my own SMTP server, I use my ISPs. From what I understand, this test is testing my own server. As I mentioned earlier, the server can send out emails just fine using my ISPs SMTP server. |