User Tools

Site Tools


networking:router:mikrotik_mail

This is an old revision of the document!


Mikrotik Routers and Mail Issues

  1. Define list of spam filter servers
  2. Forward SMTP traffic to internal mail server
    • But only from the spam filter servers
  3. Block outbound SMTP traffic
    • But not from the internal mail server
/ip firewall address-list
  add address=5.10.67.0/24 list=spamfilter
  add address=94.186.192.0/24 list=spamfilter
  add address=174.36.154.0/24 list=spamfilter
  add address=192.69.16.0/24 list=spamfilter
  add address=192.69.17.0/24 list=spamfilter
  add address=192.69.18.0/24 list=spamfilter
  add address=192.69.19.0/24 list=spamfilter
  add address=208.43.37.0/24 list=spamfilter
  add address=208.70.88.0/24 list=spamfilter
  add address=208.70.89.0/24 list=spamfilter
  add address=208.70.90.0/24 list=spamfilter
  add address=208.70.91.0/24 list=spamfilter

/ip firewall filter
add action=drop chain=forward comment="Drop Outbound SMTP Except From Mail Server" dst-port=25 \
  out-interface=ether1 protocol=tcp src-address=!192.168.51.8

networking/router/mikrotik_mail.1499376797.txt.gz · Last modified: 2017/07/06 15:33 by gcooper