Unix Technical Forum

SEO

vBulletin Search Engine Optimization


Go Back   Unix Technical Forum > Unix Operating Systems > Sco Unix

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-15-2008, 06:34 PM
Brian Keener
 
Posts: n/a
Default As my customer says it is an odd problem - is it DST, DNS or what? (long)

Well maybe the subject got your attention but here is the problem as my
customer reported it and my apologies for the length. First some information
exaplanation and then I can tie it all together. I have a customer on a 5.0.7
and to my knowledge they do not have MP5 installed and we were not concerned
with the dates last year so in preparation for DST we simply changed the
/etc/TIMEZONE file as described in this group. Old line in this file was:

TZ='EST5EDT'

now

TZ='EST5EDT,M3.2.0/2,M11.1.0/2'

We then rebooted and logged on and checked the Environment and TZ was set to
the new form. System did change time on Sunday as expected.

This customer also has a process on their 5.0.7 system in their accounting
package where at a customers request they will Email them a copy of an invoice.
5.0.7 is using sendmail but while we are sending it out from the SCO machine
the actual from and the reply to email is set to an info@customer.com account
(which is an email account they have set up on ther outside world email
system). The SCO machine has no other email function than standard system mail
and then these outbound invoices. This works well most of the time but
occassionally they will get some bad address or for some reason undelivered
returns. I will post on this in another post with some examples.

While researching this I could find no reason for these sporadic failures but
the customer mentioned a while back they had had to change to the Bellsouth DNS
servers on their windows system (which is the main connection plus a router and
DSL modem) to the outside world). So in keeping in line we changed the
Bellsouth DNS server IPs in the SCO 5.0.7 /etc/resolv.conf file.

Now to tie this all together. They retrieve several files daily from the SCO
Machine to a Windows machine via and ftp script using Windows ftp. They did
this last on Thursday afternoon of last week. I made the change for the DNS
IPs in /etc/resolv.conf on Thrusday Night and they changed the /etc/TIMEZONE
and rebooted early Friday Morning. The IT type on site is the only one with an
ethernet connection (besides on demand inbound VPN connections through a
windows machine) and all others are Serial through a Digi. Since these two
events the FTP process has failed to function and telnet attempts to get a
login are taking an unusually long time. I have connected via VPN and have
noticed the long times from point of attach (Tiny Term) to a login prompt and
attempting to use his ftp script or manually connect via windows ftp have
failed. The best I have achieved is by using Cygwin FTP and it takes a long
time but does connect and if I use sftp it connects quit quickly. It also
seems using ssh to connect vs telnet is quicker as well although not as
noticable as the sftp vs ftp.

Since then in an attempt to diagnose on the SCO machine I put the original two
DNS servers back in the /etc/resolv.conf file but that has not helped. Pings
on the four different BellSouth DNS servers we had showed the response time
from the first two was much almost instantaneous vs the two they had me change
to which is why we tried all 4 but with the originals listed first. Last night
I removed the two new ones leaving just the originals and advised client a
reboot might again be in order.

I see no reason that either of these above should affect the login or the ftp
procedure but I am at a loss to come up with any other explanation. I thought
at one point maybe the TZ expansion was causing an issue when the environment
was being established for login but.... wouldn't something like that affect the
serial connections as well as the network.

Any thoughts - anyone seen anything like this. Thanks to all in advance.

bk

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-15-2008, 06:34 PM
Bill Vermillion
 
Posts: n/a
Default Re: As my customer says it is an odd problem - is it DST, DNS or what? (long)

In article <VA.0000154e.00aa9ca2@thesoftwaresource.com>,
Brian Keener <bkeener@thesoftwaresource.com> wrote:

[much deleted only down to pertinent points - wjv]

>This customer also has a process on their 5.0.7 system in their
>accounting package where at a customers request they will Email
>them a copy of an invoice. 5.0.7 is using sendmail but while we
>are sending it out from the SCO machine the actual from and the
>reply to email is set to an info@customer.com account (which
>is an email account they have set up on ther outside world
>email system). The SCO machine has no other email function than
>standard system mail and then these outbound invoices. This
>works well most of the time but occassionally they will get some
>bad address or for some reason undelivered returns. I will post
>on this in another post with some examples.


