Exim Custom ACLs
I want to allow googlegroups for specific domain and blocked for remaining domains. I have using below acls.
Acl with "Testing" title doesn't work but below acl "Blocking googlegroups" is working perfectly.
Kindly let me know how to fix it.
############ Testing ############
if
$header_from: is "googlegroups.com"
and $header_from: is "@googlegroups.com"
and $header_from: is "*@googlegroups.com"
then
save "$home/mail/" 660
endif
################################
#################################
####### Section 6 System ######
#################################
###### Blocking googlegroups ##########
logfile /var/log/filter.log 0644
if
($received_protocol is "local"
or $received_protocol is "smtp"
and ("$h_to:, $h_cc:" contains "@googlegroups.com")
or ("$h_from:" contains "@googlegroups.com")
then
logwrite "$tod_full $message_id from $sender_address contained @googlegroups.com keywords"
seen finish
endifPlease sign in to leave a comment.
Comments
0 comments