[Xitami] how add a mail server to xitami
Wolfgang Schneider
xitami@lists.xitami.org
Mon, 23 Jul 2001 22:03:55 +0200
On Mon, 23 Jul 2001 15:58:15 -0400, Paul Reid wrote:
>> a program I can run on my win2k machine without being connected to the
>> internet and for testing of certain e-mail functions in my websites which I am >>testing ...
>
>OH!
Oooh, Paul!
>You don't need email? You need something to catch what a script sends to
>sendmail?
Hmn ... well I thought I need a mail server since those things are what
normally sends mail to an e-mail address. And thus far I only thought
of being able to set up an e-mail address such as
info@virtualhost-domain.com and test a form on one of those pages to
send data to that e-mail address ... and I figured I need a mailserver
to process that data to be "received" by that address. But, you are
right ... I really would probabyl already be fine if I could see that
the script has "sent" the data in form of an e-mail text etc ... be it
to an actual e-mail address account or re-directed to some text file
...
>Create a plain text file, named SENDMAIL.BAT , and put this line in it:
> more >> C:\sentmail.txt
>
>Save SENDMAIL.BAT "someplace". Where? Since most perl scripts using
>sendmail assume it is some place like /usr/bin , you could try making a
>folder of that name on the same drive as Xitami, and put it there. OR,
>put it some place you like and edit your perl scripts to point to it.
>Whichever is easier.
>
>For initial testing, find or make a small text file and copy it to the
>same folder as SENDMAIL.BAT. Let's say the text file is called TEST.TXT.
>Open a DOS window and CD to that folder. The command
>
> SENDMAIL < TEST.TXT
>
>should run without complaint. Now look for the file C:\sentmail.txt and
>open it. Should contain the words in TEST.TXT. Each time you run
>SENDMAIL, the text sent through it will be appended to the end of
>C:\SENTMAIL.TXT
>
>Then try your scripts.
>
>I *think* that will emulate enough of a real sendmail to do what you
>want.
I'll see if I can give this a try tomorrow sometime ... sounds like an
interesting "solution" ... :-) thanks for the tip ...
God bless you with His grace and peace
Wolfgang
Looking for Biblical information? COME AND SEE!
-- ONLINE Courses: http://classes.bibelcenter.de ... NEW!
-- BibelCenter: http://www.bibelcenter.de
-- Bookstore: http://www.worthy.net/BibelCenter/
-- Christian eBooks: http://www.christian-ebooks.de