General discussion

Locked

sendmail configuration

By rajaroychoudhury ·
I need some help in configuring sendmail in linux.
I will explain you my setup

Our mail server is hosted by third pary. We are having leased line from our ISP. Hence we were using our ISPs smtp server to send all mail. e.g (smtp.isp.net.in).
To receive mails we mention our pop server name in the Microsoft Outlook and the ISPs smtp server name in the Outgoing properties. With this we have no issues.

But now since our ISP is not ready to provide the SMTP service we are thinking of setting our own SMTP server in the Linux box using Sendmail.

So that we can send mails through our linux box using its SMTP service.
Please let me know how to configure the SMTP server in Sendmail in Redhat Linux v7.x
Please let me know if you require any further info.

Thanks in Advance.
Regards,
Raja

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

sendmail configuration

by cpfeiffe In reply to sendmail configuration

By default you have SMTP service enabled in Linux if you do a base install. To be able to send mail all you need to do is have your SMTP server and the clients you are sending the mail from (through the SMTP server) be in the same DNS domain. Otherwise you will have to relay and this is not recommended for internet facing mail servers. Then in your DNS server you need to include an MX record for you mail server. It would look something like 'yourdomain.com. IN MX 5 linxserver.domain.com.'.After that point all of your mail clients to the mail server as their mailhost (In unix add a line to the /etc/hosts file that reads 'linux.server.ip.address linuxserver mailhost'). In Windows this will depend on your mail client.

Back to Linux Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums