LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-01-2010, 05:06 PM   #1
EnderX
Member
 
Registered: Nov 2006
Posts: 66

Rep: Reputation: 15
Believe code environment has changed - request information on new error.


I was working recently on a perl program on our ftp server (box is running SuSE, I belive v9.3) designed to email a warning if the mountpoint to our backup machine could not be mounted. A couple of other programs, month-end critical, took me away from that for a while. I got back to it today, only to discover that I cannot even send the messages anymore (before, I could send, but I was having trouble interpreting the results I was sending).

The program is using MIME::Lite for its mailsending function. The actual error message I am receiving is
Code:
Failed to connect to mail server: Invalid argument at ./organize_bks_2 line 174
The line in question is the actual $msg->send command.

I have good reason to believe that the environment for this has changed; during the time I was working on other projects, our office phone setup was replaced and refined with an ethernet-connected setup installed by the company that provides our mailing services (and presumably network services in general, although I do not know this for a fact). I know that we were having email troubles with some of our month-end scripts after that, which required our main server's DNS values to be changed...but those errors were not the same as the one I am getting on this machine.

Is this simply going to be as easy as changing the DNS settings on our FTP box, and if not, where is the best place to start digging for more information?
 
Old 02-01-2010, 05:43 PM   #2
rweaver
Senior Member
 
Registered: Dec 2008
Location: Louisville, OH
Distribution: Debian, CentOS, Slackware, RHEL, Gentoo
Posts: 1,833

Rep: Reputation: 167Reputation: 167
It sounds like the issue you're having is that you're unable to connect to the mailserver by name. Have you tried pinging the mailserver by name from the server to see if the dns is functional? If you can't ping it by name how about ip address?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
request for pointers to information senjak Linux - Hardware 1 11-05-2009 07:55 AM
How convert XML to UML - Request for information dayalan_cse Linux - Enterprise 0 06-23-2009 07:25 AM
Request for Information - wrt unique File Format type pscanuck Linux - General 1 02-21-2006 03:49 PM
request for certification information bhaskark Linux - Certification 1 05-11-2005 11:08 PM
calendar-related code snippet request Citizen Bleys Programming 2 12-11-2001 01:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration