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'm confused on the purpose of the sendmail submit queue (by default /var/spool/clientmqueue). I think it's used to store messages when sendmail is ran in mail-submission program mode instead of daemon mode... but that's still confusing.

share|improve this question

2 Answers 2

up vote 1 down vote accepted

From the bat book:

In a non-set-user-id root world, sendmail runs under two guises. In one guise, it is run by root to function as a listening daemon. This listening daemon is just like the listening daemon of earlier versions, except that, instead of running as root no matter who ran it, it now runs as root only if root runs it.

In its second guise, sendmail runs as an ordinary user to collect locally submitted messages. In this mode of operation, sendmail is set-group-id to a special group, so it runs in that group no matter who runs it. That group owns and has write permission to a separate queue into which locally submitted deferred messages are placed.

share|improve this answer
    
Thanks. I should just buy that book, dang it. =) –  Mike B Apr 20 '12 at 15:46
    
I own editions 2,3 and 4 of the book and have never regretted one cent of it! –  adamo Apr 20 '12 at 16:51
 sendmail, when using submit.cf, uses /var/spool/clientmqueue, the client-only mail queue, which holds messages that were not delivered to the sendmail daemon. Messages in the client-only queue are delivered by the client “daemon,” which is really acting as a client queue runner vs standard queue. 
share|improve this answer
    
Thanks but I still don't quite understand... it sounds like that would be a holding area for outbound messages but I definitely see outbound messages in the standard queue area (/var/spool/mqueue) –  Mike B Apr 19 '12 at 15:29

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.