Hello Albert, BUT All service in the same Server machine... So, is there another solution for disable Mail service for users ? Edward. Albert Graham wrote: > I find it's nice to continue to receive email for someone, even while > the account is disabled, to do this simply: > > Lock Account > usermod -L $username > > Unlock Account > usermod -U $username > > man usemode for more info. > > PS. this prevents all logins including ftp (it prefixes to password > entry with !) > > Albert. > > > edwardspl@xxxxxxxxxx wrote: > >> Les Mikesell wrote: >> >>> edwardspl@xxxxxxxxxx wrote: >>> >>>> Dear All, >>>> >>>> The System is FC6... >>>> So, how to disbale a User's mail service ? >>>> eg : Sendmail + Dovecot ( pop3 /imap ). >>>> >>> >>> One way is to use the aliases file to direct the mail elsewhere or >>> to /dev/null. Another is to use the virtuser table to map the users >>> you want to permit to real addresses with a catchall rejection. >>> >>> Maybe it would be easier to describe exactly what you want these >>> users to be able to do first and build an environment that provides >>> nothing else instead of starting with a general-purpose login and >>> trying to stop everything you don't want them to do. >>> >> Hello, >> >> Is there a sample ( steps by steps ) for reference ? >> >> Edward. > >