LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 05-01-2002, 12:09 PM   #1
littlelittle
LQ Newbie
 
Registered: Mar 2002
Posts: 10

Rep: Reputation: 0
Unhappy how to set up second mail domain on qmail


hi, I need some help on setting of qmail.

I have linux and qmail as mail server, present there's an domain running on that, if I want to add another doamin on the mail server, need I install another qmail?, and how to set that?

thanks.
 
Old 05-01-2002, 09:22 PM   #2
atomiccoconuts
LQ Newbie
 
Registered: May 2002
Location: West Los Angeles
Distribution: RH 7.2
Posts: 3

Rep: Reputation: 0
Just add the additional domain(s) to the rcpthosts file, and set up the appropriate .qmail files.

flounder.net/qmail/qmail-howto.html#16
 
Old 05-02-2002, 10:01 AM   #3
Rob de Jong
LQ Newbie
 
Registered: Jan 2002
Posts: 6

Rep: Reputation: 0
The files which have to be modified depend on the mail construction which you are going to use.

If you have only 1 IP subnet for the 2 mail domains:

/var/qmail/control/rcpthost - should contain both email domains
/var/qmail/control/defaultdomain - should contain you're main mail domain
/var/qmial/control/plusdomain - should contain the 2nd mail domain

If the clients 4 the 2nd domain are in a different subnet you should also edit the /etc/tcp.smtp file so that the second subnet may relay mail trough your linux server.

Hoped it helped
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I can only get mail for myhost.domain.com. I cannot get my mail for domain.com. adamrau Linux - Software 1 04-22-2007 03:07 PM
qmail generating mail that sends to the wrong domain? shadoxity Linux - Software 5 04-16-2005 12:56 AM
qmail log says mail delivered, mail nowhere to be found svartrev Linux - Software 0 03-24-2004 05:12 PM
Problems sending mail to a single domain with qmail dwbizzle Linux - Software 2 09-26-2003 07:36 AM
parsing mail.log with perl and calculate mail traffic on domain base markus1982 Programming 1 03-18-2003 06:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 AM.

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