LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-29-2005, 11:05 PM   #1
lasantha
Member
 
Registered: Oct 2005
Location: Sri Lanka
Distribution: Red Hat, Cent OS
Posts: 38

Rep: Reputation: 16
Sendmail with two domains


I have configured the sendmail wilth two domains xyz.com and xyz1.com and have configured the DNS for there two domains with two static IP address.

Sendmail is working fine, but if a receiving email is addressed to abc@xyz.com receives not only to abc@xyz.com but it copies to abc@xyz1.com.

I only add the line Cw xyz.com xyz1.com to sendmail.cf file for to obtain this multidomain sendmail server.

How can I avoid this problem of copying the incomming abc@xyz.com mail to account abc@xyz1.com?

Pls let me know the detail procedure?
 
Old 10-31-2005, 06:48 PM   #2
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
wouldn't abc@xyz.com and abc@xyz1.com really be the same account?

What happens if abc@xyz.com deletes the mail, is it still in abc@xyz1.com's inbox?
 
Old 11-01-2005, 11:07 PM   #3
lasantha
Member
 
Registered: Oct 2005
Location: Sri Lanka
Distribution: Red Hat, Cent OS
Posts: 38

Original Poster
Rep: Reputation: 16
Quote:
Originally posted by apepost
wouldn't abc@xyz.com and abc@xyz1.com really be the same account?

What happens if abc@xyz.com deletes the mail, is it still in abc@xyz1.com's inbox?
Really if I send a mail addressed to same account (abc@xyz.com to) itself it will receive to abc@xyz.com as well as abc@xyz1.com. This is because the account created in linux machine as abc and sendmail take it as abc for their mailbox.

To prevent this what can I do ? Can I create these mail boxes with the domain name, If it is then Can I get the address as abc@xyz.com & abc@xyz1.com? Is there any other way to prevent this and get two seperate account abc@xyz.com and abc@xyz1.com in sendmail level or POP level ?
 
Old 11-02-2005, 09:39 AM   #4
apepost
Member
 
Registered: Oct 2003
Distribution: Fedora core 4
Posts: 113

Rep: Reputation: 15
Presuming your answer was to be interpreted as a yes:

You could set up one account named abc , and another named abc1. Thereafter you could map the mail to abc@xyz1.com to the user abc1 by adding an entry to /etc/mail/virtusertable.
 
  


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
sendmail with 2 domains dominant Linux - Networking 1 09-03-2005 05:00 AM
sendmail sub domains how to do??? mlu Linux - Networking 1 04-01-2005 04:55 AM
multiple domains, one sendmail sqn Linux - Networking 0 12-23-2003 04:46 PM
more domains with sendmail sqn Slackware 0 06-01-2003 04:00 PM
Two domains for sendmail jhildebrand Linux - Software 2 04-26-2003 04:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:27 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