SMTP sniffer?
[1/12] from: rebol665:ifrance at: 22-Nov-2002 9:47
Hi List,
Is there a tool to trace what OutLook Express is sending.
Something like proxy.r but for SMTP instead of HTTP.
I am still struggling whith my header problem.
Note to Ladislav: your recursive mail was brilliant.
Ciao
Patrick
[2/12] from: g:santilli:tiscalinet:it at: 22-Nov-2002 10:51
Hi Pat,
On Friday, November 22, 2002, 9:47:02 AM, you wrote:
p> Is there a tool to trace what OutLook Express is sending.
p> Something like proxy.r but for SMTP instead of HTTP.
It shouldn't be too difficult to write; however, while someone
writes it, you could try a packet sniffer; they usually have good
support for common protocols like SMTP. (An example coming to my
mind is Ethereal.)
Regards,
Gabriele.
--
Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer
Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r
[3/12] from: ingo:2b1 at: 22-Nov-2002 10:28
Hi Patrick,
pat665 wrote:
> Hi List,
>
> Is there a tool to trace what OutLook Express is sending.
> Something like proxy.r but for SMTP instead of HTTP.
>
> I am still struggling whith my header problem.
I think someone once said it, what version of Rebol do you use? Just
because I just remembered, that none of the official releases allows to
add a realname to the sender.
If that's your problem you could get one of the betas - if you don't
like using them, just copy the 'send into your user.r, or try my
patches. The latter one should be available on http://www.h-o-h.org/
If nothing of this helps, I guess I added SiMtPop to the page mentioned
above. It's a "Simulated SMTP and POP Server" (Simulated, because it
holds everything in memory, doesn't really check passwords, ... but it
handles Outlook (was created to test Outlook locally), and it should be
easy to add more debugging output.
I hope that helps,
(BTW, would have been too much of a coincidence too stand, had it been
you ;-D (but that's an insider))
Ingo
[4/12] from: rebol665:ifrance at: 22-Nov-2002 16:14
Hi ingo,
> If that's your problem you could get one of the betas ...
I am using now "REBOL/View 1.2.8.3.1 3-Aug-2002".
> It's a "Simulated SMTP and POP Server"
I am sorry to bother you again, but how can I use it.
Do I need to change something inside Outlook Express?
Ciao
Patrick
[5/12] from: edanaii:cox at: 22-Nov-2002 10:57
pat665 wrote:
>Hi ingo,
>>If that's your problem you could get one of the betas ...
<<quoted lines omitted: 6>>
>I am sorry to bother you again, but how can I use it.
>Do I need to change something inside Outlook Express?
Were I to guess, I'd say you enter the name of your local machine plus
the port number in the script for your SMTP Server.
But I'd like to know the answer to this too. :)
--
Sincerely, | For Everything there is a season and a time for
Ed Dana | every purpose, under Heaven. A time of love, a
Software Developer | time of hate. A time of war, a time of peace. A
1Ghz Athlon Amiga | time that you may embrace, a time to refrain from
| embracing -- Ecclesiastes, the Bible.
=========== http://OurWorld.CompuServe.com/Homepages/EDanaII ===========
[6/12] from: ingo:2b1 at: 23-Nov-2002 0:32
pat665 wrote:
> Hi ingo,
>
> >If that's your problem you could get one of the betas ...
>
> I am using now "REBOL/View 1.2.8.3.1 3-Aug-2002".
>
> >It's a "Simulated SMTP and POP Server"
>
> I am sorry to bother you again, but how can I use it.
> Do I need to change something inside Outlook Express?
Ed is right, in Outlook change your server configuration to be localhost
and either change the the ports in Outlook to 8025 for smtp, and 8110
for pop, or change them in the script to be 25 and 110 for smtp and pop
respectively. I am not sure where you'll have to make these changes, but
I'd try in extras/services or extras/options find "internet email" and
open configuration (I hope the english version is not too different from
the german one).
Then start the script, and try to send to any email address. As an
example say you send to [local--home]. The mail will be stored in a mailbox
called "local" (I'm really just dropping the "@" and everything after
it). So you can read the mail with pop3, using "local" as user, and
anything as password (this isn't checked at all).
The script prints out what happens, but maybe not with sufficient
detail, either add "copy line thru newline" instead of "thru newline" in
the parse rule and print 'line, or ask me to do it.
If you have any more questions, feel free to ask.
Kind regards,
Ingo
[7/12] from: rebol665:ifrance at: 24-Nov-2002 13:51
Hi Ingo,
Thanks for these infos.
I am just recovering from a hard disk crash.
So I had no time to test all this.
Patrick
[8/12] from: gscottjones:mchsi at: 24-Nov-2002 8:05
Hi, Patrick,
From: Patrick
...
> I am just recovering from a hard disk crash.
> So I had no time to test all this.
Bummer.
Perhaps you did not recieve the email that shows how to get REBOL to send
email to the list while preserving the name:
I used the following code to send a message to the list (sanitized here to
reduce spam bot harvesting):
header: make system/standard/email [
From: { "My Name" <[myemail--myprovider--com]>}
Subject: "Testing for pat665"
Organization: "REBOL Base"
;following line *will* be replaced by listar
Reply-To: [myemail--myprovider--com]
X-mailer: [REBOL]
MIME-Version: 1.0
Content-Type: "text/plain"
]
send/header [rebol-list-email--the-rebol-name--com] "Test message" header
--Scott Jones
[9/12] from: rebol665:ifrance at: 24-Nov-2002 15:51
Hi, Scott
I am going to test this quickly (not this message).
I think I am operational now (thanks to Norton Ghost).
Regards
Patrick
[10/12] from: edanaii:cox at: 24-Nov-2002 20:25
Ingo Hohmann wrote:
> Ed is right, in Outlook change your server configuration to be
> localhost and either change the the ports in Outlook to 8025 for smtp,
<<quoted lines omitted: 12>>
> in the parse rule and print 'line, or ask me to do it.
> If you have any more questions, feel free to ask.
Excellent, Ingo.
I asked earlier about something like this, wanting to play around with it.
So, how do I modify it to be a simple relay. I.e. I specify it in my
mail app and then specify my real smtp server in it and have it forward
the mail? BTW, I'm interested in the SMTP side only.
I'm no smtp expert, so any clues appreciated. :)
--
Sincerely, |
Ed Dana | Life's but a knife's edge, anyway. Sooner or later
Software Developer | people slip and get cut.
1Ghz Athlon Amiga | -- Larry McMurtry, Streets of Laredo
[11/12] from: ingo:2b1 at: 25-Nov-2002 15:26
Hi Ed,
Ed Dana wrote (about my mention of SiMTPop):
> <...>
> Excellent, Ingo.
<<quoted lines omitted: 3>>
> forward the mail? BTW, I'm interested in the SMTP side only.
> I'm no smtp expert, so any clues appreciated. :)
Yeahh, now I remember ... didn't make the connection then, I haven't
trusted it with real email so far. Anyway creating a mail relay out of
it shouldn't be that hard:
First remove everything pop3 related:
- pop3
- pop3dialog
- recieve
- the pop3block in dispatch
What's left is much easier to understand, I gues. Now it depends on what
you need it for:
1) if it's mostly for getting your mail away, you could change the
save-mail function to a) send a new email. (Or b) save it for later
sending.)
2) If you want to understand more about smtp, the smtp-rule gives you an
overview on how an smtp connection works.
Mind you, I'm no smtp expert either, I just started with reading a short
overview, and then tweaked it until it seemed to work ;-)
If you tell me what road you want to head down, I might do it when I
have a little time over.
Kind regards,
Ingo
[12/12] from: edanaii:cox at: 25-Nov-2002 21:06
Ingo Hohmann wrote:
> Hi Ed,
> Yeahh, now I remember ... didn't make the connection then, I haven't
<<quoted lines omitted: 14>>
> Mind you, I'm no smtp expert either, I just started with reading a
> short overview, and then tweaked it until it seemed to work ;-)
Maybe not, but you've got a better clue than I do. :)
> If you tell me what road you want to head down, I might do it when I
> have a little time over.
Thanks for the tips, Ingo! :)
I'll try 'em when I get a second.
--
Sincerely, | What a piece of work is man! How noble in reason!
Ed Dana | How infinite in faculties! In form and moving, how
Software Developer | express and admirable! In action, how like an
1Ghz Athlon Amiga | angel! In apprehension, how like a god!
| -- William Shakespeare, Hamlet Act II Sc ii
Notes
- Quoted lines have been omitted from some messages.
View the message alone to see the lines that have been omitted