Fedora Linux Support Community & Resources Center
  #1  
Old 8th August 2017, 02:40 PM
eaglelinux's Avatar
eaglelinux Offline
Registered User
 
Join Date: Jun 2011
Posts: 253
linuxfedorafirefox
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,
Reply With Quote
  #2  
Old 13th August 2017, 07:14 PM
tryfedoraa Offline
Registered User
 
Join Date: May 2017
Location: www
Posts: 127
windows_98_nt_2000chrome
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
Reply With Quote
Reply

Tags
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: 19:46 (Thursday, 19-10-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

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