Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Mail server setup
fullur
post Jun 10 2006, 02:14 PM
Post #1


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Could someone point me in the direction of a good (preferably idiot proof tongue.gif ) guide for setting up a mail server please? I am using Fedora Core 5 in case that matters. Also somewhere to get instructions for how to use MX Records would be good. smile.gif

Oh yeah, it's an apache web server. wacko.gif


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
fullur
post Jun 13 2006, 02:11 AM
Post #2


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



K, so I downloaded webmin and logged into it. In a word; daunting. I have no idea where to start or if I even need to change anything. Anybody able to point me in the right direction?


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
DS2K3
post Jun 13 2006, 04:24 AM
Post #3


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Webmin has an excellent module for configuring postfix (under servers), which is pretty well documented. Help is available for most fields by clicking the text which describes it.

So, I would start by isntalling postfix. After that, just work your way through the Postfix module reading the docs and deciding if you need to change it from the default. Most people only need to alter the first few settings under "General Options" but you should make sure that the server is properly zsecured to prevent people from using it to send Spam. Ideally, it would only accept outgoing mail from within the LAN.


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
fullur
post Jun 24 2006, 05:22 PM
Post #4


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



I found out that I was trying to set up the wrong thing (for the moment). What I was actually trying to set up is a POP3/IMAP server. I want to set up SMTP as well but I want to get this done first. I think I have settled on Dovecot unless someone has a better suggestion. When I get to it I will be using Postfix for SMTP. What I need is something that provides instructions on how to set up dovecot and also some kind of information on what my MX records should look like. I tried searching for this stuff but what I found was not very helpful. Anyway, if anyone could help me out I would appreciate it.


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
fullur
post Jul 10 2006, 11:13 AM
Post #5


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Anybody got any ideas on this? Or maybe somewhere I could look or ask? I've tried a few web searches but was not able to find anything I could use.


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
jayakrishnan
post Jul 11 2006, 03:35 AM
Post #6


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 22-June 06
Member No.: 6,610



If you want to learn, the best way is thru command line and reading thru tutorials/man pages
Go to the top of the page
 
+Quote Post
fullur
post Jul 11 2006, 07:17 PM
Post #7


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



QUOTE (jayakrishnan @ Jul 11 2006, 03:35 AM) *
If you want to learn, the best way is thru command line and reading thru tutorials/man pages


Okay, could you suggest a place with a good tutorial? I have tried the "dive in" method of learning and it just doesn't work for me.


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
jayakrishnan
post Jul 12 2006, 01:31 AM
Post #8


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 22-June 06
Member No.: 6,610



Depends on which MTA u want to setup.

QMail , sendmail , postix, Exim , which one?

www.lifewithqmail.com for qmail
Go to the top of the page
 
+Quote Post
DS2K3
post Jul 12 2006, 02:02 PM
Post #9


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Once you have isntalled the dovecot package, just open the config file (/etc/dovecot.conf for me, but it might be somehwer else in /etc for you). It is pretty well commented, and you may well not need to edit it. Just amke sure that all your mail servers (SMTP and IMAP/POP) use the ssame strage method - Either maildir (which is newer and preferable in a lot of situations) or the old style single-file approach. If you use maildir, pick a directory name (i use .mail, but a lot of systems use MAil by default [ a subdir of the users home directory]) and then stick with it.

The official dovecot site should have more than enough info to get it up and running.

I don't reccomend that you use your own MX records - Instead you are probably better off using something like ZoneEdit (or whatever you curretnly manage your domain name with) to forward mail for your domain to another address. If your server goes down, and you have no backup, the mail will just start to bounce and you might not get something important.

D


http://wiki.dovecot.org/BasicInstall is probably what you need.

For Postfix, the webmin module has good documentation for most options, and you normally only need to edit the first few options.

QUOTE
Postfix has about 100 configuration parameters that are controlled through configuration files. Fortunately, they have sensible default values. In most cases, you need to configure only the three parameters presented here in Most Useful General options before you can actually use the Postfix mail system


D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
fullur
post Jul 13 2006, 10:50 AM
Post #10


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Okay. I am actually working on that now. I couldn't find any good guides to the setup. (Maybe that's because it's simple enough a trained monkey could do it. Unfortunately, I am not trained. tongue.gif ) What I did find basically pointed me to the quick setup stuff on the respective program's site. Anyway, thanks for the assistance. I will report back here when I have gotten it all set up.


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
fullur
post Jul 16 2006, 11:26 PM
Post #11


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Could someone provide me with a copy of the default Dovecot FC5 config file? I messed up the configuration so that I can't even start the service now and I don't know what it was like when it was working. tongue.gif


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
DS2K3
post Jul 17 2006, 11:44 AM
Post #12


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



