Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 12-26-2006, 10:35 AM   #1
Registered: Dec 2006
Distribution: CentOS 4.4 (2.6.9-42.0.2.ELsmp)
Posts: 55

Rep: Reputation: 15
Do I need a Mail Server? What do I need?

I'm setting up a server with minimal users (probably 3-5 users) and services. Users will use it infrequently. The server will essential store data, which is to be downloaded infrequently.

From a cost perspective, and the fact that it could be located remotely, would like to set up the server such that it emails me the syslogs regularly (say daily) so that I can determine when & whether it needs attention.

The users on the machine do not need to use mail services on this machine. But I would like to mail out the syslogs. Do I need to setup and run a "mail server"? Something like sendmail or qmail?

Any tips/guidance would be much appreciated. Thanks.
Old 12-26-2006, 10:54 AM   #2
Senior Member
Registered: Oct 2003
Location: New York City
Distribution: Debian Sid 2.6.32
Posts: 2,100

Rep: Reputation: 49
2 things -

1) You don't need to set up a proper "mail server" in the sense of multiple domains/users and mailboxes. Either sendmail or exim4 can be installed during the build. Those are mail servers, but you really wouldn't need to do much/any configuration. If the only thing you want to have happen is for it to send you syslogs, and not receive mail from the internet, it can do that with super ease. Most of the articles on the web for setting up sendmail or qmail (which I use and love) are great, but also designed for setups of 10-1000+ users, not just a daemon sending out syslogs.

2) Depending on what it is that will be infrequently downloaded, setting up a server at a remote location is probably a big mistake. To download from a remote location, you are going to use up bandwidth at both sides for the transfer. Getting consistent speeds of 1 MB/s is costly, and to transfer several hundred MB files, you can see the problem. The best place for this machine would be in the office the people who need to access the files are in. Nothing crazy, you don't need a mouse, keyboard, or monitor attached. Just plug in the network cable to the network, and the power into the wall. Then folks can connect at 100 MB/s over the LAN cable, giving you literally a hundred times faster connection, and not using any outside (internet) bandwidth. You'd also have the choice of if you want to share the files through a website (apache2) or file sharing (samba/nfs).

Old 12-26-2006, 11:54 PM   #3
LQ Newbie
Registered: Apr 2006
Location: Australia
Distribution: Slackware
Posts: 20

Rep: Reputation: 0
You can set up sendmail to pass mail on to a smart host for sending on further. So on my machine sendmail simply passes any mail to my isp's smtp server.

I had to change only 2 lines in my file then recompile it with m4. Here are the lines I changed.

For getting mail on the same machine I use fetchmail to grab it from my isp's pop server.

PS this was on slackware I used the /usr/share/sendmail/cf/cf/ config file.

Last edited by peteaxon; 12-26-2006 at 11:55 PM.


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
Configure & Connect a Linux mail server from a windows mail clients digihall7 Linux - Networking 4 10-23-2006 12:21 PM
how to configure Linux mail client with existing mail server running on WindowsXP? Senthilvnr Linux - Networking 1 07-11-2006 12:02 AM
How to have limited mail on a linux server that support unlimited e-mail account mmh Linux - General 3 03-15-2006 06:52 AM
can we configure a Linux server with mail server,file server and web server kumarx Linux - Newbie 5 09-09-2004 06:21 AM
Mail Server Delimiter for alternate mail server venugopalmk Linux - Networking 2 04-29-2003 04:55 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:20 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration