LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-08-2008, 08:58 AM   #1
lucmohamed
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Rep: Reputation: 0
Exclamation how to setup a mail server with sendmail


Hi everyone. It's my first time to post a thread on this website. Ok.
I'm the IT manager for a small entreprise. I try since 2 months to setup a samba server, a DNS server, a http server and a stmp server. all others servers are ok except the smtp server. I choose sendmail as MTA but really it's to difficult very to setup with it. this is the reason why i post this thread.
let's me explain the situation. all of employees have an email account provided by an ISP and it looks like xxx@ISP.tld. what we want is to setup a our own smtp server with emails like xxxx@ourdomainname.tld. for that we got an official domain name from the ISP. I think i explained the situation so i'm waiting forward yours helps. Thanks.
 
Old 04-08-2008, 10:10 AM   #2
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
YOu have not stated what exactly your problem is. You have merely told us that you have an idea of what you want but this does not relate in anyway to the problem you have....which as you can see you have note elaborated..

Do you want details of how to set up a mail server using sendmail? If so what distro dyou want to use? Number of users......


Get my drift?
 
Old 04-08-2008, 11:44 PM   #3
lucmohamed
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by immortaltechnique View Post
YOu have not stated what exactly your problem is. You have merely told us that you have an idea of what you want but this does not relate in anyway to the problem you have....which as you can see you have note elaborated..

Do you want details of how to set up a mail server using sendmail? If so what distro dyou want to use? Number of users......


Get my drift?
excuse me i left the forum. As you said yes i want details of how to set up a mail server with sendmail with information i said. I'm using Redhat as distro and the number of users is about 40 in the entreprise. i apologize again for my delaying. thanks.
 
Old 04-09-2008, 07:31 AM   #4
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Quote:
Originally Posted by lucmohamed View Post
Hi everyone. It's my first time to post a thread on this website. Ok.
I'm the IT manager for a small entreprise. I try since 2 months to setup a samba server, a DNS server, a http server and a stmp server. all others servers are ok except the smtp server. I choose sendmail as MTA but really it's to difficult very to setup with it. this is the reason why i post this thread.
let's me explain the situation. all of employees have an email account provided by an ISP and it looks like xxx@ISP.tld. what we want is to setup a our own smtp server with emails like xxxx@ourdomainname.tld. for that we got an official domain name from the ISP. I think i explained the situation so i'm waiting forward yours helps. Thanks.
Ok so you want to install a mail server. You have to ask yourself a few questions before going through with it:

1- Is sendmail the answer to a small mail server ?

I'd quickly say no. Most admins nowadays use easier (I might get bashed for this) MTA's as sendmail is huge, old and clunky. I'd suggest postfix or exim. Very easy to configure and tons of documentation.

2- Do you have local users or do you need a database ?

Do you have Active Directory in your small enterprise ? LDAP ? If so, integration from postfix to AD can be tedious. LDAP is easy. If not, move on to next question.

3- Does your ISP let port 25 outgoing ?

Probabilities are that yes they do seeing as you must have a commercial internet connection. I'd test from my server to make sure, something like: telnet <isp mail server> 25.

There you have my 2 cents.

Cheers,
 
Old 04-09-2008, 09:08 AM   #5
lucmohamed
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mtimbro View Post
Ok so you want to install a mail server. You have to ask yourself a few questions before going through with it:

1- Is sendmail the answer to a small mail server ?

I'd quickly say no. Most admins nowadays use easier (I might get bashed for this) MTA's as sendmail is huge, old and clunky. I'd suggest postfix or exim. Very easy to configure and tons of documentation.

2- Do you have local users or do you need a database ?

Do you have Active Directory in your small enterprise ? LDAP ? If so, integration from postfix to AD can be tedious. LDAP is easy. If not, move on to next question.

3- Does your ISP let port 25 outgoing ?

Probabilities are that yes they do seeing as you must have a commercial internet connection. I'd test from my server to make sure, something like: telnet <isp mail server> 25.

There you have my 2 cents.

Cheers,
ok. sendmail is the most difficult MTA. I thought for leaving Sendmail to another MTA. i'm feed up about it. Postfix is more secure than sendmail?.
supposing I took Postfix, how can i setup Postfix in my situation. thanks
 
Old 04-09-2008, 09:11 AM   #6
mtimbro
Member
 
Registered: Feb 2008
Location: Montreal, Canada
Distribution: RedHat 3/4, Ubuntu 7.10
Posts: 86

Rep: Reputation: 15
Lightbulb Postfix

Hi there,

http://www.postfix.org/BASIC_CONFIGURATION_README.html

Here is a quick and simple howto. Install the postfix package and then give this a shot.
 
Old 04-09-2008, 09:18 AM   #7
lucmohamed
LQ Newbie
 
Registered: Mar 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mtimbro View Post
Hi there,

http://www.postfix.org/BASIC_CONFIGURATION_README.html

Here is a quick and simple howto. Install the postfix package and then give this a shot.
ok thanks mtimbro. I'll keep you in touch about the situation. again thanks.
 
  


Reply



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
Setup sendmail to send outgoing mail to relay server markdjones82 Linux - Enterprise 2 01-31-2008 02:46 AM
Help me guide to setup mail server as a mail-gateway use spamassasin (use sendmail) adcom99 Linux - Newbie 1 11-03-2007 03:47 PM
mail server setup fc4 (postfix, qmail with mysql 5?) sendmail dtra Linux - Software 1 04-10-2006 10:17 PM
how do I setup/access sendmail mail boxes vrooom305 Fedora 1 08-23-2005 09:57 AM
sendmail mail queue setup gdelaney Linux - Networking 2 06-18-2004 10:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

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