Sendmail fails receiving mail since the IP changed on Redhat Server

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Sendmail fails receiving mail since the IP changed on Redhat Server
# 1  
Old 09-25-2009
Sendmail fails receiving mail since the IP changed on Redhat Server

Hi,

Since i move my Linux Redhat server on another Network with new IP address. WE'RE ABLE TO SEND MAIL OUTSIDE BUT we can not receive any incoming mail. It alway points to the old IP. I updated new IP in /etc/hosts and /etc/sysconfig/network then reboot the system. 10.117.32.20 is an old ip and server3 is the hostname and we use the same hostname on new machine.

Here is the errors that i'm getting form SMPT to my inbox:

ATT1280135.txt
<gen@server3.agr.gc.ca>: delivery temporarily suspended: connect to
10.117.32.20[10.117.32.20]: Operation timed out

Delivery.txt
Reporting-MTA: dns; agrpazsmtp7.agr.gc.ca
X-BorderWare-Security-Platform-Queue-ID: ACE19A4FD1E2B8C3
X-BorderWare-Security-Platform-Sender: rfc822; La.Mounarath@AGR.GC.CA
Arrival-Date: Thu, 24 Sep 2009 16:16:35 -0400 (EDT)
Final-Recipient: rfc822; gen@server3.agr.gc.ca
Action: delayed
Status: 4.0.0
Diagnostic-Code: X-BorderWare-Security-Platform; delivery temporarily
suspended: connect to 10.117.32.20[10.117.32.20]: Operation timed out
Will-Retry-Until: Tue, 29 Sep 2009 16:16:35 -0400 (EDT)
---

undeliver.txt:
Received: from onottaxsmtp1.AGR.GC.CA (unknown [10.117.12.121])
by agrpazsmtp7.agr.gc.ca (BorderWare Security Platform) with ESMTP id ACE19A4FD1E2B8C3
for <gen@server3.agr.gc.ca>; Thu, 24 Sep 2009 16:16:35 -0400 (EDT)
Received: from onottaxms3.AGR.GC.CA ([10.117.12.103]) by onottaxsmtp1.AGR.GC.CA with Microsoft SMTPSVC(6.0.3790.3959);
Thu, 24 Sep 2009 16:16:35 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
boundary=---_=extPart_001_01CA3D53.EA69C94A"
Subject: from LA MOUNARATH
Date: Thu, 24 Sep 2009 16:16:34 -0400
Message-ID: <AB06C66210EAF54F8C30FA8040AE684301BC...xms3.AGR.GC.CA>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: from LA MOUNARATH
Thread-Index: Aco9U+nGEcKAJmdySMSd7je4ymELjA=
From: "Mounarath, La" <La.Mounarath@AGR.GC.CA>
To: <gen@server3.agr.gc.ca>
X-OriginalArrivalTime: 24 Sep 2009 20:16:35.0370 (UTC) FILETIME=A2A48A0:01CA3D53]

I wonder if i need to reconfigure the senmail.cf file to update the ip or something....

Your help is greatly appreciate!

Thanks in advance,

La
# 2  
Old 09-25-2009
MX record

Have you changed MX also pointing to new IP ... also check from other places if MX is reflected

---------- Post updated at 05:36 AM ---------- Previous update was at 05:32 AM ----------

Can you verify is this right ?
Code:
$ dig AGR.GC.CA MX

; <<>> DiG 9.4.2-P2 <<>> AGR.GC.CA MX
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 13507
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3

;; QUESTION SECTION:
;AGR.GC.CA.                     IN      MX

;; ANSWER SECTION:
AGR.GC.CA.              10800   IN      MX      9 agrpazsmtp7.AGR.GC.CA.
AGR.GC.CA.              10800   IN      MX      9 agrpazsmtp8.AGR.GC.CA.

;; AUTHORITY SECTION:
AGR.GC.CA.              10754   IN      NS      agroutdns1.AGR.GC.CA.
AGR.GC.CA.              10754   IN      NS      relay.srv.GC.CA.

;; ADDITIONAL SECTION:
agrpazsmtp7.AGR.GC.CA.  10800   IN      A       192.197.71.118
agrpazsmtp8.AGR.GC.CA.  10800   IN      A       192.197.71.119
agroutdns1.AGR.GC.CA.   10754   IN      A       192.197.71.131

