[REBOL] Re: SMTP sniffer?
From: ingo:2b1 at: 25-Nov-2002 15:26
Hi Ed,
Ed Dana wrote (about my mention of SiMTPop):
> <...>
> 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. :)
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