LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 08-19-2008, 07:31 PM   #1
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Rep: Reputation: 16
Talking Create a Virtual Mail Server in VMware


Hi Guys,
This is the first time I've ever attempted to create a mail server. However, I would like to create a virtual email server using VMware (also, which version of VMWare should I use: server, workstation, etc?). Does anybody know how to go about this or could tell me from experience or know any good internet guides? I've searched everywhere, and I can't seem to find the correct tutorial. Also, I heard VMware has its own spam gateway. Is that true as well?
 
Old 08-19-2008, 07:32 PM   #2
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking Create a Virtual Mail Server in VMware

Hi Guys,
This is the first time I've ever attempted to create a mail server. However, I would like to create a virtual email server using VMware (also, which version of VMWare should I use: server, workstation, etc?). Does anybody know how to go about this or could tell me from experience or know any good internet guides? I've searched everywhere, and I can't seem to find the correct tutorial. Also, I heard VMware has its own spam gateway. Is that true as well?

I am running Ubuntu 8.04 LTS, if that is of any significance.
 
Old 08-19-2008, 08:41 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
VMware is simply a virtualization environment that allows you to install an operating system inside a "virtual machine", i.e. it's a virtual computer that you can treat just like a physical computer. A VM has only what you put in it, there's nothing there by default.

You can download "Virtual Appliances" from the VMware website, which are pre-built virtual machines with an OS and software already installed. Some of those have anti-spam/anti-virus gateway software already installed.

If you want to run a VM as a mail server, there's nothing special about it being virtual. Follow a guide to create the VM, then follow another guide to install your favorite OS, and another guide to install e-mail software. There's no special "virtual e-mail server" guide (that I know of), because it's unnecessary to be that specific.
 
Old 08-19-2008, 11:26 PM   #4
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking VMWare player in Ubuntu 8.04 LTS

Hi Guys,
I wanted to install VMWare Player on Ubuntu 8.04 so that I could run the NST (Network Security Toolkit) v 1.8.0 on VMWare. I downloaded the .tar.gz file from http://www.vmware.com/products/player/
,and when I untarred it and tried to run, vmware-install.pl, and followed the instructions, when I was asked where the C headers for the current Linux kernel version I was running (2.6.24-19-generic), it said it couldn't find the directory, /usr/src/linux/include.

Does anyone know where the C headers for the current kernel version I am running are located in Ubuntu?
Also, does anyone know any good guides where I could install VMWare Player on Ubuntu 8.04 LTS? I've searched Google for guides, and they don't work (I even tried: http://ubuntuforums.org/showthread.php?t=832753, but to no avail)! And, if someone knows how to do this from experience I am happy to hear from them as well. Please help!!
 
Old 08-20-2008, 12:57 AM   #5
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
In most Linux distros there's a package called either kernel-source or kernel-devel that contains the necessary header files that VMware needs.
 
Old 08-20-2008, 06:58 AM   #6
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
I would use VMware Server. This runs as a process on the host machine, and runs on Linux or Windows.
To connect, you can use VMware Console.

To install a mail server, just install VMware Server, and create a new VM. Install your Linux distro on it, and setup the mail server. When you setup the mail server, set it up with a bridged network. This will give it an IP address assigned by your modem. Then just forward port 25 to this IP.

In other words, it is basically just like setting up a mail server on another physical machine on your LAN.

--Ian
 
Old 08-20-2008, 12:34 PM   #7
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

Thank you very much, chort!
However, I installed QEmu instead, which works just as fine as VMWare.
 
Old 08-20-2008, 11:40 PM   #8
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

Are there any guides on what software I could use and how to configure it in order to create an email server?

Also, I checked out your website, IBall, and it was pretty cool! How did you set it up (I would like to create a website of my own)?
 
Old 08-21-2008, 02:09 AM   #9
fotoguy
Senior Member
 
Registered: Mar 2003
Location: Brisbane Queensland Australia
Distribution: KirraMail Live Email Server
Posts: 1,276

Rep: Reputation: 61
If you want an easy email server to setup, I have a live dvd distro called KirraMail. It's a full featured email server, checkout my site and see if it suits your needs.

http://www.kirramail.com
 
Old 08-21-2008, 06:27 AM   #10
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 61
My recommendation would be to do it in a couple of steps.

1) Install VMWare on your machine. What distro are you using as the Main OS on your computer? Maybe put this in your profile.

