Re: senamil with two domains

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

 



Ok Now I am receiving mail in both domains. But their I have problems again.

1. If I send mail in abc@xxxxxxxxxxxx to itself (same account) from client
the mail sent and it recive abc@xxxxxxxxxxxx as well as
abc@xxxxxxxxxxxxxxxxx How Can I prevent this?
2. My sendmai.cf <http://sendmai.cf> file have line
MASQUERADE_AS(`mydomain.com').
If I send a mail form abc@xxxxxxxxxxxxx to outside address (say
lasantha@xxxxxxxxx) what will be the senders address indicates in receive
mail of the receiver.?
3. How can i use 'use_cw_file' feature in correct way (step by step
procedure)?
Lasantha
 On 10/31/05, A.Fadyushin@xxxxxxxxxxxx <A.Fadyushin@xxxxxxxxxxxx> wrote:
>
> If you use 'use_cw_file', do you have 'mydomain1.com<http://mydomain1.com>'
> in the
> 'local-host-names' file? (Note that filename is 'local-host-names'
> (plural form), not 'local-host-name' as you said in your message).
> What are the error messages you receive when trying to receive mail for
> second domain?
> Check that the contents of your /etc/mail/access (and corresponding DB)
> file allows the sending/receiving of the messages with addresses in
> second domain.
>
> Alexey Fadyushin.
> Brainbench MVP for Linux
> http://www.brainbench.com
>
> > -----Original Message-----
> > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> > bounces@xxxxxxxxxx] On Behalf Of lasa
> > Sent: Friday, October 28, 2005 11:15 PM
> > To: General Red Hat Linux discussion list
> > Subject: Re: senamil with two domains
> >
> > I am having two domains mydomain.com <http://mydomain.com> <
> http://mydomain.com> and
> > mydomain1.com <http://mydomain1.com><http://mydomain1.com>
> > .
> > My sendmail server sendmail.mc <http://sendmail.mc> <http://sendmail.mc>
> file have
> following
> >
> > define(`confDOMAIN_NAME',`mydomain.com')
> >
> > define(`SMART_HOST',`lgw.mydomain.com')
> >
> > MASQUERADE_AS(`mydomain.com')
> >
> > DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1 <http://127.0.0.1> <
> http://127.0.0.1>,
> Name=MTA')
> >
> > DAEMON_OPTIONS(`Port=smtp,Addr=192.168.10.1 <http://192.168.10.1> <
> http://192.168.10.1>,
> > Name=MTA')
> >
> > DAEMON_OPTIONS(`Port=smtp,Addr=10.0.0.1 <http://10.0.0.1> <
> http://10.0.0.1>, Name=MTA')
> >
> > and local-host-name file added the mydomain.com <http://mydomain.com> <
> http://mydomain.com>
> > entry.
> > I created the sendmail.cf <http://sendmail.cf> <http://sendmail.cf> with
> this file.
> > For 2 domains I have added line
> > Cw mydomain.com <http://mydomain.com> <http://mydomain.com>
> mydomain1.com <http://mydomain1.com>
> > <http://mydomain1.com>to
> > sendmail.cf <http://sendmail.cf> <http://sendmail.cf> file manully after
> that.
> > I have created 2 domains in dns and they resolved by client computer.
> > but I cant send/receive email with secound domain account.
> > Pls help me...\
> > Lasantha
> > On 10/26/05, A.Fadyushin@xxxxxxxxxxxx <A.Fadyushin@xxxxxxxxxxxx>
> wrote:
> > >
> > > If your sendmail configuration file includes feature 'use_cw_file',
> then
> > > just put the list of your domains in the file
> /etc/mail/local-host-names
> > > (one domain name per line).
> > > Or, alternatively, when you do not want to use feature 'use_cw_file'
> or
> > > you need only few domain names you can specify domain names directly
> on
> > > the 'Cw' line in sendmail configuration file.
> > >
> > > Alexey Fadyushin
> > > Brainbench MVP for Linux
> > > http://www.brainbench.com
> > >
> > > > -----Original Message-----
> > > > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list-
> > > > bounces@xxxxxxxxxx] On Behalf Of lasanthaindika
> > > > Sent: Tuesday, October 25, 2005 11:20 PM
> > > > To: redhat-list@xxxxxxxxxx
> > > > Subject: senamil with two domains
> > > >
> > > > Can I configure sendmail for two domains. As example my sendmail
> > > > configured to abc.com <http://abc.com> <http://abc.com>,and I need
> to config this
> for
> > > xyz.lk <http://xyz.lk> <http://xyz.lk> too. How
> > > can I
> > > > do this. I am having DNS and can config DNS for two domains.
> > > >
> > > > Lasantha Amarasinghe
> > > >
> > > >
> > > > --
> > > > redhat-list mailing list
> > > > unsubscribe
> mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe
> mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> >
> >
> >
> > --
> > Lasantha Amarasinghe
> > Sri Lanka
> > --
> > redhat-list mailing list
> > unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=subscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Lasantha Amarasinghe
Sri Lanka
-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subjecthttps://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