-   Slackware (
-   -   Sendmail doubling sender domain- ex. (

halborr 08-22-2010 02:00 PM

Sendmail doubling sender domain- ex.
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 When it is received, the from field lists "". 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?

dive 08-22-2010 03:27 PM

What do you have in your /etc/hosts for this box?

halborr 08-22-2010 05:41 PM


# 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 <> says that
# should NEVER be named with the name of the machine.  It causes problems
# for some (stupid) programs, irc and reputedly talk. :^)

# For loopbacking.              localhost bilbo

# End of hosts.

dive 08-22-2010 05:47 PM

Maybe something in then?

halborr 08-22-2010 05:51 PM

So, possibly happy news, on a hunch I removed "" from the /etc/hosts file and it seems correct now! Will this configuration change mess with anything?

dive 08-22-2010 08:11 PM

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 to see if domain is set there too.

halborr 08-23-2010 08:12 AM

Alright. thanks!

bathory 08-23-2010 08:37 AM


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 like this:
Code: IN A
Or use the following that gives the same result:

bilbo IN A 192.1681.100

All times are GMT -5. The time now is 10:13 AM.