Sorry I do applogize, i did confirm that it working with curl.
lxc exec mail -- ss -tlpn
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 100 0.0.0.0:25 0.0.0.0:* users:(("master",pid=611,fd=13))
LISTEN 0 511 0.0.0.0:443 0.0.0.0:* users:(("nginx",pid=175,fd=13),("nginx",pid=174,fd=13))
LISTEN 0 100 0.0.0.0:993 0.0.0.0:* users:(("dovecot",pid=134,fd=38))
LISTEN 0 100 0.0.0.0:995 0.0.0.0:* users:(("dovecot",pid=134,fd=21))
LISTEN 0 80 127.0.0.1:3306 0.0.0.0:* users:(("mysqld",pid=207,fd=42))
LISTEN 0 100 0.0.0.0:587 0.0.0.0:* users:(("master",pid=611,fd=17))
LISTEN 0 4096 127.0.0.1:783 0.0.0.0:* users:(("spamd child",pid=622,fd=6),("spamd child",pid=621,fd=6),("spamd",pid=290,fd=6))
LISTEN 0 511 0.0.0.0:80 0.0.0.0:* users:(("nginx",pid=175,fd=10),("nginx",pid=174,fd=10))
LISTEN 0 100 0.0.0.0:465 0.0.0.0:* users:(("master",pid=611,fd=20))
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:* users:(("systemd-resolve",pid=114,fd=13))
LISTEN 0 511 [::]:443 [::]:* users:(("nginx",pid=175,fd=12),("nginx",pid=174,fd=12))
LISTEN 0 100 [::]:993 [::]:* users:(("dovecot",pid=134,fd=39))
LISTEN 0 100 [::]:995 [::]:* users:(("dovecot",pid=134,fd=22))
LISTEN 0 4096 [::1]:783 [::]:* users:(("spamd child",pid=622,fd=5),("spamd child",pid=621,fd=5),("spamd",pid=290,fd=5))
LISTEN 0 511 [::]:80 [::]:* users:(("nginx",pid=175,fd=11),("nginx",pid=174,fd=11))