Changing permissions can be quite messy. Imagine where you have to do it for
1000 or more then when they pay you change them allover again. Best is to
change authentication method from passwd file to database. The default
tables have a suspend colum...

Joe.
----- Original Message -----
From: "Reid Sutherland" <[EMAIL PROTECTED]>
To: "Joshua Nichols" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, June 12, 2001 3:48 AM
Subject: Re: Suspending an POP3 account.


>
> > > (lack of payment) clients when using a passwd/shadow
> > > authentication method.
> > >
> > > Any ideas on a solution?
> > >
> >
> > Though different checkpassword and pop programs will handle the problem
> > differently, changing the _permissions_ on the ~Maildir/* so the owner
> > doesn't have read access will work.  That is, typical Maildir perms are
> 700,
> > change it to 300.
> >
> > All mail will be delivered as usual, but the pop account will not work.
> If
> > the user has telnet access, they will be able to circumvent this, but in
a
> > situation where you have "expiring" pop accounts, I'm assuming they
don't.
> >
> > I imagine you could easily set the return error so that the user's mta
> tells
> > them they're delinquent.  It's not everyday the problem is a permission
> > denied read on the Maildir.
> >
>
> This sounds really good too.  This will give them a more descriptive error
> instead of password error as suggested before.  A password error will
often
> simply mean that and end up confusing the client in most cases.  But a
> permission denied error could result in them thinking, 'Hey, maybe I
should
> pay my bill on time next time'.  Thanks for the tip.
>
> -reid
>
>
>

Reply via email to