The returned mail should have a great deal of info that you can use
to diagnose the problem. Without seeing the error messages you can
tear your hair out trying to figure out the problem. [I go through
this quite often maintaining emails for an ISP and also for a few
outside machines]

Some places will refuse email if they can not resolve the machine's
name given in the mail vs the IP it came from and can reject it or
treat it as a forged address.

>While researching this I could find no reason for these sporadic
>failures but the customer mentioned a while back they had had
>to change to the Bellsouth DNS servers on their windows system
>(which is the main connection plus a router and DSL modem) to the
>outside world). So in keeping in line we changed the Bellsouth
>DNS server IPs in the SCO 5.0.7 /etc/resolv.conf file.


>Now to tie this all together. They retrieve several files daily
>from the SCO Machine to a Windows machine via and ftp script
>using Windows ftp. They did this last on Thursday afternoon of
>last week. I made the change for the DNS IPs in /etc/resolv.conf
>on Thrusday Night and they changed the /etc/TIMEZONE and rebooted
>early Friday Morning. The IT type on site is the only one with an
>ethernet connection (besides on demand inbound VPN connections
>through a windows machine) and all others are Serial through
>a Digi. Since these two events the FTP process has failed to
>function and telnet attempts to get a login are taking an
>unusually long time. I have connected via VPN and have noticed
>the long times from point of attach (Tiny Term) to a login prompt
>and attempting to use his ftp script or manually connect via
>windows ftp have failed. The best I have achieved is by using
>Cygwin FTP and it takes a long time but does connect and if I use
>sftp it connects quit quickly. It also seems using ssh to connect
>vs telnet is quicker as well although not as noticable as the
>sftp vs ftp.


It depends on the FTP package but many will totally refuse
connections if they can not resolve the name/IP combination from
the incoming IP address. I used to see this problem when I was
on an IP from an ISP that would give me IP addresses anywhere in
two differernt /24 blocks. The cure to make things go fast
was to add all the IP/name combinations to the /etc/hosts. And I
had this problem connecting to machines at the ISP I maintain so I
put those IP/name combinations in the /etc/hosts there too, and
connections went from as long as 2 minutes to almost instantly.

I suspect you have DNS problems. Will the machines resolve
correctly on both side from the DNS you are using. If not try
adding things to /etc/hosts. Messy but it works. I beleive it
is lmhosts in MS [at least it used to be].

>Since then in an attempt to diagnose on the SCO machine I put the
>original two DNS servers back in the /etc/resolv.conf file but
>that has not helped.


It's the machine you are connecting to that needs to be able to
resolve the name/address combination from the incoming IP it sees.

>Pings on the four different BellSouth DNS servers we had
>showed the response time from the first two was much almost
>instantaneous vs the two they had me change to which is why we
>tried all 4 but with the originals listed first. Last night I
>removed the two new ones leaving just the originals and advised
>client a reboot might again be in order.


Pings are usually only good for checking connectivity - unless some
un-informed but well-meaning admin has blocked all ICMP messages -
which I see far too often.

And you really don't need to reboot. Just restart the TCP
services. It saves a lot of time and keeps customers happy as
their machines don't go down.

>I see no reason that either of these above should affect the
>login or the ftp procedure but I am at a loss to come up with any
>other explanation. I thought at one point maybe the TZ expansion
>was causing an issue when the environment was being established
>for login but.... wouldn't something like that affect the serial
>connections as well as the network.


>Any thoughts - anyone seen anything like this. Thanks to all in
>advance.


Again - both machines must be able to resolve and I suspect that if
you check on the target machine it won't resolve the SCO machine -
or vice-versa if the connection is going the other way.

Bill

--
Bill Vermillion - bv @ wjv . com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-15-2008, 06:34 PM
Brian Keener
 
Posts: n/a
Default Re: As my customer says it is an odd problem - is it DST, DNS or what? (long)

Bill Vermillion wrote:
> The returned mail should have a great deal of info that you can use
> to diagnose the problem. *Without seeing the error messages you can
> tear your hair out trying to figure out the problem. [I go through
> this quite often maintaining emails for an ISP and also for a few
> outside machines]


Trying to gather some sample of the failures now. Should be easy right now to
check his connection and DNS since the guy withthe ftp is the only ethernet
besides the inbound vpn though a windows machine. Right now its his local
ethernet I am concerned with - we'll just make sure name/ip address
combinations for his and the sco machine are in each hosts file.

Once again thanks for all the input.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-15-2008, 06:34 PM
Brian Keener
 
Posts: n/a
Default Re: As my customer says it is an odd problem - is it DST, DNS or what? (long)

Bill Vermillion wrote:
> The returned mail should have a great deal of info that you can use
> to diagnose the problem. *Without seeing the error messages you can
> tear your hair out trying to figure out the problem.


Bill,

As to the issue with the telnet becoming slow and ftp failing - we added and or
verified the ip addresses and names of the workstation(s) and the sco machine
and that they existed in the respective hosts files. Client reported the
telnet sessions are back to the connect/login speed they were at previously and
while ftp connects are still a little slow it is functioning and so they're not
complaining.

As to my mention as well about the email issues and returned mail I almost
forgot I intended to follow up on this until today. One returned mail example
they sent me looked like this - in the below example the x and y's are my
custopmers system and their SCO machine is set up as the .local - the .com
addresses are the outside world which actually goes to an ISP - the
cst@customercompany is their client they were trying to email to.

**********************

From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System" <mmdf@yyyyyyyyyyyyy.com>
To: <xxxx@yyyyyyyyyyyyy.com>
Subject: Failed mail *(msg.aa28987)
Date: Tue, 6 Mar 2007 15:37:12 -0500

Your message could not be delivered to
'cst@customercompany.org (host: customercompany.org) (queue: smtp)'
for the following reason:
Remote host responded: *5.7.1 <cst@customercompany.org>... Relaying denied.
Proper authentication required.

****Your message follows:

To: cst@customercompany.org
From: xxxx@xxxxsco.yyyyyyyyyyyyy.local
Subject: INVOICE
Reply-To: xxxx@xxxxsco.yyyyyyyyyyyyy.local
Content-Type: text/html
Date: Tue, 6 Mar 2007 15:36:39 -0500 (EST)
Sender: xxxx@xxxxsco.yyyyyyyyyyyyy.local
Message-ID: *<200703061536.aa28987@xxxxsco.yyyyyyyyyyyyy.local >

*********************

Another example similar to this I found in root's mailbox on their system was
like the following. I add this one because of the orphanage in the header - no
clue what that is and because this one was on their sco machine and the
previous actually came back to the xxxx@yyyyyyyyyyyyy.com account at the ISP
but I could not find it in roots mailbox.

*************************

From root Tue Feb 6 15:00:31 2007
Date: Tue, 6 Feb 2007 15:00:31 -0500 (EST)
From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System"
<mmdf@xxxxsco.yyyyyyyyyyyyy.local>
Sender: root@xxxxsco.yyyyyyyyyyyyy.local
Subject: Failed mail (msg.aa25635)
To: Orphanage <root@xxxxsco.yyyyyyyyyyyyy.local>
Message-ID: <200702061500.aa25644@xxxxsco.yyyyyyyyyyyyy.loca l>
MIME-Version: 1.0
Status: RO

Your message could not be delivered to
'frank@anaccountoftheirsxxx.net (host: anaccountoftheirsxxx.net) (queue: smtp)'
for the following reason:
Remote host responded: 5.7.1 Unable to relay for
frank@anaccountoftheirsxxx.net

*************************

Another form of failures that I have seen I actually located in roots mailbox
on the SCO machine and those reference alias failures as follows - in the
following the info@yyyyyyyyyyyyy.com is the address they have setup on their
ISP for if the customer tries to reply then it will go to that address - there
is no alias file on their system (as I recall).

****************

