--On 24 November 2008 12:50:22 +0800 WICA <[EMAIL PROTECTED]> wrote:
> Hello all, > > > > I have an email alias [EMAIL PROTECTED] that contains all the staff member > email addresses of the company. However, only the company bosses > [EMAIL PROTECTED] and [EMAIL PROTECTED] are allowed to send email to > [EMAIL PROTECTED] > > > > I've setup a message filter in system wide filter (system_filter.exim) > like this: > > > >## [EMAIL PROTECTED] restriction: > > if $h_to:,$h_Cc: matches "[EMAIL PROTECTED]" and ($h_from does not match > "eric|[EMAIL PROTECTED]") then > > fail text "You are not allowed to send mail to this address" > > endif > > > > It works fine for rejecting normal staff members from sending messages to > [EMAIL PROTECTED] using TO or CC. However if a normal staff sends email to > [EMAIL PROTECTED] using BCC, my filter failed to work. > > > > Is there a way to stop people sending to [EMAIL PROTECTED] using BCC? > Yes. You can use $local_part and $domain. The message headers don't necessarily bear any relationship to the message recipients. > Thank you. > > > > Regards, > Will L -- Ian Eiloart IT Services, University of Sussex x3148 -- ## List details at http://lists.exim.org/mailman/listinfo/exim-users ## Exim details at http://www.exim.org/ ## Please use the Wiki with this list - http://wiki.exim.org/
