Setting up godaddy dedicated server as email server
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Setting up godaddy dedicated server as email server
Hello,
I was wondering if someone can help or lead me to a place with better information. I've been searching for a day and a half for answers but can't find any. I just got a dedicated server at godaddy expecting to have the simple control panel to set up my email, but it is no longer offered so I have to do everything command line.
I have figured out that I have sendmail & dovecot & I have mailboxes for root & another user in /var/mail. I know that all the outgoing mail has to go through godaddy's mail server secureserver.net.
Nothing I've found seems to be a good step by step for someone who knows not what they do. Please throw me a bone. Thanks!
Thank you, I will give that a try. I had been looking at VHCS, but their lack of documentation scared me away. Do you think dealing with command line to configure the email is too messy?
I don't know. Usually there are enough howtos out there to refer to. I hope you have a lot of time, though. I learned that there is a simplicity to configuring by command line. I failed a lot at first, but got better at it as I began to realize that not getting it right the first time usually only costs time, but results in an increased personaknowledge base.
I was thinking that godaddy might not let you install webmin, mostly because it is a whole server configuration tool and requires root access, at least as my familiarity with the program allows me to recall.
I know I'm not being much help. My experience with linux is all with pc based systems. godaddy has some proprietary interest in their servers. I had no such restrictions.
First make sure you can send mail from <user> to root and from root to <user>. This tests your local mail set up. It probably is working ok out of the box, providing your mail server is running. The command is mail -s "subject goes here" <user>, then type a message, then ctrl-D.
Next you need to set up mail forwarding to that any mail that is going to a different domain than yours is forwarded to secureserver.net . There are two aspects: the From address is rewritten so it comes from your domain rather than localhost (called masquerading), and it is forwarded to the Godaddy server (called relaying), optionally using TLS to authenticate with the server.
@rfrye - actually being more helpful than you think.. It's a dedicated server at godaddy so not only do I have root access, I'm the only that is or will be in the server. I'm a PHP guy that works for a company that needs a dedicated server but doesn't want to hire a system administrator so I'm kind of swimming with sharks. I wish I had the time to figure it out; I'm sure I could, but I just don't. That's why I'm looking for more concise instruction than the...
@padeed - sendmail documents that I've been painfully looking through - but thank you for that too. I'll have to try sending mail back and forth between users, you are right, I forgot the term, but everything is "relayed" to that outgoing smtp server and if I mess that up, I have no outgoing email - so they threat. I can tell you though that the configuration files for sendmail are in /etc/mail and they are like sendmail.cf &.mc (I know those should be made with m4) and "submit" with the same extensions. And some db files too. Dovecot I just found is version 1.0.7 and sendmail is 8.13.8 and was compiled with:
Compiled with: DNSMAP HESIOD HES_GETMAILHOST LDAPMAP LOG MAP_REGEX
MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6
NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF SOCKETMAP STARTTLS
TCPWRAPPERS USERDB USE_LDAP_INIT
I really appreciate any help. I would be totally willing to learn on my own if I had my own server and tons of time, but I don't. In the meantime, I'm just running an extra paid for email account in godaddy, but I'm sure my boss will want that changed. I also have a sneaking suspicion that he will want me to move ALL the websites we have in various places to this server and move ALL that email over too. I know I also need to learn about virtualusers for email too... right?
I don't have any spare time right now, but give this one a go. Should point you in the right direction to get up and running. Just be aware of inadvertently opening yourself up as a relay for the world.
Thank you! That looks like a step-by-step that'd be a lot more helpful for me! My other server [that was pre-configured] gets relay attempts everyday - I've blocked a lot of IP addresses. Thanks again!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.