[Dovecot] Binary locations

Stewart Dean sdean at bard.edu
Tue Oct 6 21:07:36 EEST 2009


ummm... I like the idea of an anchor as per Jim Redi
> <anchor>/sbin is for the dovecot daemon,
> <anchor>/libexec/dovecot is for supporting tools & utilities
> <anchor>/lib is for dovecot's (shared) libraries
> <anchor>/etc is for config files   
...I use /usr/local for that in my installation.  Which means that, if 
upgrades (of the OS) do messy things to the contents of /etc/ or/bin 
or..., the dovecot stuff is in /usr/local/etc, /usr/local/bin or sbin 
and is left alone.  And, of course, the anchor can be null.

Timo Sirainen wrote:
> Where do you think the following binaries should be installed to? The
> possible locations are:
>
>  - bin/
>  - sbin/
>  - libexec/dovecot/ (or lib/dovecot/ in most Linux distros)
>
> So the binaries are:
>
> 1) These probably belong to bin/ or sbin/ or both:
>  - authtest
>  - dovecotpw
>  - doveadm
>
> 2) Binaries that you might want to call from mail_executable setting:
>  - rawlog
>  - gdbhelper
>
> 3) Index file dumping programs, mostly meant for debugging problems:
>  - idxview
>  - listview
>  - logview
>  - mailboxlogview
>  - threadview
>
> 4) Some extra tools that might be useful sometimes:
>  - imap-utf7 : Encode/decode IMAP mailbox names (mUTF-7 <-> UTF-8)
>  - maildirlock : Lock a Maildir, primarily intended for compressing
> files in maildir
>
> And perhaps some of the binaries should be renamed? The authtest
> actually now looks like a bad name. Maybe it should have been
> "doveauthtest" or "dovecot-authtest" or ..?
>   

-- 
"One must think like a hero to behave like a merely decent human being." 
- May Sarton Stewart Dean, Unix System Admin, Bard College, New York 
12504 sdean at bard.edu voice: 845-758-7475, fax: 845-758-7035


More information about the dovecot mailing list