I did with your way. I used userdel command with -r option . all the other way is not work out. but the user lost his old mails. because the users/home/test directory and /var/spool/mail/test permission has been changed to that userid 1155 after deleting the test user. I created new user called 'jemes'. the userid 1155 has been automatically asigned the new user jemes. so now jemes has the owner permission to those directorys. after that I created test user now the userid for test user is 1156. It asked for the changing the owner permission fixed it. no problem with test's home directory. but he lost his mails. ok At last I redirect the mails to /dev/null. Is thare Any way to bounds back the mails to the sender? whether the user is enabled or disabled in the passwd file. I am using sendmail MTA . I did this test in Microsoft Exchange2000 also. Same problem is there. The mails are stored to the server even the user is disabled. Regards, Muthupandi. ---"Todd A. Jacobs" <[EMAIL PROTECTED]> wrote: >On Mon, 15 Jul 2002, Muthupandi wrote: > >> account is enabled). But it is changing only the >password of that user. >> but he receives mails. I want to restrict the >mails for that user. how >> to do ? > >Delete the user altogether. "userdel " >will do the trick, and if >you don't use the -r option, the user's directory >will remain in place if >you should decide to re-add him at a later time. > >-- >"The only thing that helps me maintain my slender >grip on reality is the >friendship I share with my collection of singing >potatoes." > > - Holly, JMC Vessel *Red Dwarf* > > > >_______________________________________________ >Redhat-list mailing list >[EMAIL PROTECTED] >https://listman.redhat.com/mailman/listinfo/redhat >-list > _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to