Revision of Master Users from Wed, 02/15/2012 - 14:23

Revisions allow you to track differences between multiple versions of your content, and revert back to older versions.

Edit /usr/local/etc/dovecot/conf.d/auth-master.conf.ext and enable a passwd file for the master user(s):

passdb {
  driver = passwd-file
  master = yes
  args = /usr/local/etc/dovecot/passwd.masterusers

  # Unless you're using PAM, you probably still want the destination user to
  # be looked up from passdb that it really exists. pass=yes does that.
  pass = yes
}

Edit /usr/local/etc/dovecot/conf.d/10-auth.conf and add a separator for between the usernames. Also, enable the auth-master.conf.ext config file:

auth_master_user_separator = *

Create the passwd file of master usernames and passwords with the htaccess program:

/usr/local/apache2/bin/htpasswd -c -s /usr/local/etc/dovecot/passwd.masterusers username

Roundcube Plugin
If you're going to use Roundcube to access a user's account, the Dovecot Impersonate plugin will strip the master information from the login form so that Roundcube fetches the proper set of user preferences.

cd /extra/src
wget http://roundcube-plugins.googlecode.com/files/dovecot_impersonate-1.1.tgz
tar zxf dovecot_impersonate-1.1.tgz
mv dovecot_impersonate /var/websites/mail/htdocs/roundcube/plugins/

Add dovecot_impersonate to $rcmail_config['plugins'] in /var/websites/mail/htdocs/roundcube/config/main.inc.php:

$rcmail_config['plugins'] = array('managesieve','dovecot_impersonate');

Recent Updates

  • 11 months 1 week ago
    1.27.2 update
  • 11 months 3 weeks ago
    Drupal 10/11 config
  • 11 months 3 weeks ago
  • PHP
    11 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 11 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.