LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 09-15-2022, 11:27 AM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,612

Rep: Reputation: 180Reputation: 180
Received: from in mail header has wrong IP


I am sending email from novatec-inc.com, public IP 24.142.169.12. However, when I send an email from this host, the Received: header is:
Code:
From mfoley@novatec-inc.com  Thu Sep 15 12:15:40 2022
Return-Path: <mfoley@novatec-inc.com>
Received: from server (rrcs-24-142-169-10.central.biz.rr.com [24.142.169.10])
I've never seen this happen before. the .10 IP is a completely different computer with a completely different domain. How is an email from .12 getting sent with a Received: of .10?

I am using sendmail 8.15.2. There is no SMART_HOST specified in my .mc file. This IP is nowhere to be found on this host.

This is a new IP for this server. Previously it was on a dynamic IP.

Since getting the new IP I have been having multiple problems with email. I'm wondering if this funkiness in the Received: header could be part of the problem.

Is this something in some config on my end somewhere, or could there be a mess-up on the ISP's end?

How do I go about fixing this?
 
Old 09-15-2022, 04:58 PM   #2
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Rep: Reputation: 22
I had a similar problem a while back I battled for days trying to find the problem. Finally I did a grep on /etc and it was a damn typo in resolv.conf. It's hard to spot.
 
Old 09-16-2022, 02:31 PM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,612

Original Poster
Rep: Reputation: 180Reputation: 180
Although not originally related, this problem got solve in thread https://www.linuxquestions.org/quest...en-4175716742/. Similar to you. A combination between resolv.conf and rc.inet1.conf USE_DHCP. I'm not entirely sure about what actually caused it, but I did set settings in those file that untimately fixed it. In particular, I had to explicitly set USE_DHCP[0]="no" and make sure the resolv.conf nameservers stuck (they kept getting clobbered by dhcpd).
 
Old 09-16-2022, 02:33 PM   #4
baldur2630
Member
 
Registered: Jan 2007
Location: Belgium
Distribution: CentOS & Ubuntu
Posts: 173

Rep: Reputation: 22
Glad you found it.
 
  


Reply

Tags
sendmail



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
Cannot get past GDISK- Caution: Invalid backup GPT header, but valid main header, regenerating backup header from main header. murde Linux - Newbie 2 05-30-2020 08:23 PM
Wrong 'From' address on mail received from sendmail pioniere Linux - General 2 05-21-2004 03:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:24 PM.

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