Sadly I would say that I am 'just another perl hacker'... I tried out the freely available Eudora server (my budget is pretty tight) and found that it panics horribly - I think because we are firewalled behind a Suse-based server here on a Class B network. I'm comfortable enough with using the send facilities of Net::SMTP. What I am not certain about is how to get a script to listen and intercept traffic directed to localhost and port 25. It can be done, because MacSSH can perform a similar trick by mapping the external SMTP server to localhost - you just tell outlook express or whatever to send the mail to localhost. Hmmmm..... Pretty well any kind of server done through perl (ideally macperl) would probably give me a starting point. I didn't have much luck googling though. You're right c++ would be better but a) I lack the expertise and b) this is only for occasional short term use rather than as a server I would leave on for days.
Adam in article 15593221.1038230278@[192.168.0.20], Joshua Juran at [EMAIL PROTECTED] wrote on 25/11/02 7:17 PM: > --On Sunday, November 24, 2002 5:13 PM +0100 Adam Bartley > <[EMAIL PROTECTED]> wrote: > >> Dear All, >> >> I have used the Net::SMTP package to make myself a little mailer and am >> happy with the outcome. (Good learning experience, too.) Now I have a new >> problem. Where I am at the moment I have a great internet connect but no >> "provider" to give me access to an SMTP server. I did some reading in a > > So in other words, you don't have a smarthost to which to forward outgoing > mail. > >> bookshop and saw that, at least under the Linux version, Perl has its own >> little SMTP server that can be invoked. My thought is to make a small >> applet that can act as my server at need, much as Sendmail or Exim do for >> me under Linux. Does anybody know of any similar code I could canabalise >> or can anyone suggest other starting points? > > The first question I'd ask is, are you primarily interested in having an > SMTP server, or developing one? > > The path of least resistance would be to get something like Apple/Eudora > Internet Mail Server -- it should Just Work. If you want a really rich > development experience, grab the source to any SMTP server (language > unimportant) and use it as a guide to implementing your own. > > For my own part, I have a GNU/Linux Internet gateway, where I run exim. If > I were in your situation (and had lots of time on my hands), I'd develop my > own server in C++. But then again, I'm not just another Perl hacker. :-) > > Josh >