Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 4th January 2009, 22:07
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default running a mailserver fom vmware work station

Hello

I want to run a mail server from within debian linux guest with vmware workstation xp host. The setup is a bridged network connection

I know what I must do I think (see below ) but I do not know how
please can you point me to some howto;s that may help

here are things that need to be done:


a)Configure the Guest with a static IP on my home network. Verify that I can telnet to port 25 of the Guest from a system on my home network.

B)Then configure my home firewall/NAT box to forward incoming connections on TCP port 25 to the static IP address I gave my Guest. Then test that I can telnet to port 25 from a system outside my home network.

c)After that I need to configure the appropriate DNS records for my domain so that outside hosts know how to contact my mailserver.


thanks for any feedback

wiseman or not so wise

Last edited by wiseman; 4th January 2009 at 22:09.
Reply With Quote
Sponsored Links
  #2  
Old 4th January 2009, 23:14
zcworld zcworld is offline
Senior Member
 
Join Date: Jul 2006
Location: South Australia
Posts: 329
Thanks: 2
Thanked 37 Times in 37 Posts
Send a message via MSN to zcworld Send a message via Skype™ to zcworld
Default

if you using an free DNS name like from no-ip or dyndns
than you dont need to worry about doing an MX records ....

to see if your server ports are working than goto like http://www.canyouseeme.org and tell it to test port 25 and it will tell you if the port is open or not
if not
than you have got a firewall / port forwarding problem or maybe the ISP blocks port 25

but besides that you got what u need to do down right
__________________
Shane Ebert :: Facebok
Reply With Quote
  #3  
Old 5th January 2009, 10:08
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default re mailserver

thants for your tips but sttill need to know howto do the actual points in ato c in my orininal post.

thanks


wiseman
Reply With Quote
  #4  
Old 5th January 2009, 10:48
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

Quote:
Originally Posted by wiseman View Post
a)Configure the Guest with a static IP on my home network. Verify that I can telnet to port 25 of the Guest from a system on my home network.
Take a look at chapter 5 on http://www.howtoforge.com/perfect_setup_debian_etch_p3 .

Quote:
Originally Posted by wiseman View Post
B)Then configure my home firewall/NAT box to forward incoming connections on TCP port 25 to the static IP address I gave my Guest. Then test that I can telnet to port 25 from a system outside my home network.
You can easily do this in the web interface of your router.

Quote:
Originally Posted by wiseman View Post
c)After that I need to configure the appropriate DNS records for my domain so that outside hosts know how to contact my mailserver.
Do you have a static public IP address?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 5th January 2009, 11:29
wiseman wiseman is offline
Member
 
Join Date: Jan 2009
Posts: 52
Thanks: 2
Thanked 1 Time in 1 Post
Default ew mailserver

thanks for your reply falko

yes i have a static ip address from my isp
Reply With Quote
  #6  
Old 6th January 2009, 09:20
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Ok, then you create an A record, e.g. mail.yourdomain.com, pointing to your static public IP, and then afterwards an MX record like this:

yourdomain.com. MX 0 mail.yourdomain.com.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
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
VM of WinXP running through VMWare Server on Linux BTM HOWTO-Related Questions 6 3rd March 2008 19:03
External Mailserver Option dont work msource Installation/Configuration 3 30th November 2007 17:55
I am having difficulty getting mailserver to work as expected. westlc01 Installation/Configuration 8 7th June 2007 13:42
Help! my VMware doesn't work in Ubuntu 6.06 alice_hexi HOWTO-Related Questions 3 15th May 2007 13:43
Can't get mailserver to work Jorem Installation/Configuration 6 15th April 2006 10:54


All times are GMT +2. The time now is 01:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.