Skip to main content

Posts

Showing posts with the label sendmail

Sendmail Multiple Queues

Sendmail  will use by default  a single mail queue . This is what most users will need, and if you don’t have any special requirement you will not care about this. Still for high traffic mail servers it might be useful to  split the queue over several directories , as thousands of files in a single directory will become a performance penalty at some point and also processing the queue sequentially will become very slow.  This post will show how we can implement multiple mail queues with modern sendmail versions . Let’s start by assuming we want to use  8 mail queues . First thing is to  create the actual directories  as sendmail will not do this by default: mkdir /var/spool/mqueue/q{1,2,3,4,5,6,7,8} And fix the permissions to the ones of the original folder /var/spool/mqueue. For ex. this might look like: chown -R smmta:smmsp /var/spool/mqueue/q* using a default sendmail install running on debian. Fix the users to the specific ones found on your system (ls -al /var/spool/mqueue if you ...