Re: [gentoo-server] how to block BCC recipients or BCC mails using qmail
widyachacra <widyachacra@gmail.com> 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
--
gentoo-server@gentoo.org mailing list
Received on Fri Nov 30 03:20:30 2007
This archive was generated by hypermail 2.1.8
: Mon Jun 16 2008 - 17:41:14 EDT
|