How to disable qmail vpopmail email user
I had a task to disable few email accounts previously created with
vadduser on one of the virtual domains served by
vpopmail runnning on top of
qmail email server.
This is not the first time I have to this and everytime next time I
have to do it I had to spend few minutes scratching through my
memory for how I did it the last time.
Therefore this time I decided to blog here what is the exact way to
disable email vopmail accounts. There are two reasons for
that:
1. This could be helpful to somebody else online looking for a
quick way to disable vpopmail email accounts without deleting the
vpopmail email accounts with the
vdeluser command.
2. It would be easier for me to just search through my blog and
find how I achieved the vpopmail emails lock out in case I have to
do it once again in the near or far future :)
So enough talks here is the
command to execute to lock out
(disable) an email address using vpopmail virtual
domains.
debian-server:~# vmoduser -d -p -w -i
username@domainname.com
The above command will disable accessability to the sample email
address
username@domainname.com for pop3, imap and webmail
acess and will yet keep the email address existing on the vpopmail
server and intact.
This is vital if you need to receive some further email on that
email boxes, but you still want to disable access to the email and
redirect the email content using for instance a
.qmail mail
redirect file.