;; Query time: 139 msec

# 3  
Old 09-25-2009
Hi,

No, where to change this file?
# 4  
Old 09-26-2009
Quote:
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 2, ADDITIONAL: 3
Humm, this is a cached answer and not an authoritative answer (no aa flag). Maybe the change has not yet propogated for some reason.

Quote:
where to change this file?
You need to talk to whoever manages the DNS records for AGR.GC.CA
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Sendmail Fails to send emails from Linux server.

I m using free zoho mail client application (similar to microsoft outlook) on my mobile for all my emails to mohtashim@techx.com I wish to only recieve emails from my Linux Server details of which are: techx 3.10.0-514.10.2.el7.x86_64 #1 SMP CentOS release 7.3.1611 (Core). I try the below... (20 Replies)
Discussion started by: mohtashims
20 Replies

2. Red Hat

unable to send mail from redhat linux server

While sending mail from linux server we observed below logs, stat=Deferred: Name server: xxxxxxxxxx.: host name lookup failure Kindly suggest what we need to change? Thanks in Advance (2 Replies)
Discussion started by: hydoss1
2 Replies

3. Shell Programming and Scripting

mail is not receiving from the server

Dear All, I am using CentOS release 5.5 (Final).I want to monitoring the system activity through mail.But the <code>mail -s "Subject" user1@domain.com</code> is not working from the server.could you help me the procedure to generate mail from the server. (2 Replies)
Discussion started by: kpoobathi
2 Replies

4. Red Hat

Send mail from redhat box to exchange server

we have an exchange server in company as excmailbocx.company.com i wanna send mail using sendmail from redhat to my exchange mail account how can it be possible? (1 Reply)
Discussion started by: oguzhantrg
1 Replies

5. UNIX for Dummies Questions & Answers

run a perl.script upon receiving an email in Sendmail

Hi All I am newbie with Sendmail and Linux in general. We use sendmail for outgoing and incoming mails. Once our server receives a certain email xxx@yyy.com we would like to run a PERL script doing some task wiht it. Can you address me a little bit on that topic? In order to do that the... (0 Replies)
Discussion started by: manustone
0 Replies

6. Red Hat

redhat linux mail server problem

we are using redhat linux,configured the postfix as mail server and outlook is used as mail client.whenever the user opens outlook it is start downloading all the mails from the server. Example : If a user has 50 mails in the server,whenever he opens the outlook the outlook will start... (0 Replies)
Discussion started by: ramjimh2k3
0 Replies

7. Solaris

sendmail mail server help

Hello guys, Am trying to enable/start sendmail in Solaris 10. I tried using scvadm and also did it using the /etc/init.d/sendmail restart but no effect. Just returns to the prompt. No errors nothing. I checked if it is running using ps -eaf | grep sendmail, not running :( . I checked the logs... (9 Replies)
Discussion started by: rcmrulzz
9 Replies

8. UNIX for Advanced & Expert Users

Receiving mail in Unix

I have 2 problems with my mail on Unix.. 1- I have accounts on 2 different unix boxes, one running Sun Solaris and other is a version of Linux. When I receive email on those machines, on one the email arrives in my /var/mail/USERNAME; whereas on the other box the email is delivered to... (4 Replies)
Discussion started by: milhan
4 Replies

9. AIX

sendmail.cf needs to point to mail server

I have a vanilla install of AIX 5L and I am unable to send outbound email to our email server. I figure the pointer must be some where in the /etc/mail/sendmail.cf file. Does anyone have any idea which section needs to modified to point to the mail server or mail relay? Currently all message bouced... (2 Replies)
Discussion started by: justinburbridge
2 Replies

10. Shell Programming and Scripting

Check sendmail is not receiving any emails

Hi all, Need some advise again. I am new to sendmail service which is already configured by some other administrators. I would need to write a script to check whether sendmail service is enabled in Solaris and Linux. Using this command "ps -ef | grep sendmail | grep -v grep". Or is there... (6 Replies)
Discussion started by: Kinki
6 Replies
Login or Register to Ask a Question