![]() |
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? |
What do you have in your /etc/hosts for this box?
|
Code:
# |
Maybe something in sendmail.cf then?
|
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?
|
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.
|
Alright. thanks!
|
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.100Code:
bilbo IN A 192.1681.100 |
| All times are GMT -5. The time now is 01:44 AM. |