show code js

2022年8月25日 星期四

iRedMail White List

  • PostfixF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    nano /etc/postfix/helo_access.pcreF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    Add below:F^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    /\.domain\.com$/ OKF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    /\.domain\.com\.tw$/ OK
  • iRedApdF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    goto /opt/iredapd/toolsF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    run below:F^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    python wblist_admin.py --add --whitelist IP @domain.com @.domain.com user@domain.com
  • fail2banF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    nano /etc/fail2ban/jail.localF^W0X89Jp~s]Ib<;qPlASlC(f;:G=K*b*kaxi]b3XS-4WQTkghb(qdcXCJ
    add IPs after  ignoreip = IP1 IP2 IP/8 IP/16 IP/24 IP/32