BandaAncha.eu

  • 🔍 en 📰 artículos ⏎
  • 🔍 en 💬 foros ⏎
  • 🔍 en 👇 este 💬 foro ⏎
  • 🔍 en 👇 este 💬 tema ⏎
Regístrate Regístrate Identifícate Identifícate

Postfix no reconoce el correo de mi dominio

dakotabcn

Tengo un problema con mi servidor de correo. Desde que actualize a Ubuntu 22 LTS no reconoce el propio dominio del correo. Envío un correo desde Gmail y me dice que no reconoce mi dominio. Llevo mucho tiempo sin tocar esto y no se donde esta el fallo.

También veo que gmail bloquea mi dominio por las entradas SPF y DKIM, pero esto ya lo solucionare otro dia, me interesa mas poder recibir el correo y no se que falla (que seguro sera una chorrada).

Apr 22 00:00:44 localhost postfix/smtpd[12149]: connect from mail-yb1-f170.google.com[209.85.219.170]
Apr 22 00:00:45 localhost policyd-spf[12273]: prepend Received-SPF: Pass (mailfrom) identity=mailfrom; client-IP=209.85.219.170; helo=mail-yb1-f170.google.com; envelope-from=xxxxx@gmail.com; receiver=<UNKNOWN>
Apr 22 00:00:45 localhost postfix/smtpd[12149]: B5199624B3: client=mail-yb1-f170.google.com[209.85.219.170]
Apr 22 00:00:45 localhost postfix/cleanup[12274]: B5199624B3: message-id=<cafdrdmcq83p5e3=gk2d=urd6sayr-2z719l7vwbbfz3cappq6a@mail.gmail.com>
Apr 22 00:00:45 localhost postfix/qmgr[12144]: B5199624B3: from=<xxxxom>, size=2923, nrcpt=1 (queue active)
Apr 22 00:00:45 localhost postfix/smtp[12275]: B5199624B3: to=<dakota@midominio.net>, relay=none, delay=0.77, delays=0.75/0.01/0.02/0, dsn=5.4.4, status=bounced (Host or domain name not found. Name service error for name=localhost type=A: Host not found)
Apr 22 00:00:45 localhost postfix/cleanup[12274]: C934A634BB: message-id=<20230421220045.C934A634BB@dakotamail>
Apr 22 00:00:45 localhost postfix/bounce[12276]: B5199624B3: sender non-delivery notification: C934A634BB
Apr 22 00:00:45 localhost postfix/qmgr[12144]: C934A634BB: from=<>, size=4888, nrcpt=1 (queue active)
Apr 22 00:00:45 localhost postfix/qmgr[12144]: B5199624B3: removed
Apr 22 00:00:46 localhost postfix/smtp[12277]: C934A634BB: to=<xxxx@gmail.com>, relay=gmail-smtp-in.l.google.com[108.177.15.27]:25, delay=0.65, delays=0.02/0.01/0.31/0.31, dsn=5.7.26, status=bounced (host gmail-smtp-in.l.google.com[108.177.15.27] said: 550-5.7.26 This mail is unauthenticated, which poses a security risk to the 550-5.7.26 sender and Gmail users, and has been blocked. The sender must 550-5.7.26 authenticate with at least one of SPF or DKIM. For this message, 550-5.7.26 DKIM checks did not pass and SPF check for [] did not pass with IP: 550-5.7.26 [81.184.6.59]. The sender should visit 550-5.7.26 https://support.google.com/mail/answer/81126#authentication for 550 5.7.26 instructions on setting up authentication. e27-20020a5d595b000000b002fe58009816si3417713wri.249 - gsmtp (in reply to end of DATA command))
Apr 22 00:00:46 localhost postfix/qmgr[12144]: C934A634BB: removed

Solución

Me faltaba estas dos lineas en mi main.cf:

lmtp_host_lookup = native
smtp_host_lookup = native

Ahora a solucionar lo del SPF y el DKIM.