FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    Join Date
    Jun 2011
    Posts
    253

    Incoming mails filter

    Hello,

    It's possible to filter incoming mails in server using iptalbes ?! . I want to filter incoming mails based on senders subnets. For exp. : From nslookup i find the ip address of sender domain address, so, how can I block all incoming emails from this IP address using iptables ?

    Best regards,

  2. #2
    Join Date
    May 2017
    Location
    www
    Posts
    135

    Re: Incoming mails filter

    Following iptable rule will block incoming SMTP Mail from host/IP xx.xx.xx.xx:

    Code:
    sudo iptables -A INPUT -s xx.xx.xx.xx -p tcp --dport 25 -j REJECT

Similar Threads

  1. thunderbird puts incorrect filter times in filter log
    By marko in forum Servers & Networking
    Replies: 1
    Last Post: 12th March 2013, 03:51 PM
  2. iptables-incoming-tcp-conn
    By rpdumps in forum Security and Privacy
    Replies: 2
    Last Post: 14th July 2008, 10:27 AM
  3. FC6 - incoming traffic being ignored
    By madopal in forum Servers & Networking
    Replies: 6
    Last Post: 19th June 2007, 07:37 PM
  4. Can get no incoming mail
    By jeanpeters3540 in forum Servers & Networking
    Replies: 1
    Last Post: 26th June 2006, 10:27 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •