At 15:05 03/07/01 -0700, Gregory Hicks wrote:
>alias the user(s) you want blocked to /dev/null.
>
>that way, the user will not receive email...
Although conversely this will not allow users of your mail server to send
to that account either.
IMHO, and unless someone wiser than I knows to the contrary, this is
basically a question for whatever sends your mail e.g. sendmail, qmail etc
rather than qpopper which deals more with checking of mail.
As a thought, qmail allows you to call an external program via that user's
.qmail file. You would then need a simple script to check whether the
e-mail came from one of your users. (A little care would be required to
determine how you check that it is one of your users though.)
Rather than re-invent the wheel, perhaps you could use one of the anti-spam
pieces of software to achieve what you want instead of starting from scratch.
Alternatively, and a little radically, if you already had a spare Linux box
around and available for the purpose, you could move the mailbox in
question to that machine and tie it down to only receive from your main
mail server.
HTH and pls do let the list know if you get a good solution.
Peter
> > From: "Leighton Fehr" <[EMAIL PROTECTED]>
> > Date: Tue, 3 Jul 2001 15:57:44 -0600
> >
> > Hi.
> > I have QPopper 3.1.2 installed on my Linux RedHat 6.2 server.
> > I am looking for a way to block email sent to one of my users and
>haven't
> > been able to figure it out yet. I want to block everybody, except the
>users
> > on my mail server, from being able to send messages to a particular
>account.
> > But I don't want to block access to the other accounts on my mail
>server.
> > Is this possible with QPopper? If so, how would I find out more info
>on how
> > to do it?