In message <10fhnjv$1gvnc$5@dont-email.me>my system is tailored to my needs. It works perfectly. I just need to
The Natural Philosopher <tnp@invalid.invalid> wrote:
As part of my enhancements to the home controller, I want to send email
warnings of low heating oil level.
Have a look at Pushover to see if it would be an alternative way to
meet your needs. I use it to alert myself of problems in my heating
system.
David
The Natural Philosopher <tnp@invalid.invalid> wrote:
Seriously,m its not the server, its the DNS.
It (the PI) cant even *find* the SMTP server
Nov 18 10:46:56 heating-controller postfix/pickup[8654]: CC05B1F270:
uid=0 from=<oil-monitor@heating-controller>
Nov 18 10:46:56 heating-controller postfix/cleanup[10455]: CC05B1F270:
message-id=<20251118104656.CC05B1F270@heating-controller>
Nov 18 10:46:56 heating-controller postfix/qmgr[1295]: CC05B1F270:
from=<oil-monitor@heating-controller>, size=387, nrcpt=1 (queue active)
Nov 18 10:46:57 heating-controller postfix/smtp[10457]: CC05B1F270:
to=<superroot@templar.co.uk>, relay=none, delay=0.38,
delays=0.19/0.14/0.04/0, dsn=4.4.3, status=deferred (Host or domain name
not found. Name service error for name=vps.templar.co.uk type=MX: Host
not found, try again)
If it's the only network activity the thing does regularly, maybe
the WiFi interface has gone into some sort of sleep mode and the DNS
resolver isn't waiting for it to wake up. If you leave ping running
(eg. "nohup ping -s 1 vps.templar.co.uk &") to keep the interface
active, maybe it will work the first time?
Or if it doesn't change, you could set the IP address for
vps.templar.co.uk in /etc/hosts.
Seriously,m its not the server, its the DNS.
It (the PI) cant even *find* the SMTP server
Nov 18 10:46:56 heating-controller postfix/pickup[8654]: CC05B1F270:
uid=0 from=<oil-monitor@heating-controller>
Nov 18 10:46:56 heating-controller postfix/cleanup[10455]: CC05B1F270: message-id=<20251118104656.CC05B1F270@heating-controller>
Nov 18 10:46:56 heating-controller postfix/qmgr[1295]: CC05B1F270: from=<oil-monitor@heating-controller>, size=387, nrcpt=1 (queue active)
Nov 18 10:46:57 heating-controller postfix/smtp[10457]: CC05B1F270: to=<superroot@templar.co.uk>, relay=none, delay=0.38, delays=0.19/0.14/0.04/0, dsn=4.4.3, status=deferred (Host or domain name
not found. Name service error for name=vps.templar.co.uk type=MX: Host
not found, try again)
As part of my enhancements to the home controller, I want to send email warnings of low heating oil level.
As part of my enhancements to the home controller, I want to send email warnings of low heating oil level.
So I removed exim which was too much like hard work, installed PostFix
and all is well...,except it isn't.
If I send a mail out of the blue after a a few hours delay, the mail immediately *always* gets stuck in the queue with a message about being unable to determine the IP address of the SMTP relay.
If I send another message everything Just Works, and indeed the h mail
queue gets flushed eventually as well with a successful delivery.
The Natural Philosopher <tnp@invalid.invalid> wrote:
As part of my enhancements to the home controller, I want to send email
warnings of low heating oil level.
So I removed exim which was too much like hard work, installed PostFix
and all is well...,except it isn't.
If I send a mail out of the blue after a a few hours delay, the mail
immediately *always* gets stuck in the queue with a message about being
unable to determine the IP address of the SMTP relay.
If I send another message everything Just Works, and indeed the h mail
queue gets flushed eventually as well with a successful delivery.
'Greylisting'? SMTP servers often delay mail from unrecognised senders as a spam block - spammers tend not come back when told to try again later.
Also the message needs to be correct to match SFP/DKIM/DMARC rules,
otherwise it may get delayed or discarded. It may also be delayed/discarded due to sending from a 'consumer' IP.
Perhaps by the time the second message arrives the spamfilter has decided you're ok and to let the message straight through.
I would not be doing direct SMTP in this day and age - send using an SMTP account (with username/password) at the company who runs the SMTP server for the sender's mail domain.
If the SMTP relay is indeed your domain's mail server, perhaps the first
time DNS lookup is too slow?
Theo
Seriously,m its not the server, its the DNS.
Nov 18 10:46:57 heating-controller postfix/smtp[10457]: CC05B1F270: to=<superroot@templar.co.uk>, relay=none, delay=0.38, delays=0.19/0.14/0.04/0, dsn=4.4.3, status=deferred (Host or domain
name not found. Name service error for name=vps.templar.co.uk
type=MX: Host not found, try again)
As part of my enhancements to the home controller, I want to send email warnings of low heating oil level.
| Sysop: | Fercho |
|---|---|
| Lugar: | La Plata, Buenos Aires |
| Usuarios: | 27 |
| Nodos: | 10 (0 / 10) |
| Uptime: | 11:06:45 |
| Llamadas: | 131 |
| Archivoss: | 15,607 |
| Mensajes: | 38,796 |
Novedades:
Servidor de Quake 3 Arena Online! - Conectate a ferchobbs.ddns.net, puerto 27960 y vence con tu equipo!