Hi Thanks a lot so far ............. but i am still confused. I was always routing the mails on individual user basis.
/etc/hosts 192.168.115.100 mail.telesindia.com so local users [EMAIL PROTECTED] [EMAIL PROTECTED] if a mail is sent to [EMAIL PROTECTED] , it comes to local user [EMAIL PROTECTED] because i have mentioned in local-host-names ( teles.com ) so all the mails to teles.com comes internally and further ---> through virtusertable [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] but mail to [EMAIL PROTECTED] gives invalid user By mentioning in local-host-names localhost teles.com All the mails to [EMAIL PROTECTED] , comes internally. this MTA is responsible for all mails with domain teles.com So even if i change the domain name to "mail.teles.com" how does it help. But could u explain the solution u sent in a bit more detail . Thanks. KAMAL On 10/17/05, Animesh Singh <[EMAIL PROTECTED]> wrote: > > > > > > The problem is that when we send mails to other [EMAIL PROTECTED] who is > > > > not a local user at this mail server , i get an error saying invalid > > > > user . > > > > If i send a mail to > > > > [EMAIL PROTECTED] ...... OK (local user) > > > > [EMAIL PROTECTED] .... OK (local user) > > > > [EMAIL PROTECTED] ..... Error (not local user) > > > > > > > > This id "[EMAIL PROTECTED]" exists in other MTA , but beacuse of my > > > > local-host-names and virtusertable , the mail is comming internally to > > > > my MTA (and giving user unkown ERROR .... obviously) > > > > > > > > I am unable to solve this problem, i cant remove > > > > "teles.com<http://teles.com> > > <http://teles.com>" > > > > from > > > > local-host-names ; And i have to send mails to other users outside our > > > > MTA also . > > > > solution: > > First of all make this mta as mail.teles.com <http://mail.teles.com> not > teles.com <http://teles.com> and then route the e-mail on the individual > user basis. i.e. > > [EMAIL PROTECTED] [EMAIL PROTECTED] > [EMAIL PROTECTED] [EMAIL PROTECTED] > > This will make sure that server route the e-mails to other mailserver ( as > far it gets the MX fetch from DNS. So add the entries in DNS as required. ) > > But if you can read about "complex user routing" then do use that. It is > much better to handle these using complex user routing. > > Animesh. > _______________________________________________ > ilugd mailinglist -- ilugd@lists.linux-delhi.org > http://frodo.hserus.net/mailman/listinfo/ilugd > Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi > http://www.mail-archive.com/ilugd@lists.linux-delhi.org/ > > > _______________________________________________ ilugd mailinglist -- ilugd@lists.linux-delhi.org http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/ilugd@lists.linux-delhi.org/