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 04-09-2012, 10:50 PM   #1
ghandizzle8
Member
 
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
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,164

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
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
deep27ak
Senior Member
 
Registered: Aug 2011
Location: Bangalore, India
Distribution: rhel 5x,6.0,6.2, centOS 5x,6.0,6.2
Posts: 1,190
Blog Entries: 4

Rep: Reputation: 220Reputation: 220Reputation: 220
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: Dehradun, Uttarakhand, India
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,413

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


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
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


All times are GMT -5. The time now is 12:27 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration