LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-17-2003, 11:13 PM   #1
pleavitt
LQ Newbie
 
Registered: Mar 2003
Posts: 1

Rep: Reputation: 0
sendmail configuration


ok here is the scenario:
I have 5 users on the private network with the email addresses
user1@dom.com
user2@dom.com
.....user5@dom.com

at the moment all mail gets sent to the mailserver mail.dom.com
then the mail serverforwards the mail to mail2.dom.com.

I want the mail.dom.com to deliver all mail directed to user1@dom.com to user5@dom.com to be delivered locally and all other mail including any other mail to dom.com to be forwarded to mail2.dom.com

how do i do this in sendmail?

thanx for ur help in advance
 
Old 03-18-2003, 09:57 AM   #2
LarryDoliver
Member
 
Registered: Mar 2003
Posts: 126

Rep: Reputation: 17
Look at /etc/mail/virtusertable

you can setup *@host1.com to forward to *@host2.com Then all you need to do is setup exceptions for your 5 users to not be forwarded to host2.com
 
  


Reply


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
Sendmail Configuration - I need Help ukjairaj Linux - Networking 5 06-23-2005 01:26 PM
SendMail Configuration ChaChi Linux - Newbie 6 06-10-2004 05:00 PM
Sendmail Configuration arshad Red Hat 3 12-14-2003 01:11 AM
Sendmail configuration lapthorn Linux - Newbie 2 12-09-2003 09:13 PM
Sendmail Configuration svsalian Linux - Software 7 08-29-2003 05:17 AM


All times are GMT -5. The time now is 12:18 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration