Thanx for your answer and sorry for bit slow.

MR. Rajesh and Mr. Vaibhav

But both the solution not worked.

As per Mr. Sudev I have to configure the hostmane like local.mycompany.com

and then masqueraded it as mycompany.com worked.

Is there anybody guide us ?

Anyway it is workingnow.

All local mail will be delivered as [EMAIL PROTECTED] and if user is not local than [EMAIL PROTECTED] working fine.

Thanx.

Nilesh

From: VaibhaV Sharma <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [LIH]sendmail non local user problem with same domain
Date: Fri, 17 Oct 2003 10:46:47 -0400

On Thu, 2003-10-16 at 04:28, nilesh vaghela wrote:

> Any local user sending mail to this perticuler user it gives message
> unknown user. As user is not a local. xyz user use his account with
> some different places.

> But as the mail will be forworded as [EMAIL PROTECTED] ????

> How to resolve this.


If most of your users are local, create a local user account and dump a .forward in the user's home directory containing the remote mail ID.

If most of your users are remote and only a handful are local, use the
sendmail MAILHUB setup. You need to use these m4 macros -

define(`MAIL_HUB', `mail.yourcompany.com')

and then define what users have local mailboxes -

LOCAL_USER(`user1')

Or dump all the usernames in a file (more managable)

LOCAL_USER_FILE(`/etc/mail/local-users')

Mail for any non-local username on your domain would then be delivered
to the mailhub machine.


VaibhaV http://vsharma.net




------------------------------------------------------- This SF.net email sponsored by: Enterprise Linux Forum Conference & Expo The Event For Linux Datacenter Solutions & Strategies in The Enterprise Linux in the Boardroom; in the Front Office; & in the Server Room http://www.enterpriselinuxforum.com _______________________________________________ linux-india-help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/linux-india-help

_________________________________________________________________
Find your first love.Rekindle past joys! http://www.batchmates.com/msn.asp Get in touch with batchmates.




-------------------------------------------------------
This SF.net email is sponsored by: The SF.net Donation Program.
Do you like what SourceForge.net is doing for the Open
Source Community?  Make a contribution, and help us add new
features and functionality. Click here: http://sourceforge.net/donate/
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to