Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: "Michael Santovec" <michael_santovec@xxxxxxxxxxx>
- Date: Mon, 5 Jun 2006 12:11:42 -0700
Many ISPs require that you be directly connected to their service (not
via another ISP, corporate LAN, etc.) in order to send via their SMTP
mail server. (They match your IP address against those owned by the
service.) An exception is made for messages being sent to recipients of
their service. The typical error message will be "Cannot Relay" or "Not
Local" or "Not Gateway", "Not Allowed Rcpthost" or something similar. A
workaround for this is to use the SMTP mail server of the service that
you connect via, but leave your other settings the same. And for some
mail services, the SMTP Authentication may be needed.
So you aren't being recognized as an authorized user for the BT SMTP
mail server.
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
"Manish" <manish.7.sharma@xxxxxx> wrote in message
news:1149501083.272036.230410@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Michael.Problem is partly solved.I am able to send mails to BT
adresses but not to yahoo addresses.Is there any configuration in
sendmail through which I can sendmails to all the
domains(yahoo,hotmail
etc.).I get the following message when I try to send mails to yahoo
id-
Your message did not reach some or all of the intended recipients.
Subject: Test Mail
Sent: 05/06/2006 10:26
The following recipient(s) could not be reached:
himyselfmanish@xxxxxxxxxxx on 05/06/2006 10:23
You do not have permission to send to this recipient. For
assistance, contact your system administrator.
< tay.ros.local #5.7.1 SMTP; 550 5.7.1 Unable to relay for
himyselfmanish@xxxxxxxxxxx>
Michael Santovec wrote:
The debug seems reasonable.
You are talking to an SMTP server on your local area network
connected to host "10.220.36.127", port: 25
IP addresses 10.x.x.x are local and not routed to the Internet
It mentions connecting to mail.bt1.com. But the IP addresses for
that
server are
207.155.252.38
207.155.252.118
207.155.253.151
207.155.248.59
Possibly the 10.220.36.127 is a firewall/router and the messages are
being sent on to the real SMTP mail server. Can you send messages
from
a mail client on your PC to mail.bt1.com and they get through?
You'll need to see the logs on the SMTP server end to see what is
happening to the messages. Possibly they are being filtered out as
SPAM
somewhere.
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
"Manish" <manish.7.sharma@xxxxxx> wrote in message
news:1149161488.469358.285260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I get the following debug message:-
----------------------------------message
starts-----------------------------------------------------------------------
DEBUG: setDebug: JavaMail version 1.4ea
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun
Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth false
DEBUG SMTP: trying to connect to host "10.220.36.127", port 25,
isSSL
false
220 mail.bt1.com ESMTP (Code-Crafters Ability Mail Server 2.56)
DEBUG SMTP: connected to host "10.220.36.127", port: 25
EHLO LS103966D
250-mail.bt1.com
250-PIPELINING
250-8BITMIME
250-AUTH PLAIN LOGIN CRAM-MD5 CRAM-SHA1
250 OK
DEBUG SMTP: Found extension "PIPELINING", arg ""
DEBUG SMTP: Found extension "8BITMIME", arg ""
DEBUG SMTP: Found extension "AUTH", arg "PLAIN LOGIN CRAM-MD5
CRAM-SHA1"
DEBUG SMTP: Found extension "OK", arg ""
DEBUG SMTP: use8bit false
MAIL FROM:<manish.7.sharma@xxxxxx>
250 Email address accepted. <manish.7.sharma@xxxxxx>
RCPT TO:<manish.7.sharma@xxxxxx>
250 Email address accepted. <manish.7.sharma@xxxxxx>
DEBUG SMTP: Verified Addresses
DEBUG SMTP: manish.7.sharma@xxxxxx
DATA
354 Please send the data and end with a <CRLF>.<CRLF>.
From: manish.7.sharma@xxxxxx
To: manish.7.sharma@xxxxxx
Message-ID: <1755041.01149161077440.JavaMail.sharmma@LS103966D>
Subject: Test Mail
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
MyHeaderName: myHeaderValue
Hello
.
250 Mail accepted and queued for delivery.
QUIT
221 Thank you and good bye.
Sucessfully Sent mail to All Users
------------------------message
ends----------------------------------------------
but mail is not delivered to the recepient and I don't get any
error
message either.can anyone tell me whether my mail is sent till SMTP
server or not?My SMTP server is on intranet and there is a firewall
in
between.is this the issue that it doesn't connect to exchange
server
which is on internet.If this is the issue then what should I do so
that
my SMTP delivers mails to exchange servers.And is there anyway
through
which I can check emails on SMTP server to verify these are through
SMTP are not???
Michael Santovec wrote:
What is being displayed is what you should be sending to the SMTP
server after the
SMTP RCVD: 354 Enter mail, end with "." on a line by itself
When the period on a line by itself is sent, the SMTP mail server
responds with the
SMTP RCVD: 250 2.0.0 k4UA9Wh1001734 Message accepted for delivery
From the debug, it appears that the code you are using already
supplies
the period
DEBUG SMTP SENT:
.
So you need to insert the programming code to send you message
just
before the point that the period is sent. In your display sample,
it
looks like you are supplying an extra period on the line after the
"manish". You don't want that since the code you are using
already
supplies the line with a period by itself.
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
<kapil.varshney@xxxxxx> wrote in message
news:1149064783.441113.310980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks Michael for reply.I have progressed little bit.now I am
getting
displayed following
-----------------
"From: tushar.mittal@xxxxxx
To: arunkhavate@xxxxxxxxx
Message-ID: <2200816.01149064515321
Subject: Order Confirmation Subject
MIME-Version: 1.0
Content-Type: text/plain; charset=u
Content-Transfer-Encoding: 7bit
MyHeaderName: myHeaderValue
manish.
.
"
---------------------------------
after "354 Enter mail, end with "." on a line by itself" but
still
is not being sent to the recepients and I am not getting any
error
message either.
Michael Santovec wrote:
354 Enter mail, end with "." on a line by itself
is a normal part of the SMTP protocol. At that point you send
the
actual message. You send a line with just a period on it to
indicate
that the you are done sending.
For more on the SMTP protocol, see:
ftp://ftp.isi.edu/in-notes/rfc2821.txt
--
Mike - http://pages.prodigy.net/michael_santovec/techhelp.htm
<kapil.varshney@xxxxxx> wrote in message
news:1148984770.179319.97160@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I get this message when I try to send mail through java
code.Following
is the debug for it:
DEBUG: getProvider() returning
javax.mail.Provider[TRANSPORT,smtp,com.sun.
mtp.SMTPTransport,Sun Microsystems, Inc]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: useEhlo true, useAuth true
DEBUG: SMTPTransport trying to connect to host
"10.220.43.82",
port
25
DEBUG SMTP RCVD: 220 tay.ros.local ESMTP Sendmail
8.12.10+Sun/8.12.10;
Tue
ay 2006 11:09:32 +0100 (BST)
DEBUG: SMTPTransport connected to host "10.220.43.82", port:
25
DEBUG SMTP SENT: EHLO LS103966D
DEBUG SMTP RCVD: 250-tay.ros.local Hello
ls103966d.uk.intra.syntegra.com [
.36.127], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-DELIVERBY
250 HELP
DEBUG SMTP Found extension "ENHANCEDSTATUSCODES", arg ""
DEBUG SMTP Found extension "PIPELINING", arg ""
DEBUG SMTP Found extension "EXPN", arg ""
DEBUG SMTP Found extension "VERB", arg ""
DEBUG SMTP Found extension "8BITMIME", arg ""
DEBUG SMTP Found extension "SIZE", arg ""
DEBUG SMTP Found extension "DSN", arg ""
DEBUG SMTP Found extension "ETRN", arg ""
DEBUG SMTP Found extension "DELIVERBY", arg ""
DEBUG SMTP Found extension "HELP", arg ""
DEBUG SMTP: use8bit false
DEBUG SMTP SENT: MAIL FROM:<tushar.mittal@xxxxxx>
DEBUG SMTP RCVD: 250 2.1.0 <tushar.mittal@xxxxxx>... Sender
ok
DEBUG SMTP SENT: RCPT TO:<kapil.varshney@xxxxxx>
DEBUG SMTP RCVD: 250 2.1.5 <kapil.varshney@xxxxxx>...
Recipient
ok
Verified Addresses
kapil.varshney@xxxxxx
DEBUG SMTP SENT: DATA
DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by
itself
DEBUG SMTP SENT:
.
DEBUG SMTP RCVD: 250 2.0.0 k4UA9Wh1001734 Message accepted
for
delivery
DEBUG SMTP SENT: QUIT
.
- References:
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Michael Santovec
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Manish
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Michael Santovec
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- From: Manish
- Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Prev by Date: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Next by Date: Re: New Private Internet Mailbox
- Previous by thread: Re: DEBUG SMTP RCVD: 354 Enter mail, end with "." on a line by itself
- Next by thread: Re: can't send pictures
- Index(es):
Relevant Pages
|
Loading