On Oct 24, 2008, at 8:56 AM, Colin Summers wrote:

Emailer has stopped sending out mail. It logs "Network stream error" on each attempt.


Network stream error in Emailer usually means it can't find the remote server at all (ie: no route to host) or the remote server dropped the connection for an unknown reason.

My first guess would have been your postfix server changed addresses or in some other way is now refusing the OS 9 machine. I'd do a few things.

1. ping the postfix server from the OS 9 machine. To do this you need a tool capable of doing pings, there is nothing built in to OS 9 for it. Might I recommend an older version of Interarchy as it should have a ping tool, as well as it may help you in a later suggestion I will be making. You can get it from www.interarchy.com (redirects you to whatever their new company is), and then in the downloads page, grab one of the older versions. I'm not sure which versions do what, so you may just have to try a few.

2. try connecting via telnet from OS 9 to postfix on port 25. You will need a telnet program for that. Go to www.macorchard.com, head to the Classics section, then to Terminal, pick out whatever one you want (I think I used to us either MacNifty or NCSA Telnet). Then use that to open a connection to the postfix server on port 25 and see if you get a response. If so, attempt to send an email manually and see what happens. Enter the following:

"HELO " followed by your OS 9 IP address,  then press enter
"MAIL FROM: <" your emailer email address ">" then press enter
"RCPT TO: <" email address to send it to ">" then press enter
"DATA" then press enter
type some stuff here, anything you want then press enter
"." then press enter (that is a single period on a line by itself)
"QUIT" then press enter.

If at any time you get errors, that would be a problem. Assuming all that works...

3. Use Interarchy (or some other tool) to monitor the actual traffic flowing between OS 9 and postfix. See what it is reporting. You can do this on the postfix side using a Unix tool like tcpdump, although you may find Interarchy's network stream watching tool easier to read on the OS 9 side (that and it will be a little more sure that you are ONLY getting the traffic you care about as the OS X side may be running some other stuff that will just add unwanted junk to filter thru).

Can I also make two suggestions. 1: your postfix machine is not technically using a proper internal IP address. 192.254 is outside of the reserved class C block. You should be on 192.168.x.x. I'm not saying you will have a problem with the subnet you are using, but I'm not saying you won't either. Of course, this probably means your entire network is on the wrong block. If you need larger space than Class C, use the Class B or Class A ranges instead. (172.16.x.x to 172.31.x.x for Class B or 10.x.x.x for Class A). Or of course, you could have very valid reasons for using the range you are using.

Also, put an entry into your OS 9 hosts file to convert your postfix IP to DNS. Some mail servers out there will consider the email to be spam if any mail servers in the chain are addressed via an IP address instead of by name. To do this just create a text file that has the DNS name you want to use (can be basically anything) followed by a space then the IP address of the server. Save that as plain text, then go into the OS 9 TCP/IP control panel open the Expert options (change your usermode), then click the Hosts button and point it to the text file you created. This will overwrite any existing hosts file you may have, so if you are already using one, just edit it directly, it is somewhere buried in the System Folder (it is just called Hosts, so look for that). You will need to stop and restart your TCP/IP to have it take effect, easiest is usually to just reboot. After doing the Hosts entry, change your Emailer account to use the DNS name instead of the IP address.

Or, you can check out the SMTP Auth hacked version of Emailer on my web site <http://www.mythtech.net/emailer> and see if you can use that against a regular mail server such as from your ISP to resume sending emails.

-chris
<www.mythtech.net>


___________________________________________________________________________
To unsubscribe send a mail message with a SUBJECT line of "unsubscribe" to
<[EMAIL PROTECTED]>  or  <[EMAIL PROTECTED]>

Reply via email to