IIS and SMTP - Send On Behalf from a telnet prompt

This is Interesting: Free IT Magazines  
Home > Archive > IIS and SMTP > August 2006 > Send On Behalf from a telnet prompt





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Send On Behalf from a telnet prompt
Junk Mail

2006-08-07, 1:25 pm

From Outlook I can send on behalf a user..., if I have the permissions...

How can I do this from a telnet prompt?


Bernard Cheah [MVP]

2006-08-08, 1:23 am

you want send spoof mail ?
How to test Windows 2000 IIS SMTP services manually
http://support.microsoft.com/?id=286421

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Junk Mail" <a54857@hotmail.com> wrote in message
news:uNErlqguGHA.4952@TK2MSFTNGP02.phx.gbl...
> From Outlook I can send on behalf a user..., if I have the permissions...
>
> How can I do this from a telnet prompt?
>



Junk Mail

2006-08-08, 7:27 am

No I don't want to spoof mail, I want to send on behalf, as if I use
Outlookbut I don't know how to from a telnet session.
If i do this:
Telnet smtp.dom.org 25
220 smtp.dom.org Microsoft ESMTP MAIL Service, Version: 6.0.2600.2180 ready
at Tue, 8 Aug 2006 00:00:00 +0200
helo
250 smtp.dom.org Hello [10.10.10.10]
mail from:mailabuse@dom.org
250 mailabuse@dom.org: Sender Ok
rcpt to:ttest@dom.org
250 ttest@dom.org: Recipient Ok
data
354 smtp.dom.org: Send data now. Terminate with "."
To:ttest@dom.org
From:postmaster@dom.org
Subject:Telnet (Subject)

Telnet (Body)

..
250 smtp.dom.org: Message accepted for delivery
quit
221 smtp.dom.org closing connection. Goodbye!

Connection to host lost.


If I open this message in Outlook, you right this is spoofing, but how can I
format the header to send from postmaster@dom.org on behalf of
ttest@dom.org, and make clear to the recipient that this message is send on
behalf of ttest@dom.org ?






"Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
news:OHUadVquGHA.3912@TK2MSFTNGP03.phx.gbl...
> you want send spoof mail ?
> How to test Windows 2000 IIS SMTP services manually
> http://support.microsoft.com/?id=286421
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Junk Mail" <a54857@hotmail.com> wrote in message
> news:uNErlqguGHA.4952@TK2MSFTNGP02.phx.gbl...
>
>



Junk Mail

2006-08-08, 7:27 am

Found it, I need to add the Sender: to the header



Where can I find all verbs to add to a header?




"Junk Mail" <a54857@hotmail.com> wrote in message
news:%23FJFjrruGHA.5084@TK2MSFTNGP04.phx.gbl...
> No I don't want to spoof mail, I want to send on behalf, as if I use
> Outlookbut I don't know how to from a telnet session.
> If i do this:
> Telnet smtp.dom.org 25
> 220 smtp.dom.org Microsoft ESMTP MAIL Service, Version: 6.0.2600.2180
> ready at Tue, 8 Aug 2006 00:00:00 +0200
> helo
> 250 smtp.dom.org Hello [10.10.10.10]
> mail from:mailabuse@dom.org
> 250 mailabuse@dom.org: Sender Ok
> rcpt to:ttest@dom.org
> 250 ttest@dom.org: Recipient Ok
> data
> 354 smtp.dom.org: Send data now. Terminate with "."
> To:ttest@dom.org
> From:postmaster@dom.org
> Subject:Telnet (Subject)
>
> Telnet (Body)
>
> .
> 250 smtp.dom.org: Message accepted for delivery
> quit
> 221 smtp.dom.org closing connection. Goodbye!
>
> Connection to host lost.
>
>
> If I open this message in Outlook, you right this is spoofing, but how can
> I format the header to send from postmaster@dom.org on behalf of
> ttest@dom.org, and make clear to the recipient that this message is send
> on behalf of ttest@dom.org ?
>
>
>
>
>
>
> "Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
> news:OHUadVquGHA.3912@TK2MSFTNGP03.phx.gbl...
>
>



Bernard Cheah [MVP]

2006-08-08, 7:27 am

Oh. now I get what you mean.... mmm.....
I'm not sure how to send this via telnet prompt either


