Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


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

Rep: Reputation: 0
sendmail & domain mailbox


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 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.

Old 02-13-2003, 12:15 PM   #2
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 =

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

and then in /etc/aliases

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 > Forums > Linux Forums > Linux - Software

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

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