In a thread here --

https://lists.inverse.ca/sogo/arc/users/2013-02/msg00082.html

It discusses setting a "Dovecot Master user/password"

https://lists.inverse.ca/sogo/arc/users/2013-02/msg00084.html
http://wiki.dovecot.org/Authentication/MasterUsers


*Is that the answer for my Sieve config?*

As readers might remember, I had some difficulties using the "Samba Administrator/Password" to authenticate Dovecot/IMAP, so opted to create "ldap" and "Unprivileged user for LDAP lookups"

"/etc/dovecot/local.conf" does not reference a "master user/password" *Perhaps it should?*

I have placed the "ldap" user in "/etc/dovecot/dovecot-ldap.conf" as the authenticating user.


Here's the contents of "/etc/dovecot/local.conf"

protocols = imap sieve

mail_home = /var/vmail/sieve/%d/%u
mail_location = maildir:~/Maildir
mail_uid = vmail
mail_gid = vmail
first_valid_uid = 107
first_valid_gid = 8
disable_plaintext_auth = no

service auth {
  unix_listener auth-userdb {
    mode = 0600
    user = vmail
    group = vmail
  }

}

userdb {
    driver = ldap
    args = /etc/dovecot/dovecot-ldap.conf
}

userdb {
  driver = static
  args = uid=vmail gid=vmail home=/var/vmail/%u
}

passdb {
    driver = ldap
    args = /etc/dovecot/dovecot-ldap.conf
}

passdb {
  driver = static
  args = nopassword=y allow_nets=127.0.0.1/32
}

protocol imap {
  mail_plugins = quota imap_quota autocreate
}

service managesieve-login {
  inet_listener sieve {
    port = 4190
  }
}

service managesieve {
}

protocol sieve {
}

plugin {
  quota = maildir:User quota
  quota_rule = *:storage=0

  sieve = /var/vmail/sieve/%d/%u/sieve-script
  sieve_global_path = /var/vmail/sieve/default.sieve
  sieve_storage = /var/vmail/sieve/%d/%u

  autocreate = Trash
  autocreate2 = Spam
  autocreate3 = Sent
  autocreate4 = Drafts
  autosubscribe = Trash
  autosubscribe2 = Spam
  autosubscribe3 = Sent
  autosubscribe4 = Drafts

}

protocol lda {
  postmaster_address = administra...@meadorandco.com
  mail_plugins = sieve
  auth_socket_path = /var/run/dovecot/auth-userdb
}



"/etc/dovecot/dovecot-ldap.conf" uses "ldap" successfully to connect to IMAP

HOWEVER, it appears the Sieve Server needs a "Master user/password"

Jean Raby gives directions for creating a separate file "/etc/dovecot/master-users"

https://lists.inverse.ca/sogo/arc/users/2013-02/msg00084.html


BUT --
*Should it not be placed in the "protocol sieve" or "managesieve-login" sections above?*


ALSO --
"SOGoIMAPServer = 127.0.0.1:143;" is loaded in "/etc/sogo/sogo.conf" but Port 993 is running.

thx


On 01/07/2015 08:57 PM, Francis Lachapelle wrote:
Hi Steve

On Jan 7, 2015, at 8:32 PM, Steve Ankeny <stev...@cinergymetro.net> wrote:

I reran "sogo-tool restore -p output-directory user"

And, I've installed a corrected Integrator in TB31

Here's the error I get when I try to change a "Preference"
Look at your log file, you probably have an error with your Sieve server. If 
you don't have one, set SOGoSieveScriptsEnabled to NO.

On 01/07/2015 06:14 PM, stev...@cinergymetro.net wrote:
Just noticed in the Installation Guide, pg. 11 . . .

Both system and domains preferences are defined in the /etc/sogo/sogo.conf,
while the users preferences are configurable by the user and stored in SOGo’s
database.

Since I used "sogo-tool backup" and "sogo-tool restore" to move user
preferences from one server to another, are there any grants in the MySQL
database that need to be set (i.e., permissions)?

I'm wondering if there's a permission issue?  Thx

--
users@sogo.nu
https://inverse.ca/sogo/lists

Reply via email to