From root Wed Jan 31 13:18:29 2007
Date: Wed, 31 Jan 2007 13:18:29 -0500 (EST)
From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System"
<root@xxxxsco.yyyyyyyyyyyyy.local>
Subject: Bad address in alias
To: root@xxxxsco.yyyyyyyyyyyyy.local
Message-ID: <200701311318.aa09336@xxxxsco.yyyyyyyyyyyyy.loca l>
MIME-Version: 1.0
Status: O

Found bad address in alias 'xxxx'.
The alias was 'info@yyyyyyyyyyyyy.com'.

There were problems with:
info@yyyyyyyyyyyyy.com

The remaining addresses in the alias were used for submission.

**************

Any thoughts on this - I'm sure I either have something setup wrong or they
just have a flaky connection.

thanks for all the assistance

bk

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-15-2008, 06:34 PM
Bill Vermillion
 
Posts: n/a
Default Re: As my customer says it is an odd problem - is it DST, DNS or what? (long)

In article <VA.00001562.01226212@thesoftwaresource.com>,
Brian Keener <bkeenerReMoVeAnTiSpAm@thesoftwaresource.com> wrote:
>Bill Vermillion wrote:
>> The returned mail should have a great deal of info that you can use
>> to diagnose the problem. *Without seeing the error messages you can
>> tear your hair out trying to figure out the problem.

>
>Bill,
>
>As to the issue with the telnet becoming slow and ftp failing - we added and or
>verified the ip addresses and names of the workstation(s) and the sco machine
>and that they existed in the respective hosts files. Client reported the
>telnet sessions are back to the connect/login speed they were at previously and
>while ftp connects are still a little slow it is functioning and so they're not
>complaining.
>
>As to my mention as well about the email issues and returned mail I almost
>forgot I intended to follow up on this until today. One returned mail example
>they sent me looked like this - in the below example the x and y's are my
>custopmers system and their SCO machine is set up as the .local - the .com
>addresses are the outside world which actually goes to an ISP - the
>cst@customercompany is their client they were trying to email to.
>
>**********************
>
>From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System" <mmdf@yyyyyyyyyyyyy.com>
>To: <xxxx@yyyyyyyyyyyyy.com>
>Subject: Failed mail *(msg.aa28987)
>Date: Tue, 6 Mar 2007 15:37:12 -0500
>
>Your message could not be delivered to
>'cst@customercompany.org (host: customercompany.org) (queue: smtp)'
>for the following reason:
>Remote host responded: *5.7.1 <cst@customercompany.org>... Relaying denied.
>Proper authentication required.
>
>****Your message follows:
>
>To: cst@customercompany.org
>From: xxxx@xxxxsco.yyyyyyyyyyyyy.local
>Subject: INVOICE
>Reply-To: xxxx@xxxxsco.yyyyyyyyyyyyy.local
>Content-Type: text/html
>Date: Tue, 6 Mar 2007 15:36:39 -0500 (EST)
>Sender: xxxx@xxxxsco.yyyyyyyyyyyyy.local
>Message-ID: *<200703061536.aa28987@xxxxsco.yyyyyyyyyyyyy.local >
>
>*********************
>
>Another example similar to this I found in root's mailbox on their system was
>like the following. I add this one because of the orphanage in the header - no
>clue what that is and because this one was on their sco machine and the
>previous actually came back to the xxxx@yyyyyyyyyyyyy.com account at the ISP
>but I could not find it in roots mailbox.
>
>*************************
>
>From root Tue Feb 6 15:00:31 2007
>Date: Tue, 6 Feb 2007 15:00:31 -0500 (EST)
>From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System"
><mmdf@xxxxsco.yyyyyyyyyyyyy.local>
>Sender: root@xxxxsco.yyyyyyyyyyyyy.local
>Subject: Failed mail (msg.aa25635)
>To: Orphanage <root@xxxxsco.yyyyyyyyyyyyy.local>
>Message-ID: <200702061500.aa25644@xxxxsco.yyyyyyyyyyyyy.loca l>
>MIME-Version: 1.0
>Status: RO
>
>Your message could not be delivered to
>'frank@anaccountoftheirsxxx.net (host: anaccountoftheirsxxx.net) (queue: smtp)'
>for the following reason:
>Remote host responded: 5.7.1 Unable to relay for
>frank@anaccountoftheirsxxx.net
>
>*************************
>
>Another form of failures that I have seen I actually located in roots mailbox
>on the SCO machine and those reference alias failures as follows - in the
>following the info@yyyyyyyyyyyyy.com is the address they have setup on their
>ISP for if the customer tries to reply then it will go to that address - there
>is no alias file on their system (as I recall).
>
>****************
>
>From root Wed Jan 31 13:18:29 2007
>Date: Wed, 31 Jan 2007 13:18:29 -0500 (EST)
>From: "xxxxsco.yyyyyyyyyyyyy.local MMDF Mail System"
><root@xxxxsco.yyyyyyyyyyyyy.local>
>Subject: Bad address in alias
>To: root@xxxxsco.yyyyyyyyyyyyy.local
>Message-ID: <200701311318.aa09336@xxxxsco.yyyyyyyyyyyyy.loca l>
>MIME-Version: 1.0
>Status: O
>
>Found bad address in alias 'xxxx'.
>The alias was 'info@yyyyyyyyyyyyy.com'.
>
>There were problems with:
>info@yyyyyyyyyyyyy.com
>
>The remaining addresses in the alias were used for submission.
>
>**************
>
>Any thoughts on this - I'm sure I either have something setup wrong or they
>just have a flaky connection.