--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Junk Mail" <a54857@hotmail.com> wrote in message
news:%23FJFjrruGHA.5084@TK2MSFTNGP04.phx.gbl...
> No I don't want to spoof mail, I want to send on behalf, as if I use
> Outlookbut I don't know how to from a telnet session.
> If i do this:
> Telnet smtp.dom.org 25
> 220 smtp.dom.org Microsoft ESMTP MAIL Service, Version: 6.0.2600.2180
> ready at Tue, 8 Aug 2006 00:00:00 +0200
> helo
> 250 smtp.dom.org Hello [10.10.10.10]
> mail from:mailabuse@dom.org
> 250 mailabuse@dom.org: Sender Ok
> rcpt to:ttest@dom.org
> 250 ttest@dom.org: Recipient Ok
> data
> 354 smtp.dom.org: Send data now. Terminate with "."
> To:ttest@dom.org
> From:postmaster@dom.org
> Subject:Telnet (Subject)
>
> Telnet (Body)
>
> .
> 250 smtp.dom.org: Message accepted for delivery
> quit
> 221 smtp.dom.org closing connection. Goodbye!
>
> Connection to host lost.
>
>
> If I open this message in Outlook, you right this is spoofing, but how can
> I format the header to send from postmaster@dom.org on behalf of
> ttest@dom.org, and make clear to the recipient that this message is send
> on behalf of ttest@dom.org ?
>
>
>
>
>
>
> "Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
> news:OHUadVquGHA.3912@TK2MSFTNGP03.phx.gbl...
>
>



Bernard Cheah [MVP]

2006-08-08, 7:27 am

No idea. can you show how you add in the header syntax in the send command?
also do the user itself has permission to 'send on behalf' ?

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Junk Mail" <a54857@hotmail.com> wrote in message
news:emMfm1ruGHA.4612@TK2MSFTNGP02.phx.gbl...
> Found it, I need to add the Sender: to the header
>
>
>
> Where can I find all verbs to add to a header?
>
>
>
>
> "Junk Mail" <a54857@hotmail.com> wrote in message
> news:%23FJFjrruGHA.5084@TK2MSFTNGP04.phx.gbl...
>
>



Junk Mail

2006-08-09, 1:27 pm

This works...

Telnet smtp.dom.org 25
220 smtp.dom.org Microsoft ESMTP MAIL Service, Version: 6.0.2600.2180
ready at Tue, 9 Aug 2006 00:00:00 +0200
helo
250 smtp.dom.org Hello [10.10.10.10]
mail from:mailabuse@dom.org
250 mailabuse@dom.org: Sender Ok
rcpt to:ttest@dom.org
250 ttest@dom.org: Recipient Ok
data
354 smtp.dom.org: Send data now. Terminate with "."
From:mailabuse@dom.org
To:ttest@dom.org
Sender:postmaster@dom.org
Subject:Telnet (Subject)

Telnet (Body)
..
250 smtp.dom.org: Message accepted for delivery
quit
221 smtp.dom.org closing connection. Goodbye!

Connection to host lost.


"Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
news:uFr$VFsuGHA.4336@TK2MSFTNGP06.phx.gbl...
> Oh. now I get what you mean.... mmm.....
> I'm not sure how to send this via telnet prompt either
>
>
> --
> Regards,
> Bernard Cheah
> http://www.iis.net/
> http://www.iis-resources.com/
> http://msmvps.com/blogs/bernard/
>
>
> "Junk Mail" <a54857@hotmail.com> wrote in message
> news:%23FJFjrruGHA.5084@TK2MSFTNGP04.phx.gbl...
>
>



Bernard Cheah [MVP]

2006-08-09, 1:27 pm

Cool, thanks for the update.

--
Regards,
Bernard Cheah
http://www.iis.net/
http://www.iis-resources.com/
http://msmvps.com/blogs/bernard/


"Junk Mail" <a54857@hotmail.com> wrote in message
news:uoLiDQ4uGHA.1296@TK2MSFTNGP02.phx.gbl...
> This works...
>
> Telnet smtp.dom.org 25
> 220 smtp.dom.org Microsoft ESMTP MAIL Service, Version: 6.0.2600.2180
> ready at Tue, 9 Aug 2006 00:00:00 +0200
> helo
> 250 smtp.dom.org Hello [10.10.10.10]
> mail from:mailabuse@dom.org
> 250 mailabuse@dom.org: Sender Ok
> rcpt to:ttest@dom.org
> 250 ttest@dom.org: Recipient Ok
> data
> 354 smtp.dom.org: Send data now. Terminate with "."
> From:mailabuse@dom.org
> To:ttest@dom.org
> Sender:postmaster@dom.org
> Subject:Telnet (Subject)
>
> Telnet (Body)
> .
> 250 smtp.dom.org: Message accepted for delivery
> quit
> 221 smtp.dom.org closing connection. Goodbye!
>
> Connection to host lost.
>
>
> "Bernard Cheah [MVP]" <qbernard@hotmail.com.discuss> wrote in message
> news:uFr$VFsuGHA.4336@TK2MSFTNGP06.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com