Hmmm not exactly a standard SME then.
Also note you have been adding stuff from smeupdates-testing ??
You do know that those packages are in testing for a purpose don't you? They are not necessarily production ready. Hence the 'testing' part.
All software seems to be update and I also cannot find old templates.
Well, your output from /sbin/e-smith/audittools/templates says otherwise.
I also have no additional contribs installed.
And your output from /sbin/e-smith/audittools/newrpms says otherwise too...
hddtemp.x86_64 0.3-0.20.beta15.el6 @smecontribs
perl-Config-IniFiles.noarch 2.72-2.el6 @smecontribs
perl-IO-Socket-INET6.noarch 2.72-1.of.el6 @smecontribs
perl-Proc-ProcessTable.x86_64 0.48-1.el6 @smecontribs
perl-rrdtool.x86_64 1.4.7-1.el6.rfx @smecontribs
rrdtool.x86_64 1.4.7-1.el6.rfx @smecontribs
smeserver-learn.noarch 1.0-13.el6.sme @smecontribs
smeserver-sme9admin.noarch 1.5-28.el6.sme @smecontribs
smeserver-updates.noarch 1.4-2.el6.sme @smecontribs
smeserver-usbdisksmanager.noarch 1.2-7.el6.sme @smecontribs
smeserver-vacation.noarch 1.1-26.el6.sme @smecontribs
smeserver-wbl.noarch 0.3.0-18.el6.sme @smecontribs
sqlite.x86_64 3.7.17-9.el6.sme @smecontribs
On top of that you have a newer version of spamassassin, and I am not sure why you have perl-IO-Socket-INET6.noarch there either - that usually comes with geoIP . Added to that you have added smeserver-learn.
So.
If you want to find out why the mails are being blocked you actually need to monitor the mail log continuously. The snippet you provided is meaningless and shows nothing. You have to actually find an error.
Ironically as JPP pointed out, your issue was almost certainly to do with DNSBL from this one line right early on:
Diagnostic-Code: smtp; 550 (dnsbl) v=spf1 -all
So your server was blocking mails via DNSBL. You most likely just didn't disable that correctly to start with.
Everything else thereafter just compounds that initial issue.
If you want to try and test this then put your server into the position where it 'blocks' mail again and then run the tail command on the log file continuously and look for errors.
An alternative may be to look for messages that have been denied.
eg:
grep deny /var/log/qpsmtpd/current
You might see something like this:
400000005d493991074eeefc 30994 (deny) logging::logterse: ` 81.19.222.9 9.222.19.81.baremetal.zare.com WIN-TQOTMK5RLND naughty 903 (helo) HELO name is not fully qualified. Read RFC 2821 msg denied before queued
@400000005d493991074f8754 30994 deny mail from <warrior@rima-tde.net> ((helo) HELO name is not fully qualified. Read RFC 2821)
The you can look at that transaction number 30994 by itself to see what happened
grep 30994 /var/log/qpsmtpd/current |tai64nlocal
2019-08-05 20:25:02.976263500 25856 250 <joe@blogs.com>, recipient ok
2019-08-06 10:25:40.650080500 30994 Accepted connection 1/40 from 81.19.222.9 / 9.222.19.81.baremetal.zare.com
2019-08-06 10:25:40.650321500 30994 Connection from 9.222.19.81.baremetal.zare.com [81.19.222.9]
2019-08-06 10:25:42.512730500 30994 (connect) earlytalker: pass, not spontaneous
2019-08-06 10:25:42.514201500 30994 (connect) relay: skip, no match
2019-08-06 10:25:42.605427500 30994 (connect) check_badcountries: GeoIP RemoteIP: 81.19.222.9
2019-08-06 10:25:42.605455500 30994 (connect) check_badcountries: GeoIP City: NA
2019-08-06 10:25:42.606289500 30994 (connect) check_badcountries: GeoIP Country: GB
2019-08-06 10:25:42.889607500 30994 (connect) dnsbl: pass
2019-08-06 10:25:42.890022500 30994 220 home.domain.com ESMTP
2019-08-06 10:25:42.968525500 30994 dispatching EHLO WIN-TQOTMK5RLND
2019-08-06 10:25:42.970046500 30994 (ehlo) helo: karma -1 (-1)
2019-08-06 10:25:42.970049500 30994 (ehlo) helo: fail, NAUGHTY, not FQDN
2019-08-06 10:25:42.971228500 30994 250-domain.com Hi 9.222.19.81.baremetal.zare.com [81.19.222.9]
2019-08-06 10:25:42.971230500 30994 250-PIPELINING
2019-08-06 10:25:42.971231500 30994 250-8BITMIME
2019-08-06 10:25:43.002527500 30994 250-SIZE 15000000
2019-08-06 10:25:43.002529500 30994 250 STARTTLS
2019-08-06 10:25:43.050903500 30994 dispatching MAIL FROM:<warrior@rima-tde.net>
2019-08-06 10:25:43.064038500 30994 (mail) resolvable_fromhost: pass, rima-tde.net has MX at mx.rima-tde.net
2019-08-06 10:25:43.122101500 30994 (mail) sender_permitted_from: karma -1 (-2)
2019-08-06 10:25:43.122103500 30994 (mail) sender_permitted_from: fail, tolerated, rima-tde.net: Sender is not authorized by default to use 'warrior@rima-tde.net' in 'mfrom' identity (mechanism '-all' matched)
2019-08-06 10:25:43.122291500 30994 (mail) naughty: disconnecting
2019-08-06 10:25:43.122613500 30994 (deny) logging::logterse: ` 81.19.222.9 9.222.19.81.baremetal.zare.com WIN-TQOTMK5RLND naughty 903 (helo) HELO name is not fully qualified. Read RFC 2821 msg denied before queued
2019-08-06 10:25:43.122652500 30994 deny mail from <warrior@rima-tde.net> ((helo) HELO name is not fully qualified. Read RFC 2821)
2019-08-06 10:25:43.122754500 30994 550 (helo) HELO name is not fully qualified. Read RFC 2821
2019-08-06 10:25:43.122778500 30994 click, disconnecting
2019-08-06 10:25:43.295360500 2216 cleaning up after 30994
Unfortunately I don't have time to delve deeply into this
But unfortunately I don't have the opportunity and time to immerse myself in this.
Neither do I quite frankly. We are all volunteers here. We all have lives and family and paying jobs.
You don't give us straight answers to straight questions which wastes
our volunteer time, and you than can't be bothered to learn so you don't make the same mistakes again, and want a magic fix in 5 minutes.
This is an issue almost certainly completely of your own making, and we can only help you resolve it if you spend some of your own precious time on the situation (I have a sneaking feeling it is resolved but you haven't told us that hence your comment "With the next software update I will use this as a reference")
If you decide you have the time and patience to do more then let us know.