2) Create a new Virtual Machine in VMWare, and install an appropriate distro on it. My recommendation would be Debian or Ubuntu Server, or maybe Centos (depending on what you are used to).

3) Once you have your VM up and running, then look at installing the mail server. Depending on what mail server program you want to use, there is heaps of documentation. I suggest Postfix as the MTA (SMTP Server) and Courier as the MDA (POP3 / IMAP).

--Ian
 
Old 08-21-2008, 09:51 AM   #11
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

I like KirraMail! It's actually very easy to use, and I think I will use that distribution for my email server. I just have one question, fotoguy, how can I install the email server from the LiveDVD? Did you include an installer with it? Also, have you yourself ever used KirraMail, and did you like it?
 
Old 08-21-2008, 10:57 AM   #12
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

I am downloading the iso for KirraMail right now, but it is only downloading at 26 kb/s, which is strange because I normally have download speeds of up to 130 kb/s. I also noticed that on your website there is not much traffic, so the only thing that is causing the problem has to be the bandwidth limit set on fotoguy's servers. Is it possible for you to increase the bandwidth limit (as of right now, the download will take 14 hours and 22 minutes to finish)?
 
Old 08-21-2008, 02:38 PM   #13
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

Anyways, I tried your idea, chort, but when I ran, sudo apt-get install kernel-source, I got: "Package kernel-source is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package kernel-source has no installation candidate".

As a result, I tried, sudo apt-get install kernel-devel, instead; however, I got: "E: Couldn't find package kernel-devel".

I also tried installing both of them together, but to no avail.

What should I do now?

Last edited by flouran; 08-21-2008 at 02:39 PM.
 
Old 08-21-2008, 02:50 PM   #14
flouran
Member
 
Registered: Aug 2008
Distribution: Ubuntu Hardy Heron 8.04 LTS
Posts: 77

Original Poster
Rep: Reputation: 16
Talking

In regard to your question, IBall, I am using Ubuntu Hardy Heron 8.04 LTS as my Main OS.

However, when I wanted to install VMWare Player on Ubuntu 8.04, I downloaded the .tar.gz file from http://www.vmware.com/products/player/
,and when I untarred it and tried to run, vmware-install.pl, and followed the instructions, but when I was asked where the C headers for the current Linux kernel version I was running (2.6.24-19-generic), it said it couldn't find the directory, /usr/src/linux/include.

Does anyone know where the C headers for the current kernel version I am running are located in Ubuntu?
Also, does anyone know any good guides where I could install VMWare Player on Ubuntu 8.04 LTS? I've searched Google for guides, and they don't work (I even tried: http://ubuntuforums.org/showthread.php?t=832753, but to no avail)! And, if someone knows how to do this from experience I am happy to hear from them as well. Please help!!
 
Old 08-21-2008, 05:51 PM   #15
jtshaw
Senior Member
 
Registered: Nov 2000
Location: Seattle, WA USA
Distribution: Ubuntu @ Home, RHEL @ Work
Posts: 3,892
Blog Entries: 1

Rep: Reputation: 66
I've merged the two threads so that all the replies will be in the same place...
 
  


Reply

Tags
email, html, ip, lan, linux, server, vmware, website


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
making a 'virtual' server using vmware gamekiller Linux - Server 5 07-01-2007 08:36 PM
VMWare - Permission error when attempting to create virtual machine? SlowCoder Linux - General 1 05-26-2007 06:29 PM
Mail server - setup virtual mail boxes satimis Linux - Server 1 02-10-2007 10:40 AM
using VMware and FC5 as virtual server Kamikazee General 1 05-22-2006 09:15 PM
Automatically create virtual mail Courier Imap account hawkpaul Linux - Software 6 06-29-2005 08:06 AM


All times are GMT -5. The time now is 02:38 PM.

Main Menu
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