Linux - GeneralThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I managed to get a domain name, and configure all of it so that people can view my apache server from the outside world, but that is about all they can do.
I would like to know how I could begin setting up a mail server so I can send mail from me@mydomain.com.
Also, is it possible for a visitor to my website to be able (with the correct password) to acess a shell on this pc, or possibly browse the directories. I would like to be able to do this so that I can check my email when I am abroad and do work on my computer. What kind of a script would that require?
This is all rather new to me, but I think it will be pretty cool once it is all done.
Mail is possible. You just need an MTA like sendmail, postfix or maybe qmail runnning and configured properly. You'll also need your mx records for the mail server setup proplerly on your DNS server, etc.
To retrieve email you can either use pop3 or imapd, or both even. Most these days seem to be using imapd and setting up web based email using horde, openwebmail or squirrelmail, etc.
And you can allow outside access. I would suggest using ssh instead of telnet as its more secure.
To learn more about these, I suggest alot of reading. Telling you how to do all of this here in the forums would be pointless when there are howto's and such scattered across the net that explain these already.
Thanks for your help. Just one more question: can I do this if I dont have a DNS server?
" You'll also need your mx records for the mail server setup proplerly on your DNS server, etc. "
You have to have some kind of DNS server pointing your domain to your actual IP of your server.. even with apache! I'm not sure how you have yours running now with a domain but there has to be some DNS involved or its not going to work.
Originally posted by LinuxBlackBox I bought the domain from aplus.net, and set url forwarding to my local IP address. I never had to configure any dns server
And that would explain that as it would seem they are posing as your DNS for your webserver. If you don't want to setup a DNS server yourself, you better make sure and see if they offer setting up mx records for mail servers, etc. If not you could use something like www.zoneedit.com for free DNS services.. etc.
It looks like this is going to be more complicated that I thought. I suppose I can do without a mail server for a while. It isnt very important, I just thought it would be something thats useful to have.
Distribution: Xandros, Mandrake, FreeBSD, i like to tinker.
Posts: 33
Rep:
i have a similar setup also registered with aplus.net and if u want a remote shell i suggest u use the webmin package. if it is installed goto the console and type webmin. then goto your browser and goto https://localhost:10000/ and log in with your root info. then if u goto the other tab, there is a remote shell.
webmin can be found at www.webmin.com and if u use the rpms, it is very easy to install and configure.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.