Qmail : Create a catch-all account with vpopmail

By | December 28, 2012

On the latest vpopmail release, there is a bug with the Web interface that prevent creating a catch all mail account for non-existent recipients. When pressing the catch-all button, a blank page is returned.

Here is the steps to create the catch-all manually instead of using the WebUI. This example assume that your domain name is “domain.tld” and the catch-all account is “catchall@domain.tld”.

1. Log to your Qmail server using SSH and edit the following file :

vi /home/vpopmail/domains/domain.tld/.qmail-default

2. Replace the following line :

| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

With this one :

| /home/vpopmail/bin/vdelivermail '' /home/vpopmail/domains/domain.tld/catchall

3. Then, rebuild the cdb data files :

qmailctl cdb