widyachacra <[EMAIL PROTECTED]> said:
> Dear All,
>
> I'm using netqmail-1.05-r8 on gentoo for our office email server. The
> users are always sending unwanted emails to their friends by BCC their
> email addresses. I want to block all BCC added emails or BCC added
> recipients. Please help me.

use net-mail/qmail-qfilter (http://untroubled.org/qmail-qfilter/) . add it 
as a qmail-queue replacement and write a filter script (in any language 
you want) that does what you want.
the filter script takes the email from STDIN and writes it to STDOUT, 
IIRC.

instead of only blocking the BCCs, i'd block the whole mail, so that your 
users notice the mistake. do so by setting an appropriate return value.

good luck!
regards
Thilo

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to