aw <[EMAIL PROTECTED]> wrote:

>One of our former user was playing in many Internet-casinos. All
>these casinos send plenty of e-mails on the guy address up to
>now. This is bounced back and they bounce it too. I would rather let
>the first message to us die in /dev/null.  Need advice how to do
>it. Should I make a .qmail-user file?  How to deal with such problems
>If I have more of such former users?

If 'formeruser' no longer has an account:

    echo '#' > ~alias/.qmail-formeruser

Else:

    echo '#' > ~formeruser/.qmail

If you have lots of these former users and don't want lots of .qmail
files, do:

    echo '#' > ~alias/.qmail-devnull

Then, for each user, add a line to users/assign like:

    =formeruser:alias:ALIASUID:NOFILESGID:/var/qmail/alias:-:devnull:

And, if you want to catch formeruser-*:

    +formeruser-:alias:ALIASUID:NOFILESGID:/var/qmail/alias:-:devnull:

And do:

    echo '#' > ~alias/.qmail-devnull-default

-Dave

Reply via email to