Hello misc@

From smtpd.conf Man Page:
"EXAMPLES
The default smtpd.conf file which ships with OpenBSD listens on the 
loopback network interface (lo0) and allows for mail from users and 
daemons on the local machine, as well as permitting email to remote 
servers. Some more complex configurations are given below."
It had worked for many years; but this time OpenBSD 6.8; server and 
Laptop, are not working as the man page says.
I did an empiric test, because i am not qualified for a real test.

Both are not able to send messages (e-mails), to other machines.
The message at maillog is the same:

result="TempFail" stat="Network error on destination MXs"

I did 2 clean installations; one server, and one laptop; then i sended one message from server to Laptop, and viceverse. The message in both is the same. It was after this change in smtpd.conf:
match from any for domain "agroena.org" action "local_mail"

If i send an e-mail from other machine, it is received correctly. Is it possible that something is wrong in my installations?
Thanks for your attention.

On 2021-01-21 10:16 a.m., latincom wrote:
Thanks for your answer, it is my DNS:

Type     Name     Value     TTL     Actions
a     @     45.77.204.237     1/2 Hour     Edit
a     mail     45.77.204.237     1 Hour     Edit
cname     www     @     1 Hour     Edit
cname     _domainconnect     _domainconnect.gd.domaincontrol.com     1 Hour     Edit
mx     @     mail.agroena.org (Priority: 0)     1 Hour     Edit
ns     @     ns61.domaincontrol.com     1 Hour
ns     @     ns62.domaincontrol.com     1 Hour
soa     @     Primary nameserver: ns61.domaincontrol.com.     1 Hour

Full reference to 1 e-mail sended:

Jan 21 17:13:47 sophie smtpd[41216]: smtp-out: Disabling route [] <-> 199.185.178.25 (mail.openbsd.org) for 15s Jan 21 17:13:47 sophie smtpd[41216]: smtp-out: No valid route for [connector:[]->[relay:openbsd.org,smtp],0x0] Jan 21 17:13:48 sophie smtpd[41216]: smtp-out: Enabling route [] <-> 209.85.232.27 (qt-in-f27.1e100.net) Jan 21 17:13:53 sophie smtpd[41216]: 0000000000000000 mta delivery evpid=7465b44496df9b1a from=<fq...@agroena.org> to=<majord...@openbsd.org> rcpt=<-> source="-" relay="openbsd.org" delay=1d4h28m1s result="TempFail" stat="Network error on destination MXs"

On 2021-01-20 11:49 p.m., Martijn van Duren wrote:
You haven't given much log output, but "Network error on destination
MXs" usually indicates something like DNS or network issues.

Considering it states relay="openbsd.org", where it should be
"mail.openbsd.org" my best guess is DNS issues.

martijn@

On Wed, 2021-01-20 at 17:04 -0800, latincom wrote:
I read the archives of OpenSMTPD, and found 2 messages related to ssl,
nothing more. Can someone give me an advise where to look, please?

did something stupid, maybe:
I forgot, that the installer, ask for a name; then i wrote a name, which
later change to a fqdn; according to man page; declared it in hosts and
myname!

  From Log:
mta delivery evpid=7465b44496df9b1a from=<fq...@agroena.org>
to=<majord...@openbsd.org> rcpt=<-> source="-" relay="openbsd.org"
delay=11h8m1s result="TempFail" stat="Network error on destination MXs"

smtp.conf:
#       $OpenBSD: smtpd.conf,v 1.14 2019/11/26 20:14:38 gilles Exp $

# This is the smtpd server system-wide configuration file.
# See smtpd.conf(5) for more information.

table aliases file:/etc/mail/aliases

listen on socket

# To accept external mail, replace with: listen on all
#
listen on all

action "local_mail" mbox alias <aliases>
action "outbound" relay

# Uncomment the following to accept external mail for domain "example.org"
#
match from any for domain "agroena.org" action "local_mail"
match from local for local action "local_mail"
match from local for any action "outbound"

ssl:
m# ls -l /etc/ssl/
total 764
-r--r--r--  1 root  bin    350172 Oct  4 23:47 cert.pem
-r--r--r--  1 root  wheel    3791 Jan 10 23:57 fullchain.pem
-rw-r--r--  1 root  wheel    2703 Oct  4 23:47 ikeca.cnf
-r--r--r--  1 root  bin       745 Oct  4 23:47 openssl.cnf
drwx------  2 root  wheel     512 Jan 10 23:57 private
-r--r--r--  1 root  bin      1006 Oct  4 23:47 x509v3.cnfatch from local






Reply via email to