• 1-888-289-2246
  • 24x7x365 Presence

How to setup a catch-all account on the Qmail server


1. Login onto the Qmail server

2. Create a catchall mailbox like catchall@.com

3. Find out the domain directory with the command below-
[root@mail ~]# ~vpopmail/bin/vdominfo .com

4. Edit the .qmail-default file as below:

[root@mail ~]# vi /home/vpopmail/domains/.com/.qmail-default
===================================================================================
Replace the line-
| /home/vpopmail/bin/vdelivermail ” bounce-no-mailbox

With this line-
| /home/vpopmail/bin/vdelivermail ” /home/vpopmail/domains/.com/catchall
===================================================================================

5. Restart the qmail services
[root@mail ~]# /etc/init.d/qmaild restart

]]>