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
[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
[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
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...