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

Re: senamil with two domains



Der Sir,
Is there any way to config postfix or sendmail to copy & duplicate of all
mail going out and comming to mail server of all accounts and go to one
dedicated mail box?


On 11/2/05, lasa <lasantha2linux gmail com> wrote:

Ok Now I am receiving mail in both domains. But their I have problems
again.
1. If I send mail in abc mydomain com to itself (same account) from client
the mail sent and it recive abc mydomain com as well as abc mydomain1 comtoo  How Can I prevent this?
2. My sendmai.cf file have line MASQUERADE_AS(`mydomain.com'). If I send a
mail form abc mydomain1 com to outside address (say lasantha yahoo com)
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 it-centre ru <A Fadyushin it-centre ru > wrote:
>
> 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 redhat com [mailto:redhat-list-
> > bounces 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 it-centre ru <A Fadyushin 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 redhat com [mailto:redhat-list-
> > > > bounces redhat com ] On Behalf Of lasanthaindika
> > > > Sent: Tuesday, October 25, 2005 11:20 PM
> > > > To: redhat-list 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 redhat com?subject=unsubscribe
> > > > https://www.redhat.com/mailman/listinfo/redhat-list
> > >
> > > --
> > > redhat-list mailing list
> > > unsubscribe
> mailto:redhat-list-request 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 redhat com?subject=subscribe
> > https://www.redhat.com/mailman/listinfo/redhat-list
>
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>



--
Lasantha Amarasinghe
Sri Lanka




--
Lasantha Amarasinghe
Sri Lanka


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