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.
Hey guys, I'm a Linux with a little favor to ask...
I need to know how I can setup my spare linux box to act like it's own mail server (the machine will act for one account to send/recieve mail so I can do stuff like send messages from "godofheaven@theboss.com" and stuff like that). I just need to know how I could go along doing that, thanks a lot.
Hey Vortex,
Its not difficult but it takes time and it takes alot of reading so if you are ready for that i would go to redhat.com and search for DNS and BIND. It has a very good how-to I think. On this forum search for my member name and you'll find some stuff about it. Nabil put up some stuff from his server (STTH) and i think its very helpful. Nabil if you read this i could not finish my homework yet, but i am working on it. I dont know how but i did something to redhat and i have to uninstall it. Anyways, both of these are useful . Good luck
The other question is, do you already have the domain from which you wish to send this mail registered AND do you have a static IP for the box which you intend to use as the mail server?
Without these items in place, you are in for a bumpy ride.
You can get away without a static IP address by registering with http://www.dyndns.org and getting them to make your MX record follow you around when your IP address changes. That how my mail server is gonna be cooking...
HTH
Jamie...
PS Search for the forum for mention of 'sendmail' you'll get lots to read then
My ISDN Box has a static IP, thanks for that link now I can get a DNS Alias also - that really helps. As for setting up the pop3/smtp (smtp works as itself), that might take longer
WHO is this JAMIE? OF COURSE you don't run servers with a dynamic IP that's just not right! I don't see any posts from this JAMIE though I must be confused...
Originally posted by nabil Why even bother with this setup you will have going...Do you really expect it to work all time or when ever you need it to ???
It partially for the play about factor but yeah, it's working fine. If my IP address actually change with any reasonable frequency then it could be a problem but it doesn't and even when it does the server check and registers iteself with DynDNS's DNS server so the MX record follows it around.
Beats downloading mail from a remote server all the time. If it all goes very wrong (which I really don't think it will) I'll revert to another address.
Originally posted by VorteX WHO is this JAMIE? OF COURSE you don't run servers with a dynamic IP that's just not right! I don't see any posts from this JAMIE though I must be confused...
Me! Hence why all my posts are signed with the name Jamie...
And yeah, I'd agree that having a non-static IP address on a mail server is a little unusual, but as the remote mail server will do an MX lookup and my records at DynDNS follow the server around when its IP addess changes (its only happened once in about 6 months) then it shouldn't be a problem. All my mail now gets sent directly to my room No more waiting for downloads. It should be noted that this is only a server for me - I'm not trying to run a small business or anything like this! (although with a maximum outage of 4 hours for the MX record to expire from any caches its better than a lot of small buisiness I've dealt with!).
So hey... whats wrong with the dynamic address again?? Feel free to mail me the response too
Cheers all - bed time for me - its 01:48 here in the UK... late night computing...
Originally posted by jharris All my mail now gets sent directly to my room No more waiting for downloads. It should be noted that this is only a server for me - I'm not trying to run a small business or anything like this!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.