manage postfix user

Discussion in 'HOWTO-Related Questions' started by tuananh87vn, Oct 21, 2009.

  1. tuananh87vn

    tuananh87vn New Member

    hi,
    does any body know how to diable/deactive an email account without actually deleting that account

    i'm writing a php web app to manage user through the users table, by adding a additional 'active' column with value 0 or 1. yet i don't know how to fix the query so that it only let user with 'active = 1' to successfully be authenticated

    the other way is to create another user so that when we need to disable an account, we move acc information to the temporary table, and when we enable this account, we restore acc information back to users table

    does anybody have any idea of how to do that?

    thanks!
     

Share This Page