Welcome to the most active Linux Forum on the web.
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 04-09-2012, 10:50 PM   #1
Registered: Jun 2010
Posts: 30

Rep: Reputation: 0
Linux SMTP Server

Good Day All,

I know that linux accomodates various free smtp servers/tools. e.g. sendmail, postfix, e.t.c.

How do i configure/install sendmail or postfix to work?

Another question, would mails from sendmail be considered spam? If so, how do i mitigate against that?

Thanks in advance,
Old 04-10-2012, 03:14 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
This question is far too broad to receive a useful answer. In general, you would pick out a SMTP server, read its documentation, and get it working the way you want it. Entire books can (and have) been written about this, so it's not really a good topic for a forum post. If you have a more specific question, that would be better. Speaking personally, I prefer Postfix but have more experience with sendmail. Mercifully, though, I have not had to administer an SMTP server for a number of years; it's not a trivial job, even for someone experienced.

In answer to your second question, if you run a mail server from a residential IP, it's likely that some sites will consider your mail spam. You may even be violating your ISP's terms of service and thus are at risk for having your service cancelled. If you misconfigure your server to relay mail for anyone, it's likely to become a spam relay and will be blacklisted. If you must run a mail server, get a hosting provider to host it or get a business class network connection so it is not on residential IP space and configure it properly so as to avoid becoming an open relay.
Old 04-10-2012, 03:22 AM   #3
Senior Member
Registered: Aug 2011
Location: Bangalore, India
Distribution: RHEL 7.x, SLES 11 SP2/3/4
Posts: 1,195
Blog Entries: 4

Rep: Reputation: 221Reputation: 221Reputation: 221
As per the configuration of smtp server is concerned you can get a bunch of guides on google.

I don't have much experience on working with postfix as I use sendmail

As far as spams are concerned, all it depends on port no you use for smtp server which is by default 25 but obviously you can change the port no. to some random port for sendmail and also you can install MailScanner, SpamAssassin, and ClamAV to protect your mail server

follow this link for further help

How to set up a home email server
Old 04-10-2012, 03:15 PM   #4
Satyaveer Arya
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
You didn't mention on which OS you want to configure mail server.
And if you search on google "how to configure sendmail/postfix on linux" you'll get lots of links. First you can take help for installing and configuring from there. If you face any issues while installing or configuring then again search for that on google, if still that doesn't work then you can take help from here.


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
how to use sendmail as smtp server instead of my isp smtp server h.haider Red Hat 8 04-07-2011 04:34 AM
How i use my local smtp server and smtp server of my domain registrar simultaniosly Sanjeesh Linux - Networking 5 11-29-2008 06:07 AM
can I use sendmail for SMTP instead of my ISP's SMTP server? fcdev Linux - Networking 1 02-05-2007 02:27 AM
SMTP Server in Linux Sabeer Linux - Networking 1 10-21-2003 02:07 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:35 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