RE: senamil with two domains

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




-----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

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux