Discussion:
Error: The mail server doesn't like the name
ajreynolds1
2003-01-15 00:32:58 UTC
Permalink
I am trying to get our application to send automatic emails using
blat 1.9.4, but it doesn't work for some email addresses. For some
addresses it works fine, but others give me an error about unable to
relay.

Here is the command and output (XXXXX is the domain of our customer):


blat blattest1.bat -debug -to "***@minerva-associates.com" -s Test -
server serverms01 -f Administrator

Failed to open registry key for Blat profile , using default.
Failed to open registry key for Blat
Sending blattest1.bat to ***@minerva-associates.com
Subject:Test
Login name is Administrator
<<<getline<<< 220 serverms01.XXXXX.com Microsoft ESMTP MAIL Service,
Version: 5.0.2195.4905 ready at Tue, 14 Jan 2003 16:13:33 -0800
putline>>> EHLO serverms01
<<<getline<<< 250-serverms01.XXXXX.com Hello [192.168.1.10]
250-TURN
250-ATRN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-XEXCH50
250-X-LINK2STATE
250 OK
putline>>> MAIL From:<Administrator>
<<<getline<<< 550 5.7.1 Unable to relay for ***@minerva-
associates.com
The mail server doesn't like the name ***@minerva-associates.com.
Have you set the 'To: ' field correctly?
putline>>> QUIT
<<<getline<<< 221 2.0.0 serverms01.XXXXX.com Service closing
transmission channel


I would appreciate any help or advice. Thanks.

Andy



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Tim Musson
2003-01-15 12:38:53 UTC
Permalink
Hey ajreynolds1,

My MUA believes you used
to write the following on Tuesday, January 14, 2003 at 7:32:58 PM.

aamc> I am trying to get our application to send automatic emails
aamc> using blat 1.9.4, but it doesn't work for some email addresses.
aamc> For some addresses it works fine, but others give me an error
aamc> about unable to relay.

Guessing that the ones it works for live on 'serverms01' and the ones
it fails withe the '550 unable to relay' statement don't.

aamc> Here is the command and output (XXXXX is the domain of our customer):

aamc> blat blattest1.bat -debug -to "***@minerva-associates.com" -s Test -
aamc> server serverms01 -f Administrator

,----- [ Yep, relaying is your problem ]
| <<<getline<<< 550 5.7.1 Unable to relay for ***@minerva-
| associates.com
| The mail server doesn't like the name ***@minerva-associates.com.
| Have you set the 'To: ' field correctly?
`-----

Well, that brings up the question of what is a 'relay' in the servers
opinion...

A server will think it is 'relaying' when neither the sender or
recipient address are an address that belongs to it.

This is frequently not permitted so SPAMers are unable to use that
SMTP server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Always remember to pillage BEFORE you burn.
Blat FAQ @ http://blat.freeshell.org/faq/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/sXBHAA/dkFolB/TM
---------------------------------------------------------------------~->
ajreynolds1
2003-01-15 17:28:12 UTC
Permalink
Post by Tim Musson
Hey ajreynolds1,
My MUA believes you used
to write the following on Tuesday, January 14, 2003 at 7:32:58 PM.
aamc> I am trying to get our application to send automatic emails
aamc> using blat 1.9.4, but it doesn't work for some email
addresses.
Post by Tim Musson
aamc> For some addresses it works fine, but others give me an error
aamc> about unable to relay.
Guessing that the ones it works for live on 'serverms01' and the ones
it fails withe the '550 unable to relay' statement don't.
Actually, none of them are on serverms01. This program is sending
shipment confirmations to customers all over the internet. Some of
them work, some don't.
Post by Tim Musson
aamc> server serverms01 -f Administrator
,----- [ Yep, relaying is your problem ]
| associates.com
| Have you set the 'To: ' field correctly?
`-----
Well, that brings up the question of what is a 'relay' in the
servers
Post by Tim Musson
opinion...
A server will think it is 'relaying' when neither the sender or
recipient address are an address that belongs to it.
This is frequently not permitted so SPAMers are unable to use that
SMTP server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Always remember to pillage BEFORE you burn.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
ajreynolds1
2003-01-15 23:37:33 UTC
Permalink
My mistake. I've just been informed that none of the emails are
getting through, which makes a lot more sense than some getting
through and some not. Thanks for the help.

