LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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, 02: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 02:04 PM.
 
Old 08-22-2010, 03:27 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
What do you have in your /etc/hosts for this box?
 
Old 08-22-2010, 05: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, 05:47 PM   #4
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

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

Last edited by dive; 08-22-2010 at 08:09 PM.
 
Old 08-22-2010, 05: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, 08:11 PM   #6
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,211

Rep: Reputation: 292Reputation: 292Reputation: 292
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, 08:12 AM   #7
halborr
Member
 
Registered: Aug 2009
Posts: 112

Original Poster
Rep: Reputation: 18
Alright. thanks!
 
Old 08-23-2010, 08:37 AM   #8
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,938

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


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration