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 made some changes on my file on CentOS. After making the changes, I attempted restarting the sendmail and I got this error.

554 5.0.0 QueueDirectory (Q) option must be set

I then undid the changes I made and I was still getting the same error. Please what could the problem be?

share|improve this question
This doesn't answer your specific question, but it's a good argument for keeping your configuration files under version control, using for example something like git + Because it's pretty likely that you missed undoing something, or maybe your file was changed in between the last time someone generated from it and your edits. – mattdm Dec 4 '10 at 4:54
up vote 0 down vote accepted

On CentOS 5.5, you'll want to look at /etc/mail/ and make sure that the following option is set:

# queue directory
O QueueDirectory=/var/spool/mqueue
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.