Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

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

1 Answer 1

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.