--- Sandeep Agarwal <[EMAIL PROTECTED]>
wrote:

> ----- Original Message ----- From: "Naresh Narang"
> <[EMAIL PROTECTED]>
> > --- Sandeep Agarwal <[EMAIL PROTECTED]>
> > wrote:
> >
> >> ----- Original Message ----- From: "Naresh
> Narang"
> >> <[EMAIL PROTECTED]>
> >> >
> >> > --- Sandeep Agarwal
> <[EMAIL PROTECTED]>
> >> > wrote:
> >> >> > --- Sandeep Agarwal
> >> <[EMAIL PROTECTED]>
> >> >> > wrote:
> >> >> >
> >> >> >> Hi all,
> >> >> >>
> >> >> >> I have a local mail server on domain
> xyz.com.
> >> >> >> Sendmail configured as MTA.
> >> >> >> Users are able to send mails to each other.
> I
> >> >> >> Any pointer will help.
> >> >> >>
> >> >> >
> >> >> >    What you are trying will NOT work. You
> can't
> >> >> tell
> >> >> > your mail server that he is xyz.com and at
> the
> >> >> same
> >> >> > time there is another xyz.com sitting out
> there
> >> >> > somewhere. You should change your local
> domain
> >> to
> >> >> say
> >> >> > abc.com and users can use "xyz.com" in their
> >> >> "From"
> >> >> > address to achieve what you are trying to.
> >> >> >
> >> >> > Regards,
> >> >> > --Naresh
> >> >>
> >> >> If I change the local domain to abc.com &
> users
> >> are
> >> >> using FROM & TO address
> >> >> of xyz.com, than all mail will go to ISP mail
> >> >> server. It will increase the
> >> >> bandwidth traffic. (First msg will goes to ISP
> >> >> server & than my fetchmail
> >> >> will downlaod it to delivered to local user.)
> >> >> While requirement is, msg of local users of
> >> xyz.com
> >> >> should be deliver
> >> >> locally & msg of remote users of xyz.com
> should
> >> be
> >> >> deliver at ISP mail
> >> >> server.
> >> >> Is this can be achieve by sendmail? Any
> >> workaround?
> >> >> Regards,
> >> >> Sandeep
> >> >>
> >> > Try this -
> >> >
> >> >   Your local mail server is xyz.com and
> >> [EMAIL PROTECTED]
> >> > lives on ISP.
> >> >
> >> > Create a user x11 on your local and in his home
> >> > directory create a .forward file
> >> >
> >> > In this file, use mail address with ip address
> of
> >> your
> >> > ISP's mail exchanger like so
> >> >
> >> > [EMAIL PROTECTED]
> >> >
> >> > Regards,
> >> >
> >> > -- Naresh
> >>
> >> Done the same. msg sent but returns back with
> >> following error msg.
> >> --------------
> >> The original message was received at Wed, 7 Jun
> 2006
> >> 13:57:34 +0530
> >> from [192.168.100.x]
> >>
> >>    ----- The following addresses had permanent
> fatal
> >> errors -----
> >> [EMAIL PROTECTED]
> >>     (reason: 550 Host unknown)
> >>     (expanded from: <[EMAIL PROTECTED]>)
> >>
> >>    ----- Transcript of session follows -----
> >> 550 5.1.2 [EMAIL PROTECTED] ... Host unknown (Name
> >> server: 1.2.3.4: host not
> >> found)
> >> -------------
> >>
> >> I have make the entry in hosts file for this like
> >> 1.2.3.4 smtp.isp.com smtp.xyz.com
> >> but error is same.
> >>
> >> Regards,
> >> Sandeep
> >>
> >     You missed the square brackets. Syntex has to
> be
> > correct.
> > -- Naresh
> 
> Ooh! my mistake. Correct the syntax but still in
> vain. however error msg has 
> changed.
> Following now in my .forward file.
> [EMAIL PROTECTED]
> After this, error msg as
> ---------------------------
> The original message was received at Thu, 8 Jun 2006
> 11:44:07 +0530
> from [192.168.100.x]
>    ----- The following addresses had permanent fatal
> errors -----
> [EMAIL PROTECTED]
>     (reason: 550 Unknown local part test in
> <[EMAIL PROTECTED]>)


   Of course ISP is hosting multiple domains. My 1st
response remains valid. With your requirements, I
don't have any other alternative.

Regards,
--Naresh

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

Reply via email to