external spamfilter

Discussion in 'Installation/Configuration' started by telvenes, Dec 7, 2016.

  1. telvenes

    telvenes Member

    Hi, i use a external spamfilter, and problem now is that spam get delivered directly to my server, how can ispconfig only accept mail from the spamfilter?
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    One possibility is to use a iptables rule to limit access to port 25 to the ip address of the spamfilter.
  3. telvenes

    telvenes Member

    Fixed like this:

    iptables -A INPUT -p tcp --dport 25 -s spamfilterIP -j ACCEPT
    iptables -A INPUT -p tcp --dport 25 -j DROP

Share This Page