Andy
Post by ajreynolds1
Post by Tim Musson
Hey ajreynolds1,
My MUA believes you used
to write the following on Tuesday, January 14, 2003 at 7:32:58 PM.
aamc> I am trying to get our application to send automatic emails
aamc> using blat 1.9.4, but it doesn't work for some email
addresses.
Post by Tim Musson
aamc> For some addresses it works fine, but others give me an error
aamc> about unable to relay.
Guessing that the ones it works for live on 'serverms01' and the
ones
Post by Tim Musson
it fails withe the '550 unable to relay' statement don't.
Actually, none of them are on serverms01. This program is sending
shipment confirmations to customers all over the internet. Some of
them work, some don't.
Post by Tim Musson
aamc> Here is the command and output (XXXXX is the domain of our
aamc> server serverms01 -f Administrator
,----- [ Yep, relaying is your problem ]
| associates.com
| Have you set the 'To: ' field correctly?
`-----
Well, that brings up the question of what is a 'relay' in the
servers
Post by Tim Musson
opinion...
A server will think it is 'relaying' when neither the sender or
recipient address are an address that belongs to it.
This is frequently not permitted so SPAMers are unable to use that
SMTP server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Always remember to pillage BEFORE you burn.
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
ajreynolds1
2003-01-16 00:02:53 UTC
Permalink
Post by Tim Musson
Post by Tim Musson
aamc> Here is the command and output (XXXXX is the domain of our
aamc> server serverms01 -f Administrator
,----- [ Yep, relaying is your problem ]
| associates.com
| Have you set the 'To: ' field correctly?
`-----
Well, that brings up the question of what is a 'relay' in the
servers
Post by Tim Musson
opinion...
A server will think it is 'relaying' when neither the sender or
recipient address are an address that belongs to it.
This is frequently not permitted so SPAMers are unable to use that
SMTP server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
Always remember to pillage BEFORE you burn.
The problem is, the send IS an address that belongs to it. I'm
logged in to the mail server itself (serverms01 in this case) as
Administrator. I'm trying to send the email with the -f
Administrator command line option. The server responds that the
sender is OK. If I send to an address in the XXXXX.com domain (the
same domain as serverms01), it works fine. Any additional thoughts
of what I should check or arguments I could try? Thanks.

Andy



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Tim Musson
2003-01-16 12:42:37 UTC
Permalink
Hey ajreynolds1,

My MUA believes you used
to write the following on Wednesday, January 15, 2003 at 7:02:53 PM.

aamc> The problem is, the send IS an address that belongs to it. I'm
aamc> logged in to the mail server itself (serverms01 in this case) as
aamc> Administrator. I'm trying to send the email with the -f
aamc> Administrator command line option. The server responds that the
aamc> sender is OK.

Chip has a point there, it *looks* in the log as if it is not a
problem to send from Administrator, but that is not a valid SMTP eMail
address. Try changing it to a valid address the SMTP server owns (ie,
you could go to a Yahoo.com eMail address and send to it).

aamc> If I send to an address in the XXXXX.com domain (the same domain
aamc> as serverms01), it works fine. Any additional thoughts of what I
aamc> should check or arguments I could try?

Just curiosity at this point, what software are you running for your
SMTP server? MS Exchange?
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
"I refuse to answer that question on the grounds that I don't know the answer." -Douglas Adams
Blat FAQ @ http://blat.freeshell.org/faq/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Tim Musson
2003-01-15 19:48:56 UTC
Permalink
Hey ajreynolds1,

My MUA believes you used
to write the following on Wednesday, January 15, 2003 at 12:28:12 PM.

aamc> Actually, none of them are on serverms01. This program is
aamc> sending shipment confirmations to customers all over the
aamc> internet. Some of them work, some don't.

Well, it is still a relay problem based on the error message you
posted. The SMTP server you are using is the machine that is rejecting
the message (based on some relay rule I am guessing). Can you ask the
admin of the SMTP server to look at the logs and possibly see why the
SMTP server is telling Blat it is not going to relay?

Is there a pattern you can determine on the ones that go through, and
the ones that don't?
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
My operat~1 system unders~1 long filena~1 , does yours?
Blat FAQ @ http://blat.freeshell.org/faq/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Flexible Keyboard is the ideal accessory for PDA users that are on the move.
http://us.click.yahoo.com/dCBVZC/WnCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
ajreynolds1
2003-01-16 20:52:54 UTC
Permalink
Post by Tim Musson
Hey ajreynolds1,
My MUA believes you used
to write the following on Wednesday, January 15, 2003 at 12:28:12 PM.
aamc> Actually, none of them are on serverms01. This program is
aamc> sending shipment confirmations to customers all over the
aamc> internet. Some of them work, some don't.
Well, it is still a relay problem based on the error message you
posted. The SMTP server you are using is the machine that is
rejecting
Post by Tim Musson
the message (based on some relay rule I am guessing). Can you ask the
admin of the SMTP server to look at the logs and possibly see why the
SMTP server is telling Blat it is not going to relay?
Is there a pattern you can determine on the ones that go through, and
the ones that don't?
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
My operat~1 system unders~1 long filena~1 , does yours?
I'll talk to the admin. They are running MS Exchange, I'm not sure
what version. As I mentioned in an earlier message, it actually
appears that nothing going to an external address is getting
through.

I've tried changing the -f option from Administrator to
***@XXXXX.com, ***@mail.XXXXX.com, bob,
***@XXXXX.com, and several others. (bob is an account I'm positive
works).




------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Tim Musson
2003-01-17 01:38:49 UTC
Permalink
Hey ajreynolds1,

My MUA believes you used
to write the following on Thursday, January 16, 2003 at 3:52:54 PM.

aamc> I'll talk to the admin. They are running MS Exchange, I'm not
aamc> sure what version. As I mentioned in an earlier message, it
aamc> actually appears that nothing going to an external address is
aamc> getting through.

I am guessing that the MS Exchange SMTP server is being *very* strict
about relaying. You may have to start using the -u & -pw switches.
Your admins _should_ be able to suggest how to do it. If you can get
them to tell you how to set up a POP3 clients SMTP section, that
should tell you what you need for Blat.

POP3 is for getting mail from a Server to your Client, and SMTP (what
Blat does) is for going the other way - Client to the Server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
What are you doing?!? The message is over, GO AWAY!
Blat FAQ @ http://blat.freeshell.org/faq/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
ajreynolds1
2003-01-17 17:49:27 UTC
Permalink
Post by Tim Musson
Hey ajreynolds1,
My MUA believes you used
to write the following on Thursday, January 16, 2003 at 3:52:54 PM.
aamc> I'll talk to the admin. They are running MS Exchange, I'm not
aamc> sure what version. As I mentioned in an earlier message, it
aamc> actually appears that nothing going to an external address is
aamc> getting through.
I am guessing that the MS Exchange SMTP server is being *very*
strict
Post by Tim Musson
about relaying. You may have to start using the -u & -pw switches.
Your admins _should_ be able to suggest how to do it. If you can get
them to tell you how to set up a POP3 clients SMTP section, that
should tell you what you need for Blat.
POP3 is for getting mail from a Server to your Client, and SMTP (what
Blat does) is for going the other way - Client to the Server.
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
What are you doing?!? The message is over, GO AWAY!
That did it! I added the -u and -pw switches and it worked.

Thanks for all the help.

Andy



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Tim Musson
2003-01-17 18:14:26 UTC
Permalink
Hey ajreynolds1,

My MUA believes you used
to write the following on Friday, January 17, 2003 at 12:49:27 PM.

aamc> That did it! I added the -u and -pw switches and it worked.

aamc> Thanks for all the help.

Welcome!
--
Tim Musson
Flying with The Bat! eMail v1.62 Christmas Edition
Windows 2000 5.0.2195 (Service Pack 2)
The reason men lie is because women ask so many questions.
Blat FAQ @ http://blat.freeshell.org/faq/


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Turn flat surfaces into speakers with the Soundbug.
http://us.click.yahoo.com/QWAVSC/onCFAA/xGHJAA/dkFolB/TM
---------------------------------------------------------------------~->
Chip
2003-01-16 12:23:30 UTC
Permalink
Change for -f option to read -f ***@mail.XXXXX.com

Just a hunch, but the server looks to be looking at your "From:
<Administrator>" line in the message headers and saying that you are
relaying and it doesn't like that.


Chip



----- Original Message -----
From: <***@mailcity.com>
To: <***@yahoogroups.com>
Sent: Tuesday, January 14, 2003 7:32 PM
Subject: [blat] Error: The mail server doesn't like the name


I am trying to get our application to send automatic emails using
blat 1.9.4, but it doesn't work for some email addresses. For some
addresses it works fine, but others give me an error about unable to
relay.

Here is the command and output (XXXXX is the domain of our customer):


blat blattest1.bat -debug -to "***@minerva-associates.com" -s Test -
server serverms01 -f Administrator

Failed to open registry key for Blat profile , using default.
Failed to open registry key for Blat
Sending blattest1.bat to ***@minerva-associates.com
Subject:Test
Login name is Administrator
<<<getline<<< 220 serverms01.XXXXX.com Microsoft ESMTP MAIL Service,
Version: 5.0.2195.4905 ready at Tue, 14 Jan 2003 16:13:33 -0800
putline>>> EHLO serverms01
<<<getline<<< 250-serverms01.XXXXX.com Hello [192.168.1.10]
250-TURN
250-ATRN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-XEXCH50
250-X-LINK2STATE
250 OK
putline>>> MAIL From:<Administrator>
<<<getline<<< 550 5.7.1 Unable to relay for ***@minerva-
associates.com
The mail server doesn't like the name ***@minerva-associates.com.
Have you set the 'To: ' field correctly?
putline>>> QUIT
<<<getline<<< 221 2.0.0 serverms01.XXXXX.com Service closing
transmission channel


I would appreciate any help or advice. Thanks.

Andy
Chip
2003-07-03 19:14:11 UTC
Permalink
Post by ajreynolds1
I am trying to get our application to send automatic emails using
blat 1.9.4, but it doesn't work for some email addresses. For some
addresses it works fine, but others give me an error about unable to
relay.
server serverms01 -f Administrator
Failed to open registry key for Blat profile , using default.
Failed to open registry key for Blat
Subject:Test
Login name is Administrator
<<<getline<<< 220 serverms01.XXXXX.com Microsoft ESMTP MAIL Service,
Version: 5.0.2195.4905 ready at Tue, 14 Jan 2003 16:13:33 -0800
putline>>> EHLO serverms01
<<<getline<<< 250-serverms01.XXXXX.com Hello [192.168.1.10]
250-TURN
250-ATRN
250-SIZE
250-ETRN
250-PIPELINING
250-DSN
250-ENHANCEDSTATUSCODES
250-8bitmime
250-BINARYMIME
250-CHUNKING
250-VRFY
250-X-EXPS GSSAPI NTLM LOGIN
250-X-EXPS=LOGIN
250-AUTH GSSAPI NTLM LOGIN
250-AUTH=LOGIN
250-XEXCH50
250-X-LINK2STATE
250 OK
putline>>> MAIL From:<Administrator>
associates.com
Have you set the 'To: ' field correctly?
putline>>> QUIT
<<<getline<<< 221 2.0.0 serverms01.XXXXX.com Service closing
transmission channel
I would appreciate any help or advice. Thanks.
Andy
I know this is old, but I believe I have the answer, finally. The server
allows authorization before sending messages, yet Andy did not give
the -u/-pw options for logging into the server. The server is rejecting the
minerva-associates.com address because Andy is not logged in.

If Andy supplies the -u and -pw options, blat would have issued AUTH LOGIN
to the server before the MAIL FROM: command, and that may have allowed him
to send messages to other domains.

I have changed the text of the error message to indicate that perhaps the
user should use -u/-pw options when a recipient is rejected by the server.

Chip


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Inkjet cartridges up to 80% off. HP, Epson, Lexmark--we have your brand.
Free shipping on every order to the U.S. and Canada! Excellent service.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/QWB0QC/.eUGAA/ySSFAA/dkFolB/TM
---------------------------------------------------------------------~->
Loading...