From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,3cc224cde4c5d24d X-Google-Attributes: gidf7344,public X-Google-Thread: fc7fa,3cc224cde4c5d24d X-Google-Attributes: gidfc7fa,public From: martin@RADIOGAGA.HARZ.DE (Martin Vorlaender) Subject: Re: Web server and smtp/pop server Date: 1997/11/22 Message-ID: <347682cd.524144494f47414741@radiogaga.harz.de>#1/1 X-Deja-AN: 291451920 References: <347263BF.5A155936@thymenagain.com> <3475C701.7E03@ACM.ORG> Followup-To: comp.sys.vms,comp.os.vms Reply-To: MARTIN@RADIOGAGA.HARZ.DE Distribution: world X-Posting-Software: UUPC/extended 1.12j inews (25May94 07:51) Newsgroups: comp.sys.vms,comp.os.vms Mark E. Levy (LEVY.M@ACM.ORG) wrote: : Kim Hunter wrote: : > I have been away from the VMS groups for awhile. I will be making use of : > my VMS box as a web and smtp/pop mail server. Is the osu web server : > still the best server around for VMS. What about smtp/pop - I heard MX : > was pretty good. Any feedback? : [...] : As for SMTP/POP, MX does not have a POP server. : [...] Either use any of the TCP/IP stacks that come with a POP server, as Mr. Levy pointed out, or use IUPOP3 (actually, the UCX POP3 server is based on it). Get it from ftp.indiana.edu in /pub/vms/iupop3 , and (for v1.8 - not sure whether these changes made it into the latest version (1.9?)) patch it: 1. according to http://www.tci.uni-hannover.de/extrakt/pop.html to get UIDL to work (optional POP3 command, activated by e.g. "leave mail on server" in Netscape) 2. to cover MIME, compile with IGNORE_MAIL11_HEADERS #define'd, and with the changes described below cu, Martin ******************************************************************** From: MX%"zielonko@ucx.lkg.dec.com" 7-MAY-1996 19:29:54.37 To: MX%"iupop3-users@indiana.edu" CC: Subj: Re: IUPOP3 bug fix Hello, Firstly. Thanks to you Mr. Westerman for going to the trouble to find this bug. I just took a look at the recommended changes and there seems to be a problem with them. Since the variable is declared globally all 31 threads can access and therefore change it. This flag needs to be maintained separately for each thread. The correct place for such a flag is in the POP struct. Here are the changes I made: In iupop3_general.h change this: int user_valid; /* User in SYSUAF & flags good*/ to this: int user_valid; /* User in SYSUAF & flags good*/ int first; (ie. add the line with first in it.) In iupop3_vms.c change this (according to the results of DIFF) : ************ File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;2 593 p->first = TRUE; 594 if (mail_retrieve_message_text(p, decnet)) ****** File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;1 593 if (mail_retrieve_message_text(p, decnet)) ************ ************ File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;2 785 #ifdef MULTINET ****** File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;1 784 #ifdef IGNORE_MAIL11_HEADERS 785 int first = TRUE; 786 #endif IGNORE_MAIL11_HEADERS 787 #ifdef MULTINET ************ ************ File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;2 840 if (p->first) 841 { /* skip first line of message (should be blank) */ 842 p->first = FALSE; 843 p->retrieve.lines_sent++; /* make sure line is counted as sent */ ****** File WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;1 842 if (first) 843 { /* skip first line of message (should be blank) */ 844 first = FALSE; 845 p->retrieve.lines_sent++; /* make sure line is counted as sent */ ************ Number of difference sections found: 3 Number of difference records found: 7 DIFFERENCES /IGNORE=()/MERGED=1/OUTPUT=WORK10$:[ZIELONKO.BUILD.SRC.POP]A.A;1- WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;2- WORK10$:[ZIELONKO.BUILD.SRC.POP]IUPOP3_VMS.C;1 -- | Martin Vorlaender | VMS & WNT programmer "UNIX is user friendly. | work: mv@pdv-systeme.de It's just selective about | http://www.pdv-systeme.de/users/martinv/ who its friends are." | home: martin@radiogaga.harz.de