senamil with two domains

A.Fadyushin at it-centre.ru A.Fadyushin at it-centre.ru
Mon Oct 31 16:22:21 UTC 2005


If you use 'use_cw_file', do you  have '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 at redhat.com [mailto:redhat-list-
> bounces at redhat.com] 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> and
> mydomain1.com<http://mydomain1.com>
> .
>  My sendmail server 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>,
Name=MTA')
> 
> DAEMON_OPTIONS(`Port=smtp,Addr=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>, Name=MTA')
> 
> and local-host-name file added the mydomain.com <http://mydomain.com>
> entry.
> I created the sendmail.cf <http://sendmail.cf> with this file.
> For 2 domains I have added line
> Cw mydomain.com <http://mydomain.com> mydomain1.com
> <http://mydomain1.com>to
> 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 at it-centre.ru <A.Fadyushin at it-centre.ru>
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 at redhat.com [mailto:redhat-list-
> > > bounces at redhat.com] On Behalf Of lasanthaindika
> > > Sent: Tuesday, October 25, 2005 11:20 PM
> > > To: redhat-list at redhat.com
> > > Subject: senamil with two domains
> > >
> > > Can I configure sendmail for two domains. As example my sendmail
> > > configured to abc.com <http://abc.com>,and I need to config this
for
> > 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 at redhat.com?subject=unsubscribe
> > > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> > --
> > redhat-list mailing list
> > unsubscribe
mailto:redhat-list-request at redhat.com?subject=unsubscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
> >
> 
> 
> 
> --
> Lasantha Amarasinghe
> Sri Lanka
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
> https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list