LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2003, 10:37 AM   #1
bjohnson
LQ Newbie
 
Registered: Feb 2003
Location: Vancouver, Canada
Distribution: Redhat
Posts: 1

Rep: Reputation: 0
sendmail & domain mailbox


Hi;

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 myuser2@mydomain.com 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.

Thanks
Brett
 
Old 02-13-2003, 12:15 PM   #2
Cyyb
LQ Newbie
 
Registered: Jul 2002
Location: Calgary, Alberta, Canada
Distribution: Gentoo Workstation / Debian Server
Posts: 21

Rep: Reputation: 15
you can make it route whatever addresses you want as if they were local.

local_domains = your.domain.com

(that is what i use with exim but exim is compatible with sendmail so it should be the same)

and then in /etc/aliases

user@your.domain.com: user@your_linuxbox.whatever.your.local.domain.is

Last edited by Cyyb; 02-13-2003 at 12:17 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
path of mailbox in sendmail can be changed or not dhanju Linux - Networking 1 09-28-2005 09:17 AM
sendmail mailbox capacity limitation?? mlu Linux - Networking 2 05-25-2005 01:09 AM
qmail: root@domain: Sorry, no mailbox here by that name. (#5.1.1) hamish Linux - Software 2 05-16-2005 03:38 PM
Sendmail mailbox Quota da_tibmeister Linux - Networking 1 07-20-2004 09:57 PM
how to add virtual user & domain on sendmail? earl Linux - Networking 2 07-30-2002 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration