How to assign public ip to server

Hello,
How can i assign a public ip to a mail server?

This is what i have done so far.

/ip address
add address=6x.19x.15x.9/29 interface=ether1 network=x.x.x.x
add address=10.1.100.1/24 interface=ether2 network=10.1.100.0
add address=6x.19x.15x.10/29 interface=ether1 network=x.x.x.x

/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
add action=dst-nat chain=dstnat dst-address=6x.19x.15x.10 to-addresses=10.1.100.30
add action=src-nat chain=srcnat src-address=10.1.100.30/32 to-addresses=6x.19x.15x.10
add action=src-nat chain=srcnat src-address=10.1.100.0/24 to-addresses=6x.19x.15x.9

/ip route
add distance=1 gateway=x.x.x.x pref-src=6x.19x.15x.9

i can connect 6x.19x.15x.10 and access the mail server but when i send an email it use this 6x.19x.15x.9/29 instead of the one i have assign
How can i assign this 6x.19x.15x.10 for both incoming and outgoing?

I would really appreciate for any help.

Thank you

https://wiki.mikrotik.com/wiki/Hairpin_NAT

I did try that with no luck.

Masquarade is earlier than src-nat rules so it takes precedence and substitutes wit …9/29 address as the first one.
Move that rule after source one and check if it works