Configurando servidor de correo

Primero vamos a colocar las IPs y el DNS, en este caso

IP: 192.168.20.61

PE: 192.168.20.1

DNS: 192.168.20.251

En CentOS descargamos los paquetes

sendmail      ##rpm -y install sendmail

dovcot  ##rpm -y install dovcot

cyrus-sasl-plain  ##rpm -y install cyrus-sasl-plain

cyrus-sasl-md5  ##rpm -y install cyrus-sasl-md5

make  ##rpm -y install make

m4  ##rpm -y install m4

* Ahora debemos configurar el archivo /etc/hosts de a siguiente manera:

luego configuramos el archivo /etc/sysconfig/network. de manera que quede así:

Reiniciamos el servicio network, así:

Editamos la lìnea 116 del archivo  /etc/mail/sendmail.mc; de manera que quede así:

En la lìnea 265 de /etc/mail/sendmail.cf; se tiene que colocar lo remarcado:

Hacemos vim /etc/dovecot.conf y editamos la línea 20 de manera que quede así:

Editamos el archivo /etc/mail/local-host-names, para que quede de esta forma:

Finalmente reiniciar el servicio endmail, así:

Haciendo las pruebas:::

About Julita Inca

System Engineering degree at UNAC, Computer Science Masters at PUCP, High Performance Masters at University of Edinburgh, Winner OPW GNOME 2011, GNOME Foundation member since 2012, Fedora Ambassador since 2012, winner of the Linux Foundation scholarship 2012, Linux Admin at GMD 2012, IT Specialist at IBM 2013. Academia experience in lecturing at PUCP, USIL and UNI Peru (2010-2018). HPC intern at ORNL 2018. HPC Software Specialist at UKAEA since 2020. Tech Certifications: RHCE, RHCSA, AIX 6.1, AIX 7 Administrator, and ITILv3. Leader of LinuXatUNI Community, Creator of the "Mujeres Imperfectas | I'm perfect woman" channel, Reviewer of the Technological Magazine of ESPOL-RTE, Online trainer at BackTrackAcademy, blogger, photographer, IT-Linux-HPC-science worldwide speaker, graphic designer, researcher, content creator, press communicator... a simple mortal, just like you!
This entry was posted in τεχνολογια :: Technology, networking and tagged , , , , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s