I am trying to set-up Mikrotik (RouterOS v6.24) for sending emails.
I have google account and I am using SMTP connection. I know that I need to allow outbound connection for it to work. But when I try to send an email, the inbound filter will block connection and sending an email will fail.
16:37:04 firewall,info input: in:ether1-WAN out:(none), src-mac 00:13:60:16:4f:c6, proto TCP (SYN,ACK), 184.108.40.206:587->x.x.x.x:5462
When I disable the input filter. The email will be send correctly.
Why do I need to allow input connection for sending an email?
address: 220.127.116.11 port: 587 start-tls: yes from: email@example.com user: xxxxx password: xxxxxxxx last-status: failed
send firstname.lastname@example.org from="email@example.com" subject="test email" body="test body"