LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to setup a mail server with sendmail (https://www.linuxquestions.org/questions/linux-server-73/how-to-setup-a-mail-server-with-sendmail-633917/)

lucmohamed 04-08-2008 08:58 AM

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.

immortaltechnique 04-08-2008 10:10 AM

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?

lucmohamed 04-08-2008 11:44 PM

Quote:

Originally Posted by immortaltechnique (Post 3114699)
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.

mtimbro 04-09-2008 07:31 AM

Quote:

Originally Posted by lucmohamed (Post 3114623)
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,

lucmohamed 04-09-2008 09:08 AM

Quote:

Originally Posted by mtimbro (Post 3115693)
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

mtimbro 04-09-2008 09:11 AM

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.

lucmohamed 04-09-2008 09:18 AM

Quote:

Originally Posted by mtimbro (Post 3115797)
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.


All times are GMT -5. The time now is 04:36 PM.