Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

NXDOMAIN error by Gmail

Wed Nov 23, 2016 1:59 pm

I installed gmail on my RPI.

After that I do receive every week a error mail named and giving:

Code: Select all

Delivery to the following recipient failed permanently:

      postmaster@raspberrypi-1

 Technical details of permanent failure:
 DNS Error: 124760406 DNS type 'mx' lookup of raspberrypi-1 responded with code NXDOMAIN
 Domain name not found: raspberrypi-1


 ----- Original message -----

 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
         d=gmail.com; s=20120113;
         h=message-id:from:date:to:subject:mime-version
          :content-transfer-encoding;
         bh=4yOG03cMbyTGx1B7oNyAICwDj42G7bYEMTzfRihbet0=;
         b=MJlBx9mN6q1lhJgCi+rIiylOWcxohDGznPafP8DThLh9IpsrDAWbZeV9FtxaCh7vjx
          Y9XAgRcrh4JcbJgvfwQvw85iw1rIi9xcX0W4WgZ4rnqVs1BnCMwgVM0+w2tG2J0yomFM
          Ue9mchUPZl1Dk4Sc2tSMNMz7Hh1BG8WiuSnqpJlwTzXYuLMRRt/o49uV2PZyIwpK6u8h
          GtNNLzbOgMuwSSo9AA/cbCk1N43NG0a8+9VF5PYCxJMztZCPj1BWTKnKlWGcTmBxa1qj
          BkwQnJQsFM2LJuKY8hjzu2TB4V3iNQu8tAXg30gesjxkJ8tIjHToHeYjCqz5ApBW1jrq
          UUKQ==
 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
         d=1e100.net; s=20130820;
         h=x-gm-message-state:message-id:from:date:to:subject:mime-version
          :content-transfer-encoding;
         bh=4yOG03cMbyTGx1B7oNyAICwDj42G7bYEMTzfRihbet0=;
         b=T/sX+By4DBu5vlLQJ5sDfskKGwuKmWxT5uElb8jA35Icm+Flp6Ut+Wt6OZQB1C2e/r
          odMojlGK2HhGDexpd0KnZ1o9/eBhWWuIf3rXtg4qtSQdjrfVp5QXQ2V/Ky1cZZ0ZYeQi
          MbUWaJbmmPJga7kdyKCIWhw4wySVVhSqDts4GusnYAdO3OXDdlw/hNfzB+v8g2cky/JK
          6Mb7rZWzNkfwn2o0+RyLCuAK3Snl8N3TSj7zs4mXRPImt0F6sqq+pXJ9iSkr2+AjPgRD
          fcrf9P2Ow+NFJHU1f7db/H9XoDEAz0BjULpKyBmlXPBybVrOg1cBKGYbQ2/jVQ2cI1cn
          3OPA==
 X-Gm-Message-State: AKaTC01BV3PSKuvkx1pIw+jkP4Y1CgOnCluQMnNPc40eHUUhImCn8PMSKbKw0F2UUFgMWg==
 X-Received: by 10.28.51.141 with SMTP id z135mr11750145wmz.109.1479705915163;
         Sun, 20 Nov 2016 21:25:15 -0800 (PST)
 Return-Path: <edwardhogeveen@gmail.com>
 Received: from raspberrypi-1 (53515E33.cm-6-2b.dynamic.ziggo.nl. [83.81.94.51])
         by smtp.gmail.com with ESMTPSA id c133sm17378808wme.12.2016.11.20.21.25.13
         for <postmaster@raspberrypi-1>
         (version=TLS1 cipher=AES128-SHA bits=128/128);
         Sun, 20 Nov 2016 21:25:14 -0800 (PST)
 Message-ID: <5832853a.8b9a1c0a.acb7.9b59@mx.google.com>
 From: root <edwardhogeveen@gmail.com>
 X-Google-Original-From: root (Cron Daemon)
 Received: by raspberrypi-1 (sSMTP sendmail emulation); Mon, 21 Nov 2016 06:25:12 +0100
 Date: Mon, 21 Nov 2016 06:25:12 +0100
 To: root
 Subject: Cron <root@raspberrypi-1> test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.daily )
 MIME-Version: 1.0
 Content-Type: text/plain; charset=UTF-8
 Content-Transfer-Encoding: 8bit
 X-Cron-Env: <SHELL=/bin/sh>
 X-Cron-Env: <PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin>
 X-Cron-Env: <HOME=/root>
 X-Cron-Env: <LOGNAME=root>
Is there a way to stop this message every week?

Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

Re: NXDOMAIN error by Gmail

Thu Nov 24, 2016 4:30 pm

Nobody a tip?

User avatar
DougieLawson
Posts: 36552
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: NXDOMAIN error by Gmail

Thu Nov 24, 2016 4:41 pm

Set up postfix and dnsmasq (or bind9) so that a lookup for the MX record gets a good result. Also look at whether your ISP has a valid MX record for your domain.

Postfix has some sensible default configurations (that you get to choose when you install it) that mostly match what most folks want to do. (It's only the loonies like me that take that and modify it to do extra stuff like TLS security with a server certificate.)
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Canedje
Posts: 265
Joined: Thu Mar 26, 2015 7:18 am

Re: NXDOMAIN error by Gmail

Thu Nov 24, 2016 6:19 pm

DougieLawson wrote:Set up postfix and dnsmasq (or bind9) so that a lookup for the MX record gets a good result. Also look at whether your ISP has a valid MX record for your domain.

Postfix has some sensible default configurations (that you get to choose when you install it) that mostly match what most folks want to do. (It's only the loonies like me that take that and modify it to do extra stuff like TLS security with a server certificate.)

Thanks I will check how to install postfix and dnsmaq (I did read already something about it).
How do I check my ISP for having a valid MX record?

User avatar
DougieLawson
Posts: 36552
Joined: Sun Jun 16, 2013 11:19 pm
Location: Basingstoke, UK
Contact: Website Twitter

Re: NXDOMAIN error by Gmail

Thu Nov 24, 2016 7:51 pm

Use dig or nslookup to query their DNS definitions.
Note: Having anything humorous in your signature is completely banned on this forum. Wear a tin-foil hat and you'll get a ban.

Any DMs sent on Twitter will be answered next month.

This is a doctor free zone.

Return to “Troubleshooting”