Login to Members Area

Choose the service you want to log in
24x7x365 Presence
Live Chat

Hosting Blog


How to discard all the emails for non-existing mailboxes (Qmail server)

1. Login onto the Qmail server.

2. Create a catchall mailbox like [email protected]<domain>.com

3. Find out the domain directory with the command below-
[[email protected] ~]# ~vpopmail/bin/vdominfo <domain>.com

4. Edit the .qmail-default file as below:
[[email protected] ~]# vi /home/vpopmail/domains/<domain>.com/.qmail-default
Replace the line-
| /home/vpopmail/bin/vdelivermail '' bounce-no-mailbox

With this line-
| /home/vpopmail/bin/vdelivermail '' delete

5. Restart the qmail services
[[email protected] ~]# /etc/init.d/qmaild restart

Manoj Wednesday 12 November 2014 - 7:34 pm | | Default

One comment

One or more comments are waiting for approval by an editor.

(optional field)
(optional field)

Comment moderation is enabled on this site. This means that your comment will not be visible until it has been approved by an editor.

Remember personal info?
Small print: All html tags except <b> and <i> will be removed from your comment. You can make links by just typing the url or mail-address.