sendmail adds receipient's domain *twice* to e-mail address

SUOrangeman

Diamond Member
Oct 12, 1999
8,361
0
0

This is my first SMTP server, so bear with me.

sendmail has no problems with local accounts on a fresh RedHat 7.2 install. However, e-mails to user@mail.domain.net end up being addressed to user@mail.domain.net.domain.net (which is 99.99% not likely to exist). I've looked at /etc/sendmain.cf, but have no clue which setting prevents the domain to be added even if one is already present. A few Google hits on the matter haven't cleared this up for me.

Any clues?

-SUO
 

Chaotic42

Lifer
Jun 15, 2001
33,929
1,097
126
I'll take a blind shot here as I use PostFix....

It sends out steve@bob.computer.net.computer.net right? Do you have an option set to add the domain name to the "bob" part, and mistakenly have the part that should just be "bob" set to "bob.computer.net"?

See what I mean?

A+B=C
A should be Bob
B should be computer.net

Is A=Bob.computer.net?

Man I need to learn how to word things more efficiently!
 

SUOrangeman

Diamond Member
Oct 12, 1999
8,361
0
0
I do know that DNS is working properly on this box. The double domain thing is happening on external addresses. I spoke with someone who stated that this is a known configuration issue. Hopefully, I'll try out some of the tips here when I get back to the office tomorrow.

Thanks all.

-SUO