Farhat <[EMAIL PROTECTED]> wrote:
> 
> I would like to block mail to specific user only in my qmail,
> if I use /var/qmail/control/badmailfrom it will blocked to all account in my
> domain, am I right ?

badmailfrom blocks based on the envelope sender address, which is
usually related to who sent the message.  It has nothing to do with the
recipient.

> how to block some mail just for specific account only and not for all
> account in my domain.

If you want to block all mail to a certain local user, there's lots of
ways -- filtering it with a virtual user entry in virtualdomains, or
using qmail-users and exclude to prevent any mail from being delivered
to that account.

If you want to block mail only from a certain sender which is only to a
certain recipient, you need to write a filter script to use in a .qmail
file.  `man dot-qmail` and `man qmail-command` for more details, and see
the list archives.

Charles
-- 
-----------------------------------------------------------------------
Charles Cazabon                            <[EMAIL PROTECTED]>
GPL'ed software available at:  http://www.qcc.sk.ca/~charlesc/software/
-----------------------------------------------------------------------

Reply via email to