Sendmail appending Domain name .domain.com.domain.com to outgoing E-mails

Posted on 2005-03-31
Medium Priority
Last Modified: 2013-12-16
This is taken from the header when it is sent to my Outlook account.

To: wgallo@domain.com.domain.com

Also the only reason I was able to find this out was I finally added .domain.com to my SMTP address within AD users and computers on the Windows Domain account which enabled the E-mail to get through.

Question by:ITHCI
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3

Author Comment

ID: 13671627
Also I forgot to mention that I use the following command to send the mail.

 mail wgallo@domain.com -R user@domain.com

and then I will get a response or respond to as the follows.

Reply-To: user@domain.com.domain.com



Author Comment

ID: 13673086
Another instance of when I use mail and the -r switch to send on behalf of someone, Here I sent on behalf of user@domain.com

root@contact.domain.com; on behalf of; user@domain.com.domain.com
LVL 14

Accepted Solution

cjl7 earned 2000 total points
ID: 13679151

You need "MASQUERADE_AS(`host.domain')" and  FEATURE(`masquerade_envelope')

Have a look at http://www.sendmail.org/m4/masquerading_relaying.html


Author Comment

ID: 13680631
Thanks alot

Featured Post

7 Extremely Useful Linux Commands for Beginners

Just getting started with Linux? Here's a quick start guide that has 7 commands that we believe will come in handy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 13 hours left to enroll

800 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question