LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 05-15-2012, 03:13 PM   #1
Freddythunder
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Rep: Reputation: Disabled
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!
 
Old 05-16-2012, 11:40 AM   #2
rfrye7533
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Maybe it's possible to set up webmin
 
Old 05-16-2012, 11:44 AM   #3
rfrye7533
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
Go to

http://www.webmin.com/

You will probably have to download the .tar file and do a standard Linux command line installation

HTH
 
Old 05-16-2012, 12:05 PM   #4
Freddythunder
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
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?
 
Old 05-16-2012, 05:57 PM   #5
rfrye7533
LQ Newbie
 
Registered: Jun 2011
Posts: 3

Rep: Reputation: Disabled
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.
 
Old 05-16-2012, 08:18 PM   #6
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
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.

The sendmail docs are pretty easy once you know where to look. http://www.sendmail.com/sm/open_sour...querading.html

We need to know your distribution and version to help any further, because we don't know where your config files are.

All this assumes you have root access.
 
Old 05-16-2012, 08:59 PM   #7
Freddythunder
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
@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?

Thanks again!
 
Old 05-18-2012, 12:56 AM   #8
padeen
Member
 
Registered: Sep 2009
Location: Perth, W.A.
Distribution: Slackware, Debian, Gentoo, FreeBSD, OpenBSD
Posts: 208

Rep: Reputation: 41
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.

http://shebangme.blogspot.com.au/201...il-to-use.html
 
Old 05-18-2012, 01:01 PM   #9
Freddythunder
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Original Poster
Rep: Reputation: Disabled
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!
 
Old 10-07-2015, 05:58 PM   #10
jobair121
LQ Newbie
 
Registered: Sep 2014
Posts: 17

Rep: Reputation: Disabled
Quote:
Originally Posted by rfrye7533 View Post
Maybe it's possible to set up webmin
webmin work with ip routing?
how to send each email from different ip? have any idea, please shere here...








Master Reseller Hosting
 
  


Reply


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
YUM problem on Godaddy Linux virtual dedicated server gcorns Linux - Newbie 1 04-19-2011 02:13 PM
Best, cheap, solution for a medium-load, dedicated email server tibberous Linux - Server 5 01-14-2011 11:44 PM
Setting up a email server mpls Linux - Server 1 07-28-2008 09:22 AM
Recommendation of dedicated email blasting server? StevenO General 4 09-28-2007 02:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration