[ Postings re-arranged to emulate human discourse ]

At 17:40 25/07/01, Ismail YENIGUL wrote:

On Wed, 25 Jul 2001, sec wrote:

 > Hello,
 >
 > How can i create blacklist only for some mail accounts
 > For example:
 >     User [EMAIL PROTECTED] ignore only [EMAIL PROTECTED]
 >     and
 >     User [EMAIL PROTECTED] ignore only [EMAIL PROTECTED]
 >     ?


>hi
>add spammers to  /var/qmail/badmailfrom file and restart qmail-send

You probably mean  /var/qmail/control/badmailfrom

And you don't have to restart qmail for it to take effect.

But this will stop mail from [EMAIL PROTECTED] to *all* users and the OP
wants to filter selectively.

AFAIK you can't blacklist selectively, because in order to know if a
mail is acceptable you'll have to read both the To and From fields.  So
you'll have to accept the mail.  You can then filter it by creating a
.qmail-ext for each of your users and passing the mail through a 
filter,

using either procmail:
http://www.almqvist.net/johan/qmail/vpopmail+procmail.html

or maildrop
http://www.almqvist.net/johan/qmail/vpopmail+maildrop.html

or the new Mail::Audit module
http://www.perl.com/lpt/a/2001/07/17/mailfiltering.html

-- 
All the best (Adéu-siau),
Lou Hevly
[EMAIL PROTECTED]
http://www.visca.com

Reply via email to