LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-22-2010, 03:00 PM   #1
halborr
Member
 
Registered: Aug 2009
Posts: 112

Rep: Reputation: 18
Sendmail doubling sender domain- ex. hostname.domain.net.domain.net


I wasn't sure whether to post this in slackware or servers, but this is a personal project so I figured this would be better.

A forward note: I haven't been able to send mail outside the LAN yet because apparently my DNS is taking a really long time to update. All things mentioned in this post are on the local machine unless otherwise stated.

Slackware 12.2

Ok, now on to the interesting part. When I send mail from one user to another, (using the mail program... proof-of-concept type stuff) I send it to user@domain.net. When it is received, the from field lists "sender@hostname.domain.net.domain.net". I'm sure I have something configured wrong somewhere, but I have no idea where.

It works, but it's... weird. Anyone have any inkling what's going on?

If you want to see any config files, just ask.

EDIT: on second thought, might it be a DNS configuration error as well, even though it's entirely on the local machine?

Last edited by halborr; 08-22-2010 at 03:04 PM.
 
Old 08-22-2010, 04:27 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
What do you have in your /etc/hosts for this box?
 
Old 08-22-2010, 06:41 PM   #3
halborr
Member
 
Registered: Aug 2009
Posts: 112

Original Poster
Rep: Reputation: 18
Code:
#
# hosts         This file describes a number of hostname-to-address
#               mappings for the TCP/IP subsystem.  It is mostly
#               used at boot time, when no name servers are running.
#               On small systems, this file can be used instead of a
#               "named" name server.  Just add the names, addresses
#               and any aliases to this file...
#
# By the way, Arnt Gulbrandsen <agulbra@nvg.unit.no> says that 127.0.0.1
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)
#

# For loopbacking.
127.0.0.1               localhost
192.168.1.100           bilbo.plrr.net bilbo

# End of hosts.
 
Old 08-22-2010, 06:47 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Maybe something in sendmail.cf then?

Last edited by dive; 08-22-2010 at 09:09 PM.
 
Old 08-22-2010, 06:51 PM   #5
halborr
Member
 
Registered: Aug 2009
Posts: 112

Original Poster
Rep: Reputation: 18
So, possibly happy news, on a hunch I removed "bilbo.plrr.net" from the /etc/hosts file and it seems correct now! Will this configuration change mess with anything?
 
Old 08-22-2010, 09:11 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Not sure if it will affect anything. For what it's worth I have always had the domain names in my hosts the same as you had but didn't get it doubled. I would still check sendmail.cf to see if domain is set there too.
 
Old 08-23-2010, 09:12 AM   #7
halborr
Member
 
Registered: Aug 2009
Posts: 112

Original Poster
Rep: Reputation: 18
Alright. thanks!
 
Old 08-23-2010, 09:37 AM   #8
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,214
Blog Entries: 1

Rep: Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067Reputation: 2067
Hi,

This looks like a dns configuration error.
I guess you miss the trailing dot in the A (or CNAME) record of your host. Post the zone file here, or check it to see if you have a dot after bilbo.plrr.net like this:
Code:
bilbo.plrr.net. IN A 192.168.1.100
Or use the following that gives the same result:
Code:
bilbo IN A 192.1681.100
Regards
 
  


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
sendmail domain of sender does not exist paulbond Linux - Networking 3 06-15-2009 09:19 AM
Old sendmail with scalix failed for sender domain saavik Linux - Server 0 08-28-2007 05:59 AM
Sendmail - wrong mail sender domain display jika Linux - Newbie 1 05-27-2005 03:29 AM
Sendmail: Domain of sender address does not exist 360 Linux - Networking 1 02-02-2003 09:40 PM
Sendmail Domain of sender address does not exist mantiev Linux - Networking 0 05-08-2001 08:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:23 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