Below are some questions we were asked during the Beta period of WindMail. If you have a different question, or a comment about one of these answers, please send us email. All technical support email should be directed towards: benc@geocel.com --------------------------------------------------------------------- FREQUENTLY ASKED QUESTIONS --------------------------------------------------------------------- Q: WindMail will not work as a CGI because it returns a banner. A: 1. The Registered Version does not return that banner at all. 2. If you are testing WindMail, the easiest way to alleviate the banner is this. Act as if you were redirecting the output of the executable to a file, as this is exactly what we're doing. This helps WindMail keep a log of any problems its had. So when you call it do something like this: windmail -t ....... >> C:\\WINDMAIL.LOG And a file called C:\\WINDMAIL.LOG will be appended with any problems WindMail has as well as the banner in the Evaluation version. Q: My perl script or C/C++ program hangs when I call WindMail. A: Be sure to send WindMail a period on its own line. ie. print MAIL "\n.\n"; - or - fprintf(mail,"\n.\n"); Q: I keep getting a message like: Server (mailhost) could not be found. A: Either your WindMail.INI is not set up, is not set up correctly, or cannot be found by WindMail. This problem should happen less frequently after version 1.50 since WindMail seeks out a WindMail.INI. Q: WindMail locks up and seems to do nothing, but I can press Ctl-C and exit? A: This is normal, you need to enter a message in the following form: ---------------[ information below ]---------------------- To: user@domain From: user@domain <-- Header Information Subject: Subject message text <-- Message Text . <-- Terminating Period (highly recommended) ---------------[ information above ]---------------------- Q: How do I make FormMail work with WindMail? A: Check out http://www.geocel.com/library/formmail.htm There is a modified version of FormMail which has been modified and tested with Windows NT and WindMail. Q: How can I FAX with WindMail? A: Check out http://www.geocel.com/products.htm for information about iFAX, which includes a single license of WindMail. Just for dropping by you get $5.00 worth of FREE Faxes to almost Anywhere on the Planet! Q: Is WindMail available on RISC versions of Windows NT. A: No, but it will be soon! Q: Where do I place the 'windmail.exe' file? A: In any directory in the PATH. If you have a utilities directory, then it would best fit there; otherwise the Windows directory is good. Q: I specify a Subject with the -b switch, but it does not show up! A: You may need to use the -h (don't expect a header) option. Otherwise, WindMail will wait for the end of a mail header to insert the Subject. If one is not provided, WindMail may never insert the Subject. Q: I have a Perl CGI script I downloaded. It calls /usr/bin/sendmail, what do I have to do to make it use WindMail instead? A: In most all cases, you only have to change to '/usr/bin/sendmail' to 'windmail'. Q: Do you support the Sendmail '-t' switch? A: Starting in WindMail 1.0 we fully support the -t switch. Supported header fields are To:, From:, Cc:, and Bcc:. Bcc: lines are deleted from the message. (-t allows you to specify recipients and senders in the message header that you provide to WindMail) Q: Are there any Security applications using WindMail written yet? A: agentURL at http://www.geocel.com/agenturl/ uses WindMail as an email transport. It looks at bad HTTP Requests on a Web Server and analyzes to determine the intent, or malintent of the requestor. It ranks malicious queries on a points scale and allows you to send High Priority mail in case of a security infraction. agentURL includes a single license of WindMail. Q: How can I make WindMail work from my programs? A: Look below for examples: Below is a Code Segment in C ---------------------------- FILE *pipemail; pipemail=_popen("windmail -t","wb"); fprintf(pipemail,"To: benc@geocel.com\n"); fprintf(pipemail,"From: benc@geocel.com\n"); fprintf(pipemail,"Subject: Hello World\n"); fprintf(pipemail,"\n"); fprintf(pipemail,"This is the easyist way to implement WindMail \n"); fprintf(pipemail,"in a CGI script written in C.\n"); fprintf(pipemail,".\n"); _pclose(pipemail); Below is the same Code in Perl 5.001 for Windows NT --------------------------------------------------- open(MAIL,"|windmail -t") ; print MAIL "To: benc\@geocel.com\n"; print MAIL "From: benc\@geocel.com\n"; print MAIL "Subject: Hello World\n\n" ; print MAIL "This is the easyist way to implement WindMail \n" ; print MAIL "in a CGI script written in Perl.\n"; # The next line is very important print MAIL ".\n" ; close(MAIL) ; An example of a batch file -------------------------- analyze < c:\logs\access > report windmail -b "Access Log Report" -h benc@geocel.com < report Feel free to cut and paste this code into your own programs. ---------------------------------------------------------------- (c) 1996 -- Geocel International, LLC