Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora 17/18 > Servers & Networking
FedoraForum Search

Forgot Password? Join Us!

Servers & Networking Discuss any Fedora server problems and Networking issues such as dhcp, IP numbers, wlan, modems, etc.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 18th June 2007, 12:52 PM
wshamroukh Offline
Registered User
 
Join Date: Jan 2005
Posts: 48
Whitelist my domain in MailScanner

Hi all
I have a FC5 serving as Mail Server (sendmail) i have also the MailScanner+SpamAssassin+ClamAV tools to filter the emails going in and out.
I added my domain to spam.whitelist.rules as follows:

[root@mail rules]# cat spam.whitelist.rules
# If you are basing a blacklist on this then you can refer to
# a null (empty) sender address with "/^$/" as the address to match.
#
# This is where you can build a Spam WhiteList
# Addresses matching in here, with the value
# "yes" will never be marked as spam.
#From: 152.78. yes
#From: 130.246. yes
FromOrTo: default no
From: mydomain.org yes


and i have also edited virus.scanning.rules as follows:

[root@mail rules]# cat virus.scanning.rules

FromOrTo: *@mydomain.org no
FromOrTo: default yes


and i have also edited /usr/share/spamassassin/60_whitelist.cf as follows

#my addition
def_whitelist_from_rcvd *@mydomain.org mydomain.org


and in MailScanner, i prevent exe files to be sent or recieved, but now i am in need to allow sending such files if and only if my user sends the file to another user in my domain. This means I dont want to prevent the stuffs sent or recieved by my users in the same domain, while i want to prevent them from sending or recieving files from or to Strangers(out of my domain)

i hope i made it clear for u to understand my case here

thanx for any help in advance...

Last edited by wshamroukh; 18th June 2007 at 01:01 PM.
Reply With Quote
  #2  
Old 19th June 2007, 06:43 AM
wshamroukh Offline
Registered User
 
Join Date: Jan 2005
Posts: 48
after i applied this policy i noticed that my users recieved dozens of spam and junk emails.. so i restored the rules back... can any body give me a hint??

thanx in advance
Reply With Quote
Reply

Tags
domain, mailscanner, whitelist

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
how to reject ALL internet domain except whitelist using sendmail access file log Guides & Solutions (No Questions) 6 13th May 2012 01:10 PM
Whitelist driver piiotrek Servers & Networking 1 5th January 2009 10:34 PM
Squid - Whitelist + Deny everything else sternfan Servers & Networking 0 19th November 2008 08:59 PM
How to set manual whitelist for spamassassin BlackBone Servers & Networking 2 9th January 2008 09:27 AM


Current GMT-time: 18:15 (Saturday, 18-05-2013)

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