>thanks for all the assistance


It seems lately I've been living in sendmail as a client was
getting refused on EVERTHING with an error message something
like "content is SPAM" when it could only be 2 or 3 lines of text.

Took about 10 days and talking to more than one admin to get things
straightened out.

But - since you have obfuscated the names/domains of the
above all I can do is give you places to look.

If the SCO machine is supposed to be accepting mail for more
than one domain name you need to see if all the domain names,
including 'localhost'. The stock sendmail uses
the line Fw-o /etc/mail/local-host-names to point to
that file. Check your sendmail.cf for the exact name as I don't
have access to an SCO system at the moment.

As to relaying denied your obfuscation doesn't indicated whether
that is a local machine or a remote machine.

If the denied is for a machine on your local network, perhaps with
a different domain name, and the SCO system is being used to send
all the mail outbound, or you are permitting outside hosts
to send mail through your system then you have to add those
domains to the relay-domains file in /etc/mail

Look in your sendmail.cf file for the variable FR.
The line will look like FR-o /etc/mail/relay-domains.

I'm running sendmail 8.13.8 on about 8 different machines, and I
don't know the current version on SCO, but these changes do go back
quite aways.

Do not be afraid to edit those lines in the sendmail.cf, as in that
area of the file you can edit them without rebuilding the
sendmail.cf.

But it would have helped a lot more if for your obfuscated names
you indicated if they were the local SCO machine, machines on
your local LAN, machines you allow to use your mail server,
or machines you have no control over.

If the 'relaying denied' is coming from the far machine, the
information you gave was not enough to determine the problem.

It could be that you are being denied relaying because your
IP is in some RBL [Real-time Blackhole List] - and there are
several out there that are poorly maintained and will block HUGE
hunks of IP space when one person in a block sends spam.

They also tend to block IPs from DSLs that show the providers given
name for the IP and not yours.

Lots of luck.

Bill

--
Bill Vermillion - bv @ wjv . com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 02-15-2008, 06:34 PM
Brian Keener
 
Posts: n/a
Default Re: As my customer says it is an odd problem - is it DST, DNS or what? (long)

Bill Vermillion wrote:
> But it would have helped a lot more if for your obfuscated names
> you indicated if they were the local SCO machine, machines on
> your local LAN, machines you allow to use your mail server,
> or machines you have no control over.


the only local machine is the yyyyyy.local and all the yyyyy.com is there
domain provided by the ISP. All other systems would be external. The .local
machine is only an outbound which is why the reply to and from are achanged by
sendmail to the yyyy.com address thus allowing the my customers clients to
reply for some reason without getting a bounce back or invalid address.

Hope this clarifies it some.

bk

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:43 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
UnixAdminTalk.com

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637