Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Sendmail User unknown

Status
Not open for further replies.

JJL79

IS-IT--Management
Oct 11, 2004
15
SE
Hi!

I have RH 9.0 and sendmail installed. I have sendmail to send logs generated by other application. I can send to anything but my own domain. We have our mail at our ISP so we dont use sendmail for anything else. These are the things i have configured:
sendmail.mc
define(`SMART_HOST',`myrelay.com')
MASQUERADE_AS(`mydomain.com')dnl
FEATURE(masquerade_envelope)dnl
FEATURE(masquerade_entire_domain)dnl
MASQUERADE_DOMAIN(mydomain.com)dnl
MASQUERADE_DOMAIN(localhost)dnl
MASQUERADE_DOMAIN(localdomain)dnl

but this still did not work until i added this in sendmail.cf

Djmydomain.com

(Where can i add Djmydomain.com in sendmail.mc so i dont have to add this manually after every m4 i run?)
 
as far as i am aware you must put in a resolvable domain name here - you can't just make one up!?


Kind Regards
Duncan
 
But i have. The ones i wrote was just examples.
 
Cant anyone tell me how to send mails to same domain without having the users in linux?
 
Can someone please help me? Do i need to give you more information to be able to help me?
 
I had DHmyrelay.com already but forgot to tell about it. Sorry that does not do it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top