Fedora Linux Support Community & Resources Center
  #1  
Old 21st November 2005, 04:30 PM
namit Offline
Registered User
 
Join Date: Aug 2005
Age: 29
Posts: 156
Several domain names

At present i have namit.org setup and i have namit [at] nait [dot] org and all the other users setup that are on my computer root, guest, bla , bla bla

But i own 5 domain names

How do i set them up to be liek the virtual hosts in apache but now email setups?

Can anyone help me with this

I have
test1@domain1.domain

example:
test1@domain1.domain
test2@domain2.domain

I have got dns server to forward mx records to my ip

Last edited by namit; 22nd November 2005 at 09:00 AM.
Reply With Quote
  #2  
Old 22nd November 2005, 07:57 AM
gavinw6662 Offline
Registered User
 
Join Date: Feb 2005
Age: 35
Posts: 1,281
depending on your mail setup (program) there is a virtualdomain setting or virtual maps/users in both postfix and sendmail. You need to investigate it.
__________________
I read your e-mail
Reply With Quote
  #3  
Old 22nd November 2005, 08:16 AM
roger Offline
Registered User
 
Join Date: Aug 2004
Posts: 105
for virtual host see the example in /etc/httpd/conf/httpd.conf

# Use name-based virtual hosting.
#
#NameVirtualHost *:80
#
# NOTE: NameVirtualHost cannot be used without a port specifier
# (e.g. :80) if mod_ssl is being used, due to the nature of the
# SSL protocol.
#

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

uncomment the NameVirtualHost-Directive. My proposal is, to make for each virtual host separate file in /etc/httpd/conf.d/ with this content:

#<VirtualHost *:80>
# ServerAdmin webmaster@dummy-host.example.com
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>


/sbin/service httpd restart not forget!!!
Reply With Quote
  #4  
Old 22nd November 2005, 08:20 AM
roger Offline
Registered User
 
Join Date: Aug 2004
Posts: 105
i just can help you with postfix for e-mail. all you have to add in your /etc/postfix/virtual is per domain the following: (beware - i use virtual, not aliases-db)

domain.tld anything #Take Mails for this Domain
email@domain.tld mailbox # Forward E-mails for this adress to mailbox


i cannot help with sendmail, sorry...
Reply With Quote
  #5  
Old 22nd November 2005, 09:02 AM
namit Offline
Registered User
 
Join Date: Aug 2005
Age: 29
Posts: 156
also will that alow me to setup info@mydomain1.com and info@mydomain2.com and when i check on info it will not check the other info account?
Reply With Quote
  #6  
Old 22nd November 2005, 11:23 AM
roger Offline
Registered User
 
Join Date: Aug 2004
Posts: 105
if you set them to deliver to separate mailboxes - yes
Reply With Quote
  #7  
Old 11th December 2005, 04:16 PM
namit Offline
Registered User
 
Join Date: Aug 2005
Age: 29
Posts: 156
Quote:
Originally Posted by roger
if you set them to deliver to separate mailboxes - yes

where do i set this?
Reply With Quote
  #8  
Old 11th December 2005, 04:51 PM
namit Offline
Registered User
 
Join Date: Aug 2005
Age: 29
Posts: 156
but also how do set two seperate users called info?
Reply With Quote
  #9  
Old 12th December 2005, 12:59 AM
IronWolf Offline
Registered User
 
Join Date: Dec 2005
Posts: 198
Here is a nice how to on setting up virtual mailbox hosting using Postfix, Courier and MySQL.

http://postfixwiki.org/index.php?tit...IMAP_and_MySQL

You don't have to use Courier though, I have also used Dovecot to provide POP3 services. This type of setup will give you dedicated mailboxes for each of your hosted domains. It might be a little more complex to setup, but once up and running it is a nice setup.

Throw in Postfixadmin:

http://high5.net/postfixadmin/

and you get a nice web front end to make adding domains and users' mailboxes a snap. Makes for a nice clean solution to email virtual hosting.
Reply With Quote
Reply

Tags
domain, names

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with hosting domain names pwebb Using Fedora 1 17th July 2007 06:21 AM
tcpwrappers and domain names... Zigzagcom Security and Privacy 0 14th November 2005 11:16 PM
Domain names zarkann Servers & Networking 5 16th June 2005 05:54 PM
Can IPsec handle domain names? Flatron Servers & Networking 2 18th May 2005 10:19 PM


Current GMT-time: 13:36 (Friday, 31-10-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Cuilapa Instagram Photos - Coruripe Photos on Instagram - Maun