My requirement is a bit different actually. I want to use uk.dev1.com as well as hydlmuk.com. In fact I will be creating one more domain called "uk.crp1.com" and would send mail from all of these domains at the same time. -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Michael Velez Sent: Thursday, October 27, 2005 10:48 PM To: 'General Red Hat Linux discussion list' Subject: RE: senamil with two domains -----Original Message----- From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx] On Behalf Of Nagarjuna Rao Cherukuri Sent: Thursday, October 27, 2005 10:16 AM To: General Red Hat Linux discussion list Subject: RE: senamil with two domains Hi, I am implementing Oracle Email Server (OES). OES has it's own smpt gateway that uses sendmail and sends mail. I have option to create domains in OEM. I have created one domain "uk.dev1.com" in my OES and an email user called "testuser" in this domain. I configured this account with outlook express and could see the mailbox. I tried sending mail from testuser@xxxxxxxxxxx to itself (testuser@xxxxxxxxxxx). I was successful in sending this mail. I even received the mail I sent from my own inbox. The problem is, the from and to mail IDs are having "hydlmuk.com" as my domain instead of "uk.dev1.com". hydlmuk.com is my unix box name. I tried editing the sendmail.cf as per the suggestion given below. Added the following entry to "sendmail.cf" and bounced the sendmail. Cwuk.crp1.com But, I am having the same problem again. Can anyone tell me a way to troubleshoot this issue? Pointers to documents also will do. thanks nagarjuna ------------------------ Try adding these lines to your sendmail.mc file MASQUERADE_AS(`uk.dev1.com')dnl FEATURE(masquerade_envelope)dnl FEATURE(allmasquerade)dnl Then remake the sendmail.cf from sendmail.mc (as it's best not to edit sendmail.cf directly). To remake, execute the following command: m4 < sendmail.mc > sendmail.cf then restart sendmail. I think this is all. Michael -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list **************** CAUTION - Disclaimer ***************** This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system. ***INFOSYS******** End of Disclaimer ********INFOSYS*** -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list