Here's my situation;
I have a registered domain that is hosted by my isp for both email & web. Currently I have a domain email alias that receives all email addressed to my domain into a pop3 account at my isp. I use a win2k machine running the mercury mail server to retrieve my email and distribute to my users email boxes. Any outgoing mail is sent to the win2k machine. If the mail is local, it is placed in the local users mail box, otherwise, it is sent to my isp's smtp server.
I'm trying to accomplish the same thing on a linux box using sendmail & fetchmail. I understand that fetchmail will take care connecting to my pop3 account and distributing the mail to my local users. I have sendmail working to the point that my outgoing email is sent to out. But, It appears to send all mail including local mail to my isp.
Currently the following is happening:
1) mail from myuser1@mydomain sent to firstname.lastname@example.org
goes to sendmail
2) sendmail sends it to my isp
3) my isp places it in my domain pop3 account
4) fetchmail retrieves it from my pop3 account and distributes it to my users
What I would like is for sendmail to distribute the local mail without sending it to my isp.
Is there a way to accomplish this? if so, where do I find the relevant faq?
Or, do I have to setup a full email server for my domain including changing the MX entry and eliminating my isp?
Any help will be greatly appreciated.