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

Every email we send is causing qmail to send an email to

How do I disable this?

Thank you, Chance


I created /var/qmail/alias/.qmail-log containing |exit 0

Hope this helps!

share|improve this question
up vote 1 down vote accepted

This performance is typically added by modifying the "extra.h"1 file before compilation.

You can modify the dot-qmail2 alias to send to null. You could also recompile QMAIL without this patch.

share|improve this answer
Thanks man, your a lifesaver. – Chance Feb 25 '10 at 16:19
No problem, glad it helped! I love QMAIL. – Warner Feb 25 '10 at 16:21

On FreeBSD, if I put the following in /var/qmail/alias/.qmail-log or /home/vpopmail/domains/[]/.qmail-log

| /dev/null

I will get this error message:

deferral: /dev/null:_Permission_denied/

in maillog so for both files I use

| 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.