What do you get when you run sudo Nmap -sS target 81.28.96.182 -p from the 198.27.80.228 machine?
Just to clarify: you have opened the 2590 port on all relevant firewalls?
Also what does netcat 81.28.96.182 2590 show?
Output -
Starting Nmap 7.92 ( https://nmap.org ) at 2024-03-14 13:09 UTC
Failed to resolve “target”.
Nmap scan report for ns1025.imingo.net (81.28.96.182)
Host is up (0.084s latency).
PORT STATE SERVICE
5890/tcp filtered unknown
Nmap done: 1 IP address (1 host up) scanned in 0.77 seconds
resolve now I believe
You mean it is working?\
yes.
Now when I sent test msg using postfix relayhost > kumomta . it is differed and because there no log generated in kumo log directory, I am helpless to resolve
You still have not shared your init.lua and shown examples of how it differed.
Here is an postfix log output
Mar 14 13:21:21 shost2002 postfix/smtp[2880268]: 6373C5372B: to=chereeinfomedia@gmail.com, relay=81.28.96.182[81.28.96.182]:5890, delay=0.87, delays=0.09/0.02/0.66/0.1, dsn=4.3.0, status=deferred (host 81.28.96.182[81.28.96.182] said: 421 4.3.0 mail.oneworkspace.xyz technical difficulties (in reply to RCPT TO command))
[root@ns1025 policy]# cat init.lua
–[[
########################################################
KumoMTA minimal Send Policy
(Save this as /opt/kumomta/etc/policy/init.lua for systemd automation)
This config policy defines KumoMTA with a minimal
set of modifications from default.
Please read the docs at https://docs.kumomta.com/
For detailed configuration instructions.
########################################################
]]
local kumo = require ‘kumo’
–[[ Start of INIT section ]]
local listener_domains = require ‘policy-extras.listener_domains’
kumo.on(
‘get_listener_domain’,
listener_domains:setup { ‘/opt/kumomta/etc/listener_domains.toml’ }
)
– Configure source IPs.
local sources = require ‘policy-extras.sources’
sources:setup { ‘/opt/kumomta/etc/sources.toml’ }
kumo.on(‘init’, function()
kumo.start_esmtp_listener {
listen = ‘0.0.0.0:5890’,
hostname = ‘mail.oneworkspace.xyz’,
relay_hosts = { ‘198.27.80.228’ },
}
kumo.start_esmtp_listener {
listen = ‘81.28.96.182:2591’,
}
kumo.start_esmtp_listener {
listen = ‘127.0.0.1:2591’,
hostname = ‘mail.oneworkspace.xyz’,
relay_hosts = { ‘127.0.0.1’ },
}
kumo.start_http_listener {
listen = ‘127.0.0.1:8000’,
}
kumo.define_spool {
name = ‘data’,
path = ‘/var/spool/kumomta/data’,
}
kumo.define_spool {
name = ‘meta’,
path = ‘/var/spool/kumomta/meta’,
}
kumo.configure_local_logs {
log_dir = ‘/var/log/kumomta’,
}
end)
–[[ End of INIT Section ]]
–[[ Start of Non-INIT level config ]]
– PLEASE read https://docs.kumomta.com/ for extensive documentation on customizing this config.
–[[ End of Non-INIT level config ]]
Please review Troubleshooting KumoMTA - KumoMTA Docs
Sure
after troublshooting successfully queued to kummta
logfile also generated but there is no data showing
How to check if email is delivered or failed
queues.toml & sources.toml is configured but email going out from default IPs
Source.toml configuration