hongy19’s blog
epub bookmark update
- rename sample.epub to sample.zip
- unzip sample.zip
- update OEBPS/toc.ncx
- in the folder which include “OEBPS”, “META-INF” and “mimetype”. not the folder which include folder sample
- zip -D -rX9 sample.epub * -x mimetype
Dovecot upgrade from 2.3 to 2.4
- see linkfor detail guideline, Archlinux provide dovecot23 as alternative
- add two new configuration, seelink
- dovecot_config_version = 2.4.2
- dovecot_storage_version = 2.4.2
- delete empy dict
#dict {
#quota = mysql:/etc/dovecot/dovecot-dict-sql.conf.ext
#expire = sqlite:/etc/dovecot/dovecot-dict-sql.conf.ext
#}
- change “disable_plaintext_auth = yes” to “auth_allow_cleartext = no”, see link
- rename userdb and passdb.
- passdb authenticated the user.
- userdb lookup then retrieves post-login information specific to the authenticated user
userdb passwd {
#driver = passwd
}
passdb pam {
#driver = pam
passdb_driver=pam
}
/var/permission
fromlink, /var/mail should have correct permissions 2775 root:mail
The first digit “2” represents the setgid (Set Group ID) special permission:
- 2 = setgid bit enabled
- When set on a directory, new files created within inherit the directory’s group ownership
- This ensures all mail files created in
/var/mailautomatically belong to themailgroup
The s represents the setgid bit. It appears in the group execute position:* Normal group permissions: rwx (read, write, execute)
…