Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Every email we send is causing qmail to send an email to log@servername.domain.com

How do I disable this?

Thank you, Chance

EDIT:

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

Hope this helps!

share|improve this question
add comment

2 Answers

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.

~alias/.qmail-log
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
add comment

On FreeBSD, if I put the following in /var/qmail/alias/.qmail-log or /home/vpopmail/domains/[defaultdomain.com]/.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
add comment

Your Answer

 
discard

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.