Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use vpopmail and qmail on a Gentoo.

I have the domain "" (exemple) and need to delete the double bounces which are 99,99999% SPAMs. (I do not want to delete the "simple" bounces).

I can do this:

echo > /var/qmail/control/doublebouncehost
echo doublebounce > /var/qmail/control/doublebouncto
echo "#" > ~vpopmail/domains/


Create a dummy email adress ( and add it to the file /var/qmail/control/doublebounceto. Then add |exit 0 to /var/qmail/mailnames/

A) Which solution is more adapted to delete these hated SPAMs/double bounced emails?

B) What are the differences between the 2 solutions? (outgoing traffic? performance? etc).

Thanks for your great help.

share|improve this question
up vote 1 down vote accepted

it's almost same thing, although i'd go with 2nd solution as this doesn't require you to have vpopmail other then that i guess you'd want to put it somehow on smtp level rather having qmail-send delivery email to local and then dealing with that...

share|improve this answer

I like the following, since it does not require vpopmail.

echo doublebounce > /var/qmail/control/doublebounceto
rm /var/qmail/control/doublebouncehost
echo "#" > /var/qmail/alias/.qmail-doublebounce

For your second solution, I think you can simply use "#" in your .qmail file instead of piping through exit 0.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.