Fedora Linux Support Community & Resources Center
Old 8th August 2017, 02:40 PM
eaglelinux's Avatar
eaglelinux Offline
Registered User
Join Date: Jun 2011
Posts: 253
Incoming mails filter


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,
Reply With Quote
Old 13th August 2017, 07:14 PM
tryfedoraa Offline
Registered User
Join Date: May 2017
Location: www
Posts: 129
Re: Incoming mails filter

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

sudo iptables -A INPUT -s xx.xx.xx.xx -p tcp --dport 25 -j REJECT
Reply With Quote

filter , incoming , mails

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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

Current GMT-time: 06:36 (Saturday, 21-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat