CINXE.COM
Configurar Postfix (Linux) - IONOS Ayuda
<!DOCTYPE html> <html lang="es" class="no-js"> <head> <meta charset="utf-8"> <!-- This website is powered by TYPO3 - inspiring people to share! TYPO3 is a free open source Content Management Framework initially created by Kasper Skaarhoj and licensed under GNU/GPL. TYPO3 is copyright 1998-2024 of Kasper Skaarhoj. Extensions are copyright of their respective owners. Information and contribution at https://typo3.org/ --> <title>Configurar Postfix (Linux) - IONOS Ayuda</title> <meta http-equiv="x-ua-compatible" content="ie=edge"> <meta name="generator" content="TYPO3 CMS"> <meta name="description" content="Con Postfix puedeS gestionar Tus cuentas de e-mail de forma cómoda y segura bajo Linux. "> <meta name="robots" content="index,follow"> <meta http-equiv="content-type" content="text/html; charset=utf-8"> <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0,maximum-scale=1.0"> <meta property="og:type" content="article"> <meta property="og:site_name" content="IONOS Ayuda"> <meta property="og:title" content="Configurar Postfix (Linux) - IONOS Ayuda"> <meta property="og:url" content="https://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/"> <meta name="twitter:card" content="summary"> <meta name="pagetype" content="article"> <link rel="stylesheet" href="/ayuda/_assets/11ead071f9bbdd39bc01861cfe60def3/Css/FrontendServices.php?1731915830" media="all"> <link rel="stylesheet" href="https://ce1.uicdn.net/exos/framework/2.1/ionos.compat.min.css" media="all"> <link rel="stylesheet" href="/ayuda/typo3temp/assets/compressed/merged-5c1706bae00d89e924b7591d10c8b733-232b63af31a61ee66ef5a87873a3bfc4.css?1731916936" media="all"> <link rel="stylesheet" href="/ayuda/typo3temp/assets/compressed/merged-5510c76f5c01fe722e24d270647dc964-93186f343d39c97a7b717b4b99542557.css?1731916936" media="print"> <script src="/ayuda/typo3temp/assets/compressed/globalnavigation-0ff5e07cf7fb2dcc9ece4a2f25cd1a30.js?1731916936"></script> <script src="/ayuda/typo3temp/assets/compressed/login-a661f1b218d2f6c927992f4d3abab5ff.js?1731916936"></script> <script src="https://frontend-services.ionos.com/t/tag/IONOS/helpAndLearn.js" async="1" defer="defer" id="oaotag"></script> <script src="/ayuda/typo3temp/assets/compressed/merged-d6d80940e02f1fec823107d44144a109-7d62d0ceeca30618c438d2a30d74b32f.js?1731916945"></script> <link rel="shortcut icon" href="/favicon.ico" /> <meta name="application" content="unknown" /> <meta name="elastic" content="index" /> <meta name="application" content="unknown" /> <meta name="page-id" content="2437" /> <meta name="page-name" content="Configurar Postfix (Linux)" /> <meta name="search" content="1" /> <meta name="article-id" content="2437" /> <meta name="article-name" content="Configurar Postfix (Linux)" /> <meta name="topic-id" content="2434" /> <meta name="topic-name" content="Otros programas de e-mail" /> <meta name="category-id" content="2317" /> <meta name="category-name" content="E-mail" /> <meta name="lang" content="6" /> <meta name="user-state" content="" /> <meta name="category-enum" content="MAIL_OFFICE" /> <script type="text/javascript">if (document.querySelectorAll("meta[name='user-state']").length > 0) { document.querySelectorAll("meta[name='user-state']").item(0).setAttribute("content", document.cookie.indexOf("eue_ftk") !== -1 ? "customer" : "unknown"); }</script> <meta property="og:image" content="https://www.ionos.mx/ayuda/_assets/11ead071f9bbdd39bc01861cfe60def3/Images/ionos-logo.png"><meta property="pagelayout" content="pagets__article" /><meta property="siteurl" content="https://www.ionos.mx/ayuda/" /><script src="//cdn.ionos.de/hcp/9c2134ba72b4/b450de0cbe91/launch-41452919a9b8.min.js" async></script><script src="https://ce1.uicdn.net/js/sentry/6.4.1/bundle.tracing.min.js"></script> <script type="text/javascript"> window.sentryIntegration = { "dsn": "https://a7f15d11f3114882ac19a65f1291b94f@sentry.ionos.com/11", "release": "UNKNOWN@UNKNOWN", "env": "production" }; </script> <script src="/ayuda/_assets/202a0bd0811f39acbc77196677ca0869/JavaScript/sentryIntegration.js"></script><script>let pageId="2437";let language="6";</script> <link rel="canonical" href="https://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/"/> <link rel="alternate" hreflang="de" href="https://www.ionos.de/hilfe/e-mail/weitere-e-mail-programme/postfix-linux-einrichten/"/> <link rel="alternate" hreflang="de-AT" href="https://www.ionos.de/hilfe/e-mail/weitere-e-mail-programme/postfix-linux-einrichten/"/> <link rel="alternate" hreflang="de-DE" href="https://www.ionos.de/hilfe/e-mail/weitere-e-mail-programme/postfix-linux-einrichten/"/> <link rel="alternate" hreflang="en" href="https://www.ionos.com/help/email/other-email-programs/setting-up-postfix-linux/"/> <link rel="alternate" hreflang="en-CA" href="https://www.ionos.ca/help/email/other-email-programs/setting-up-postfix-linux/"/> <link rel="alternate" hreflang="en-GB" href="https://www.ionos.co.uk/help/email/other-email-programs/setting-up-postfix-linux/"/> <link rel="alternate" hreflang="en-US" href="https://www.ionos.com/help/email/other-email-programs/setting-up-postfix-linux/"/> <link rel="alternate" hreflang="es" href="https://www.ionos.es/ayuda/correo/otros-programas-de-correo/configurar-postfix-linux/"/> <link rel="alternate" hreflang="es-ES" href="https://www.ionos.es/ayuda/correo/otros-programas-de-correo/configurar-postfix-linux/"/> <link rel="alternate" hreflang="es-MX" href="https://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/"/> <link rel="alternate" hreflang="fr" href="https://www.ionos.fr/assistance/email/autres-programmes-de-courrier-electronique/configurer-postfix-linux/"/> <link rel="alternate" hreflang="fr-FR" href="https://www.ionos.fr/assistance/email/autres-programmes-de-courrier-electronique/configurer-postfix-linux/"/> <link rel="alternate" hreflang="it-IT" href="https://www.ionos.it/aiuto/e-mail/altri-client-email/configurare-postfix-linux/"/> </head> <body id="mx_page-2437" data-lang=""> <script type="text/javascript"> responsiveHeader(); var OAO = OAO || {}; OAO.q = OAO.q || {}; OAO.q.pageintegration = OAO.q.pageintegration || []; </script> <div class="page-content"> <div class="oao-navi-navigation oao-navi-light" xmlns:f="http://www.w3.org/1999/html"> <div class="oao-navi-left"> <div class="oao-navi-application-name"> <a class="oao-navi-app-name" href="https://www.ionos.mx/ayuda/"> <span class="oao-navi-app-logo"></span> <span> Centro de Ayuda </span> </a> </div> </div> </div> <main id="content" class="clearfix knowledge" data-iframe-height=""> <a class="skip-target" name="skip-to-content"></a> <header class="page-header page-header--narrow"> <div class="page-header__block"> <div class="breadcrumb"> <a href="/ayuda/" class="breadcrumb__item">Inicio</a> <a href="/ayuda/e-mail/" class="breadcrumb__item">E-mail</a> <a href="/ayuda/e-mail/mi-e-mail/" class="breadcrumb__item">Mi e-mail</a> </div> <h1 class="page-header__headline">Configurar Postfix (Linux)</h1> </div> </header> <div class="page-section page-section--narrow has-sticky-sidebar"> <div class="page-section__block"> <div class="grid"> <div class="grid-col grid-col--8 grid-col--medium-12 grid-col--small-12 grid-col--article"> <div class="sheet"> <section class="sheet__section sheet__section--activating" style="display: none;" id="displayDownloadPdfHint"> <p class="lead-paragraph">Utilice la función «Imprimir» al final de la página para crear un PDF.</p> </section> <section class="sheet__section"> <p class="lead-paragraph">Con Postfix puedes gestionar tus cuentas de e-mail de forma cómoda y segura bajo Linux.</p> </section> <section id="c85799" class="sheet__section sheet__section--activating"> <h4 class="headline headline--paragraph"> Requisitos </h4><p class="topic-page-element blockelement">Por favor, asegúrate de que los siguientes módulos están instalados en tu computadora además de Postfix en caso de que uses SuSE Linux.</p><p class="topic-page-element blockelement"> </p><p class="content-paragraph"><strong>Para Postfix 1.x</strong></p><ul class="content-list check-list"><li>postfix-tls</li><li>libsasl- modules-plain</li><li>sasl-bin</li><li>ibsasl-digestmd5-plain</li></ul><p class="content-paragraph"><strong>Para Postfix 2</strong></p><ul class="content-list check-list"><li>cyrus-sasl</li><li>postfix</li></ul> </section> <section id="c85801" class="sheet__section "> <ul class="content-list ordered-list"><li class="content-paragraph">Edita el archivo de configuración <strong>/etc/postfix/main.cf</strong> como sigue:<p class="code-snippet">relayhost = smtp.ionos.mx:587<br> smtp_sasl_auth_enable = yes<br> smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd<br> smtp_sasl_security_options = noanonymous<br> smtp_use_tls = yes</p><p class="content-paragraph"></p></li><br><li class="content-paragraph"><p class="content-paragraph">Si aún no existe, crea el archivo <strong>/etc/postfix/sasl_passwd</strong> e introduce los datos de acceso para tu buzón de e-mail como se indica a continuación:</p><p class="code-snippet">smtp.ionos.mx mail@tu-dominio.mx:mypass</p><p class="content-paragraph">Sustituye la información del ejemplo "mail@tu-dominio.mx" y "mypass" por la dirección de e-mail correspondiente y la contraseña de esta cuenta de e-mail.</p></li><li class="content-paragraph"><p class="content-paragraph">Ahora deberías cambiar los derechos de acceso para que sólo "root" pueda ver y editar el archivo. Esto se hace con el comando:</p><p class="code-snippet">chmod 600 /etc/postfix/sasl_passwd</p><p class="content-paragraph"> Los permisos deberían tener el siguiente aspecto:</p><p class="code-snippet">-rw------ root root</p></li><br><li class="content-paragraph"><p class="content-paragraph">Convierte el archivo al formato .db utilizado por Postfix:</p><p class="code-snippet">postmap /etc/postfix/sasl_passwd</p><p class="content-paragraph"> Y reinicia Postfix:</p><p class="code-snippet">/etc/init.d/postfix reload</p></li></ul> </section> <hr class="sheet__separator survey" /> <section class="sheet__section sheet__section--secondary"> <script type="text/javascript" id="oao_feedback_script"> var OAO = OAO || {}; OAO.q = OAO.q || {}; OAO.q.ias = OAO.q.ias || []; OAO.q.ias.push(['setApplication', "HELP_CENTER"]); OAO.q.ias.push(['setPage', "SetupAssistant"]); </script> <a id="oao_feedback_link" class="oao-decision-survey" data-oao-decision-survey-type="helpful-article" data-oao-decision-survey-id="help_2437" data-oao-decision-survey-context="hosting" ></a> </section> </div> </div> <div class="grid-col grid-col--4 grid-col--medium-hidden grid-col--small-hidden grid-col--article-sticky-sidebar"> </div> </div> </div> </div> </main> <footer class="page-footer" id="footer-container"> <div id="print-view-footer-info" class="hidden"> <p id="info-text" class="content-paragraph">Este documento está disponible en línea en la siguiente dirección:</p> <p class="content-paragraph"><a href="https://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/">https://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/</a></p> </div> <div class="page-footer__block"> <section class="page-footer__section page-footer__section--align-center"> <div class="page-footer__section-item"> <div class="card-block"> <a class="link-standard button-icon-before print-icon copy-text-e1" href="t3://page?uid=current#print">Imprimir página</a> </div> </div> <div class="page-footer__section-item"> </div> <div class="page-footer__section-item"> <div class="card-block"> <a href="https://x.com/ionos_ayuda_mx" class="link-share" target="_blank"> <img title="X icon" src="https://www.ionos.mx/ayuda/_assets/11ead071f9bbdd39bc01861cfe60def3/Icons/x-twitter-no-background.png" width="32" height="32" alt="X icon" /> </a> <a href="http://ionos.ly/IONOS_FB_MX" class="link-share icon-font facebook-icon" target="_blank"></a> <a href="mailto:?subject=Configurar%20Postfix%20%28Linux%29&body=Hola%2C%0A%0Aaqu%C3%AD%20podr%C3%A1s%20encontrar%20informaci%C3%B3n%20%C3%BAtil%20y%20consejos%20de%201%261%20IONOS%3A%0A%0Ahttps://www.ionos.mx/ayuda/e-mail/otros-programas-de-e-mail/configurar-postfix-linux/%0A%0A%C2%A1Saludos%21%0A" class="link-share icon-font friend-icon reveal-title-by-hover link-recommend" title="Enviar página por e-mail"></a> </div> </div> </section> <hr class="page-footer__seperator"/> <section class="page-footer__section page-footer__section--align-center"> <div class="page-footer__section-item page-footer__section-item--small-hidden"> <h2 class="subheadline-b2">Aplicación móvil IONOS</h2> </div> <div class="page-footer__section-item"> <a class="appstore image-hover link-standard copy-text-e1" href="https://itunes.apple.com/app/1-1-hosting-manager/id1080444849?ct=cp.footer&pt=335853&mt=8" target="_blank"> <span class="hosting-manager copy-text-e1"></span> </a> </div> <div class="page-footer__section-item"> <a class="playstore image-hover link-standard copy-text-e1" href="https://play.google.com/store/apps/details?id=com.oneandone.ciso.mobile.app.android&referrer=utm_source%3Dcp%26utm_campaign%3Dfooter" target="_blank"> <span class="hosting-manager copy-text-e1"></span> </a> </div> </section> <hr class="page-footer__seperator"/> <section class="page-footer__section page-footer__section--align-center"> <div class="page-footer__section-item page-footer__section-item--small-hidden"> <div class="oao-statuspage-overall-status"></div> </div> <div class="page-footer__section-item"> <a href="https://www.ionos.mx" class="link-standard copy-text-c1">IONOS Inc.</a> • 2024 </div> <div class="page-footer__section-item"> <ul class="subheadline-b2"><li><a href="https://www.ionos.mx/terms-gtc/index.php?id=1" class="link-standard copy-text-c1">T&C</a></li><li><a href="https://www.ionos.mx/terms-gtc/index.php?id=516" class="link-standard copy-text-c1">Política de privacidad</a></li><li><a href="https://www.ionos.mx/empresa" class="link-standard copy-text-c1">empresa</a></li><li><a href="https://www.ionos.mx/digitalguide/" class="link-standard copy-text-c1">Digital Guide</a></li></ul> </div> </section> </div> </footer> </div> <div class="script-tag-container" style="display: none; position: absolute; bottom: 0; left: -10px; width: 0; height: 0;"> <script type="text/javascript"> doResponsiveThings(); </script> </div> <script src="https://ce1.uicdn.net/js/jquery-3.4.0.min.js"></script> <script src="/ayuda/typo3temp/assets/compressed/merged-cd22c680f0b945083814ce78d0b1e05a-feb29988ec7929cfc89574f20e886156.js?1731916936"></script> <script type="text/javascript">if(typeof _satellite !== 'undefined'){_satellite.pageBottom();}</script> </body> </html>