When I send email through sendmail, by using a command such as:
Code:
echo "test" | mail test@gmail.com
This appears in email source:
Quote:
Received: from mydomain.com (localhost.localdomain [127.0.0.1])
Received: (from root@localhost)
|
How can I prevent this? Ideally it would display:
Quote:
Received: from mydomain.com (mydomain.com [server IP])
Received: (from root@mydomain.com)
|
I've tried playing around with the sendmail.mc file, but nothing seems to work.
Thanks.