Uninstall, then reinstall it

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
fullur
post Jul 17 2006, 01:08 PM
Post #13


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



QUOTE (DS2K3 @ Jul 17 2006, 11:44 AM) *
Uninstall, then reinstall it

D


That's actually what I was thinking, unfortunately I seem to have screwed up YUM so that it is unusable (I get a cElementTree error) and when I run ./configure on src packages it tells me that there is no acceptable compiler available, which keeps me from being able to install anything at all. (I have this all in another thread - YUM is screwed - as well) I am hoping to avoid having to re-install Fedora.


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
fullur
post Jul 17 2006, 02:32 PM
Post #14


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



I managed to get ahold of a copy of the default configuration file. So my Dovecot is back up. I'm still not really sure how I messed it up to begin with... now, back to trying to get it to work the way I wan it to. cool.gif


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
g33k
post Jul 19 2006, 12:47 AM
Post #15


./configure
***

Group: Support Specialist
Posts: 84
Joined: 18-June 06
Member No.: 6,568



QUOTE (fullur @ Jul 18 2006, 01:02 AM) *
I managed to get ahold of a copy of the default configuration file. So my Dovecot is back up. I'm still not really sure how I messed it up to begin with... now, back to trying to get it to work the way I wan it to. cool.gif

I think you can get hold of the configuration examples for dovecot in
CODE
/usr/share/docs/dovecot-xxxx


--------------------
-- a *certified* n00b

"The best is Yet to come !"

My Desktop : OpenSuSE 10.1 | FVWM-Crystal | MPD | Gaim | Opera | Mrxvt
Go to the top of the page
 
+Quote Post
Nidhin Tomson
post Jul 19 2006, 06:00 AM
Post #16


Whats this Lie-nix Thing?
*

Group: Members
Posts: 2
Joined: 19-July 06
Member No.: 6,794



www.qmailrocks.org is a good place to start with if u like to use qmail as the MTA
Go to the top of the page
 
+Quote Post
fullur
post Jul 20 2006, 12:38 AM
Post #17


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Okay, so I think I had an epiphany! Is the SMTP server the one that handles receiving mail as well? In which case the pop3/imap would just handle serving the emails to remote locations? So when I said that I wanted to get dovecot set up first I was really showing just how much of a n00b I am... tongue.gif Oh well...


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post
jayakrishnan
post Jul 20 2006, 05:58 AM
Post #18


Whats this Lie-nix Thing?
*

Group: Members
Posts: 7
Joined: 22-June 06
Member No.: 6,610



u will need an SMTP server like Qmail, sendmail, Exim to setup a mail server, then u will need a pop server to enable pop access
Go to the top of the page
 
+Quote Post
DS2K3
post Jul 20 2006, 11:59 AM
Post #19


Its GNU/Linuxhelp.net
*******

Group: Support Specialist
Posts: 1,284
Joined: 14-November 04
From: Southampton, Hampshire
Member No.: 4,165



SMTP handles all mail routing between servers. The only time POP or IMAP are used is when a client tries to get email. There is nothing wrong with setting up dovecot first, you can still test it out by sending mail internall using the sendmail program (which implements enough SMTP to send emails to remote and local users).

D


--------------------
Fixed your problem? Let us know!
richard@linuxhelp.net

www.Gathr.co.uk Online Event Management
Go to the top of the page
 
+Quote Post
fullur
post Jul 21 2006, 12:42 PM
Post #20


./configure
***

Group: Members
Posts: 50
Joined: 24-September 05
Member No.: 5,549



Wanted to let everyone know that my email server is up and running. It's a wonderful feeling to look at an email and know that you set up the process by which it was delivered. biggrin.gif Thanks for all the help. I still need to get my AV and my SPAM blocking program integrated, my attempts with amavis were not what you could call successful...

Anyway, I was going through my logs this morning and came across this:

QUOTE
Out: 220 mail.spiggyman.info ESMTP Postfix
In: HELO jordan.pp.org.pl
Out: 250 mail.spiggyman.info
In: MAIL FROM: <paypal@paypal.com>
Out: 250 Ok
In: RCPT TO: <bebedulcik@yahoo.com>
Out: 554 <bebedulcik@yahoo.com>: Relay access denied
In: DATA
Out: 554 Error: no valid recipients
In: Subject: 24.21.65.98
Out: 221 Error: I can break rules, too. Goodbye.


Is that as bad as it looks? Was someone else trying to use my computer to scam someone? I realized that while trying to get things set up I had opened up telnet on my firewall and did not turn it back off. I have now but is there something more that I need to do to prevent this sort of thing in the future?


--------------------
Fedora Core 5
AMD Athlon XP 2400+
768 MB PC266 RAM
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 12th December 2017 - 02:58 PM