LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   mailserver setup (http://www.linuxquestions.org/questions/linux-server-73/mailserver-setup-651060/)

sikkalgopal 06-23-2008 10:01 AM

mailserver setup
 
Hi

I am having a local mailserver mycompanyname.com (sendmail/fetchmail)distributing mails locally.We have a fetchall mailbox for fetching mails from our provider.Some of the mailboxes are also available in the provider server for remote users who fetch mails directly.

Now if localusers send mails to remote users using smtp as localserver it failed since no such remote users are not available in my localserver .If i use our provider smtp it goes as usual.But i dont want to use my isp smtp,what is the best way of configuring my local server to send remote users mailbox from our local users.

Please provide some information/link to solve the problem.

Cheers
Gopal

sunethj 06-24-2008 06:42 AM

do you use same domain name in both servers?

sikkalgopal 06-25-2008 03:02 AM

Hi

Thanks for the reply,

Yes i think my local server and our isp using the same domain name "ourcompanyname.com".All the users have the ids like user1@mycompanyname.com,user2@mycompanyname.com and so on.
Remote users also having the same domain name id.I am using sendmail-8.13.Please let me know anyother details needed.

Regards
Gopal

sunethj 06-25-2008 06:44 AM

i can't think of a simple solution for this. if there is a way to forward mails using ip address then you'll be able to create mail boxes of remote users in local server and then forward mails come to their boxes to the remote server using the ip address.

sikkalgopal 06-25-2008 07:15 AM

Hi

Thanks for the reply,through some research from many sites,i understand that if i configure my local server as a subdomain like myplace.mycompanyname.com,the problem will be solved.Still i have many
queries on my mind.
1.If i configure my local server as "myplace.mycompanyname.com, all the users will be users@myplace.mycompanyname.com?.
2.Can i masquerade to "mycompanyname.com"?
3.Now my localserver is acting as relay to my isp server.Will it work after changing to subdomain?

Regards
Gopal


All times are GMT -5. The time now is 11:37 PM.