From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Fri, 14 Feb 2003 04:53:23 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 44 ************************************************** Thursday 13 February 2003 Number 44 ************************************************** Subjects for today 1 Re: email routing question. : Neil Waldhauer" 2 Missing server software : John Poltorak 3 Portscanner : John Poltorak 4 email routing question. : Dave Saville" 5 Re: email routing question. : John Poltorak 6 Re: OpenWatcom : John Poltorak 7 Re: email routing question. : John Poltorak 8 Re: email routing question. : John Poltorak 9 Re: email routing question. : Mikkel C. Simonsen" 10 Re: Socks server : John Poltorak 11 Re: email routing question. : Mikkel C. Simonsen" 12 Re: uptime : John Poltorak 13 Russian port of wvWare : John Poltorak 14 Make v3.79.1 bug? : John Poltorak 15 Re: uptime : Stefan Neis 16 configure.in for ZLIB : John Poltorak 17 OpenWatcom : Andrew MacIntyre **= Email 1 ==========================** Date: Fri, 14 Feb 2003 07:10:19 -0800 From: "Neil Waldhauer" Subject: Re: email routing question. On Fri, 14 Feb 2003 12:21:11 +0000 (GMT), "Dave Saville" wrote: > Most of us have an email account with an ISP, some of us have more > than one ISP. Usually in the latter case one has to be connected to > that ISP to send mail. Trying to send from the first will result in > some "relaying not allowed" message. Ok I know that sometimes this > can be worked around by using "send after fetch" but that is not the > object of the question. > > The question is, *if* one was running a *local* mail server, instead > of using the ISP, then how does it know where to send to and why > doesn't the "no relaying" thing kick in? > > ie if you have your own domain and ip address can you handle your own > mail services? I hope this isn't too off topic, but you've just described my current setup. I have each of my e-mail accounts forward to a Weasel server running on my OS/2 box, which is always on, and connected to the net via DSL. I use Injoy Firewall, to offer a limited amount of protection. My ISP knows about this and permits it. If they catch me spamming or relaying spam, they say they'll cancel my account. If I turn off my computer for a while, the e-mail backs up in each account, until I turn the computer back on. Then the e-mail comes in as each account discovers that I'm online again. I have configured Weasel to send to my ISP SMTP server, just the same as if I was running an e-mail client. The same restrictions apply. If I'm at a remote location, I cannot send mail using my ISP, but I can send to the Weasel server on my machine, because I specifically permit "send after fetch" for a small time window. By default Weasel does not permit this. I like having my own mail server, and setting my own policies. I could upgrade to a higher level of service, and get an account that did a backup mail server, correct MX records and so on. Someday I will, but for now, my private e-mail server works the way I want. Neil -- Neil Waldhauer, neil at blondeguy.com To succeed in politics, it is often necessary to rise above your principles. **= Email 2 ==========================** Date: Fri, 14 Feb 2003 10:18:28 +0000 From: John Poltorak Subject: Missing server software We are pretty fortunate on OS/2 having a lot of server software available, including Apache, Squid, INETD, Sendmail, Samba, pop3d, socksd, BIND, RSYNC etc. However a couple of crucial Unix apps are missing, namely INN and ProFTPD. Are there any others? I am aware of plans to tackle ProFTPD, but has anyone looked into getting INN ported? I guess that is a no-no until someone looks at implementing mmap()... As far as BIND goes, we no longer have a maintainer. Is anyone currently looking at porting v9? -- John **= Email 3 ==========================** Date: Fri, 14 Feb 2003 12:16:28 +0000 From: John Poltorak Subject: Portscanner What portscanner would anyone recommend for use on OS/2? -- John **= Email 4 ==========================** Date: Fri, 14 Feb 2003 12:21:11 +0000 (GMT) From: "Dave Saville" Subject: email routing question. Most of us have an email account with an ISP, some of us have more than one ISP. Usually in the latter case one has to be connected to that ISP to send mail. Trying to send from the first will result in some "relaying not allowed" message. Ok I know that sometimes this can be worked around by using "send after fetch" but that is not the object of the question. The question is, *if* one was running a *local* mail server, instead of using the ISP, then how does it know where to send to and why doesn't the "no relaying" thing kick in? ie if you have your own domain and ip address can you handle your own mail services? TIA -- Regards Dave Saville **= Email 5 ==========================** Date: Fri, 14 Feb 2003 12:43:43 +0000 From: John Poltorak Subject: Re: email routing question. On Fri, Feb 14, 2003 at 12:21:11PM +0000, Dave Saville wrote: > Most of us have an email account with an ISP, some of us have more > than one ISP. I have never used an email account with a service provider and have always insisted in having static IP so I could receive mail with Sendmail. > Usually in the latter case one has to be connected to > that ISP to send mail. Trying to send from the first will result in > some "relaying not allowed" message. Ok I know that sometimes this > can be worked around by using "send after fetch" but that is not the > object of the question. > > The question is, *if* one was running a *local* mail server, instead > of using the ISP, then how does it know where to send to and why > doesn't the "no relaying" thing kick in? If you run a mail server it sends it directly to the recipient or whichever host is set up as an MX host. > ie if you have your own domain and ip address can you handle your own > mail services? Yes, of course. I've been handling my own mail since I got my first acount with Demon in 1994. PS If you need a hand setting up Sendmail, you may glean some info from the os2-sendmail list, which I host... > TIA > > -- > Regards > > Dave Saville > -- John **= Email 6 ==========================** Date: Fri, 14 Feb 2003 12:56:42 +0000 From: John Poltorak Subject: Re: OpenWatcom On Fri, Feb 14, 2003 at 10:15:07PM +1000, Andrew MacIntyre wrote: > Does anyone know the size of the downloadable installer? - if this info > was anywhere on the OpenWatcom site I managed to miss it. This one is 46MB:- ftp://ftp.openwatcom.org/watcom/open-watcom-os2-1.0.exe The source is also available which is 38MB, but I have no idea what you are supposed to build it with. > TIA, > Andrew. > > -- > Andrew I MacIntyre "These thoughts are mine alone..." > E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 > andymac at pcug.org.au (alt) | Belconnen ACT 2616 > Web: http://www.andymac.org/ | Australia > -- John **= Email 7 ==========================** Date: Fri, 14 Feb 2003 13:08:06 +0000 From: John Poltorak Subject: Re: email routing question. On Fri, Feb 14, 2003 at 01:56:16PM +0100, Mikkel C. Simonsen wrote: > If you want to receive e-mails for your own domain, you'll need either a > fixed IP on an always-on connection, or you'll have to find a secondary > server that can pickup mail when your server isn't running. Also note > that some ISPs block the SMTP port, If you have an ISP who blocks anything, just go elsewhere. In the UK, we now have a wires-only service, where you provide your own ADSL router and just use the normal Telco's (BT) wire. I use Eclipse and have no problems at all and, before you ask, don't need an Windows software anywhere to get things working, although I still dream of being able to have a complete OS/2 solution, but I don't see that happening, since I can't get hold of OS/2 drivers for an ADSL PCI modem, so need a dedicated router. > so you can't run your own server for > incoming mail (to avoid open relays). If you do use Sendmail, you'll need to be careful about this, the latest release from IBM can block open mail relays. Older ones couldn't. > Best regards, > > Mikkel C. Simonsen > > > > TIA > > > > -- > > Regards > > > > Dave Saville -- John **= Email 8 ==========================** Date: Fri, 14 Feb 2003 13:49:55 +0000 From: John Poltorak Subject: Re: email routing question. On Fri, Feb 14, 2003 at 02:34:15PM +0100, Mikkel C. Simonsen wrote: > John Poltorak wrote: > > > > On Fri, Feb 14, 2003 at 01:56:16PM +0100, Mikkel C. Simonsen wrote: > > > > > If you want to receive e-mails for your own domain, you'll need either a > > > fixed IP on an always-on connection, or you'll have to find a secondary > > > server that can pickup mail when your server isn't running. Also note > > > that some ISPs block the SMTP port, > > > > If you have an ISP who blocks anything, just go elsewhere. > > Some people may not have that option... In Denmark the SMTP port is > blocked if you get a standard ADSL account. If you get a "business > grade" ADSL account nothing is blocked - and you can get as many IPs as > you need. Both account types cost the same BTW ;-) It seems pointless not getting 'business grade' if the cost is the same... > > In the UK, we now have a wires-only service, where you provide your own > > ADSL router and just use the normal Telco's (BT) wire. I use Eclipse and > > have no problems at all and, before you ask, don't need an Windows > > software anywhere to get things working, although I still dream of being > > able to have a complete OS/2 solution, but I don't see that happening, > > since I can't get hold of OS/2 drivers for an ADSL PCI modem, so need a > > dedicated router. > > An external ADSL modem with an Ethernet port (as used by my ISP) could > also be an option. IMV that is an ADSL router which has two interfaces - one LAN and one WAN. I would like to have an ADSL card in an OS/2 system and use that as a router. > Best regards, > > Mikkel C. Simonsen -- John **= Email 9 ==========================** Date: Fri, 14 Feb 2003 13:56:16 +0100 From: "Mikkel C. Simonsen" Subject: Re: email routing question. Dave Saville wrote: > > Most of us have an email account with an ISP, some of us have more > than one ISP. Usually in the latter case one has to be connected to > that ISP to send mail. Trying to send from the first will result in > some "relaying not allowed" message. Ok I know that sometimes this > can be worked around by using "send after fetch" but that is not the > object of the question. > > The question is, *if* one was running a *local* mail server, instead > of using the ISP, then how does it know where to send to and why > doesn't the "no relaying" thing kick in? If you run your own mail server it will do an MX lookup of the domain your trying to send mail to. If you want to send me e-mail you do an MX-lookup on post5.tele.dk: [C:\]dig post5.tele.dk mx ; <<>> DiG 8.3 <<>> post5.tele.dk mx ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 6, ADDITIONAL: 6 ;; QUERY SECTION: ;; post5.tele.dk, type = MX, class = IN ;; ANSWER SECTION: post5.tele.dk. 11h59m42s IN MX 10 smtp-in.mail.dk. So that means the server should deliver the mail to the server smtp-in.mail.dk. Sometimes there are more servers listed. If server 1 doesn't respond, you try the second etc. > ie if you have your own domain and ip address can you handle your own > mail services? Yes, but you don't need either. To send e-mail just install Inet.Mail or Weasel (or use Sendmail) - I would recommend Weasel for this... One problem you will run into, is that some servers do reverse lookups on your server before accepting e-mail. That means that the hostname used by the mail-server must be the one supplied by your ISP. And if you use different ISPs that name will change. I don't know if any of the mail servers can change hostname on the fly... But it wouldn't be too difficult to do. If you want to receive e-mails for your own domain, you'll need either a fixed IP on an always-on connection, or you'll have to find a secondary server that can pickup mail when your server isn't running. Also note that some ISPs block the SMTP port, so you can't run your own server for incoming mail (to avoid open relays). Best regards, Mikkel C. Simonsen > TIA > > -- > Regards > > Dave Saville **= Email 10 ==========================** Date: Fri, 14 Feb 2003 14:28:47 +0000 From: John Poltorak Subject: Re: Socks server On Thu, Feb 13, 2003 at 07:51:55AM +0000, Patrick Ash wrote: > It has been quite a while since I ran a socks server. As I recall, > there was very little one had to do to get the clients up and > running. The server config was a little more involved, though. I guess you don't know if anything is set up correctly until both client and server are working... > Once proper server configuration is accomplished, one needs to change > 2 files on the client machine. > > In $etc the resolv2 file needs to point to the server machine, and > the file socks.env needs to have the following line: > > socks_flag on Reading through the docs, there seems to be more to it than that. > Once this is done, I did not need to do anything to individual > application configurations. > > Pat > > > On Thu, 13 Feb 2003 10:47:20 +0000, John Poltorak wrote: > > > > >Has anyone used the new socks server uploaded to Hobbes? > > > >I'm trying to get it set up so that I can read USENET news on my internal > >network, but haven't figured out how... > > > >I hoped that I would only need to run SOCKSD on a system with direct > >Internet access and then I could simply add details for the socks server > >under Manual Proxy Configuration under Netscapes preferences, but there > >must be more to it than that... > > > >Can anyone point me in the right direction? > > -- > Patrick Ash > patash at comcast.net > > This OS/2 system uptime is 18 days, 22:07 hours and 17 seconds > -- John **= Email 11 ==========================** Date: Fri, 14 Feb 2003 14:34:15 +0100 From: "Mikkel C. Simonsen" Subject: Re: email routing question. John Poltorak wrote: > > On Fri, Feb 14, 2003 at 01:56:16PM +0100, Mikkel C. Simonsen wrote: > > > If you want to receive e-mails for your own domain, you'll need either a > > fixed IP on an always-on connection, or you'll have to find a secondary > > server that can pickup mail when your server isn't running. Also note > > that some ISPs block the SMTP port, > > If you have an ISP who blocks anything, just go elsewhere. Some people may not have that option... In Denmark the SMTP port is blocked if you get a standard ADSL account. If you get a "business grade" ADSL account nothing is blocked - and you can get as many IPs as you need. Both account types cost the same BTW ;-) > In the UK, we now have a wires-only service, where you provide your own > ADSL router and just use the normal Telco's (BT) wire. I use Eclipse and > have no problems at all and, before you ask, don't need an Windows > software anywhere to get things working, although I still dream of being > able to have a complete OS/2 solution, but I don't see that happening, > since I can't get hold of OS/2 drivers for an ADSL PCI modem, so need a > dedicated router. An external ADSL modem with an Ethernet port (as used by my ISP) could also be an option. Best regards, Mikkel C. Simonsen **= Email 12 ==========================** Date: Fri, 14 Feb 2003 14:37:13 +0000 From: John Poltorak Subject: Re: uptime On Wed, Feb 05, 2003 at 10:44:24PM +0400, Stepan Kazakov wrote: > John Poltorak wrote: > > > Do we have an UPTIME program which does not rollover after 49 days? > > http://zuko.mitm.ru/files/ttools03.zip Great! I've just had an opportunity to check it and get an uptime of 50d 20h. > or you need sources? ;) That woud be nice... Is the output in the same format as that shown on Unix? Or is the output format different on every flavour of Unix? Incidentally, is anyone aware of any problems associated with this rollover, or can maybe even explain why this rollover takes place? > -- > madded. [Red Hot Chili Hackers] > -- John **= Email 13 ==========================** Date: Fri, 14 Feb 2003 15:30:36 +0000 From: John Poltorak Subject: Russian port of wvWare Some time ago I came across a Russian port of wvWare for OS/2. Does anyone know anything about it? All links to seem to have disappeared. wvWare provides a library of functions and converter for MS Word documents. -- John **= Email 14 ==========================** Date: Fri, 14 Feb 2003 16:47:55 +0000 From: John Poltorak Subject: Make v3.79.1 bug? Can anyone with Make v3.79.1 try building InfoZip's UNZIP? The source is available here:- ftp://ftp.info-zip.org/pub/infozip/src/unzip550.tar.gz The build fails when using using this verion of Make, but works with earlier versions. -- John **= Email 15 ==========================** Date: Fri, 14 Feb 2003 18:46:30 +0100 (CET) From: Stefan Neis Subject: Re: uptime On Fri, 14 Feb 2003, John Poltorak wrote: > rollover, or can maybe even explain why this rollover takes place? Some routine is apparently cleverly counting milliseconds since boot time in an unsigned int, so it will overflow back to 0 after 2^32 milliseconds, i.e. roughly 4 million seconds, which is slighly less than fifty days ... Regards, Stefan -- Micro$oft is not an answer. It is a question. The answer is 'no'. **= Email 16 ==========================** Date: Fri, 14 Feb 2003 19:10:32 +0000 From: John Poltorak Subject: configure.in for ZLIB If anyone is familiar with creating configure.in files, could you try and create one suitable for ZLIB? Maybe then an OS/2 friendly configure script could be created which would create a reasonable Makefile and we would no longer need hacks like having OS/2 specific Makefiles with hard coded SHELL's and PREFIX's... -- John **= Email 17 ==========================** Date: Fri, 14 Feb 2003 22:15:07 +1000 (est) From: Andrew MacIntyre Subject: OpenWatcom Does anyone know the size of the downloadable installer? - if this info was anywhere on the OpenWatcom site I managed to miss it. TIA, Andrew. -- Andrew I MacIntyre "These thoughts are mine alone..." E-mail: andymac at bullseye.apana.org.au (pref) | Snail: PO Box 370 andymac at pcug.org.au (alt) | Belconnen ACT 2616 Web: http://www.andymac.org/ | Australia