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.

I made some changes on my sendmail.mc 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 + kitenet.net/~joey/code/etckeeper. Because it's pretty likely that you missed undoing something, or maybe your sendmail.mc file was changed in between the last time someone generated sendmail.cf from it and your edits. –  mattdm Dec 4 '10 at 4:54
add comment

1 Answer

up vote 0 down vote accepted

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

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