Hi all, I am very curious about the prefix number of the configuration filename, such as 10-auth.conf 10-director.conf 10-logging.conf 10-mail.conf 10-master.conf 10-ssl.conf 15-lda.conf 15-mailboxes.conf 20-imap.conf 20-lmtp.conf 20-managesieve.conf 20-pop3.conf 90-acl.conf 90-plugin.conf 90-quota.conf 90-sieve.conf 90-sieve-extprograms.conf What are those meanings of 10,15,20 and 90 ? Please advise me and thank you in advance. -- Best Regards, Dogz
> Hi all, I am very curious about the prefix number of the configuration > filename, such as 10-auth.conf .... What are those meanings of 10,15,20 > and 90 ?The configuration files are read and processed according to the sorting order of their names. Adding the numeric prefixes allows the order in which the files are processed to be determined independently of their names. So, in this case, the config files with names starting with 10 are read first (i.e., 10-director.conf is processed first). If the number prefixes weren't there, then the "acl.conf" file would be processed first (instead of near the end). It matters what order the configuration files are processed in because later files can override parameters set by earlier files. Rich Wales richw at richw.org
At a guess, the directory gets listed, the names get sorted numerically, and then read in order low-to-high. In theory, the end result will be the same regardless of what order stuff gets read in, but doing it in a deterministic order makes troubleshooting easier. On Mon, Feb 15, 2016 at 7:31 PM, Dogz <dogz.tw at gmail.com> wrote:> Hi all, > > I am very curious about the prefix number of the configuration > filename, such as 10-auth.conf > 10-director.conf > 10-logging.conf > 10-mail.conf > 10-master.conf > 10-ssl.conf > 15-lda.conf > 15-mailboxes.conf > 20-imap.conf > 20-lmtp.conf > 20-managesieve.conf > 20-pop3.conf > 90-acl.conf > 90-plugin.conf > 90-quota.conf > 90-sieve.conf > 90-sieve-extprograms.conf > > What are those meanings of 10,15,20 and 90 ? > > Please advise me and thank you in advance. > > -- > Best Regards, > Dogz >
Dear David and Rich, Thank you for your soon reply. I understood. I thought that would be special meanings. Anyway, thank you for your nice reply. 2016-02-16 8:48 GMT+08:00 Rich Wales <richw at richw.org>:> >> Hi all, I am very curious about the prefix number of the configuration >> filename, such as 10-auth.conf .... What are those meanings of 10,15,20 >> and 90 ? > > The configuration files are read and processed according to the sorting > order of their names. Adding the numeric prefixes allows the order in > which the files are processed to be determined independently of their names. > > So, in this case, the config files with names starting with 10 are read > first (i.e., 10-director.conf is processed first). If the number > prefixes weren't there, then the "acl.conf" file would be processed > first (instead of near the end). > > It matters what order the configuration files are processed in because > later files can override parameters set by earlier files. > > Rich Wales > richw at richw.org-- Best Regards, Dogz
Possibly Parallel Threads
- Looking for way to monitor dsync, confirm it is or isn't running
- Xen not seeing all the memory in the box
- Replication fails with "Remote dsync doesn't use compatible protocol"
- mdbox and folders containing both messages and sub-folders
- Capability problems dovecot 2.0