Re: [SOGo] sogo-tool expire-autoreply script
Hello, just one question to be sure : u%*master:[password] but when running manually via /usr/sbin/sogo-tool expire-autoreply %u*master:[password] I just get errors: Can we use %u in the authname ? (I don't see this in the doc). Or do we need to write a wrapper to call sogo-tool expire-autoreply for each user ? (with dovecot as imap/sieve server) David. -- users@sogo.nu https://inverse.ca/sogo/lists
RE: [SOGo] sogo-tool expire-autoreply script
Hi, thanks for clearing this up for me. I was missing the pass = yes. Regards, Michael. -Original Message- From: Jean Raby [mailto:jr...@inverse.ca] Sent: Thursday, 7 February 2013 12:36 AM To: users@sogo.nu Subject: Re: [SOGo] sogo-tool expire-autoreply script Hi, On 13-02-06 3:40 AM, mich...@los-pollos.co wrote: Hi all, successfully got a dovecot/postfix/LDAP/sogo2.04 server up and running on Ubuntu 12.04 but having some problems getting the cron jobs setup. Specifically the sogo-tool expire-autoreply script. The script appears to require a username:password but I am struggling to understand what that user and password should be. Some documentation says it should be sieve-admin yet only cyrus imap allows the definition of a sieve_admin in its conf file, dovecot sieve config doesn't appear to have this. I have also read somewhere that a dovecot master user should be setup and this should be used, which I have tried by entering u%*master:[password] but when running manually via /usr/sbin/sogo-tool expire-autoreply %u*master:[password] I just get errors: failure. Attempting with a renewed password (no authname supported) Could not login 'u...@example.com' on Sieve server: 0x0x9758288[NGSieveClient]: socket=NGActiveSocket[0x0x975cd88]: mode=rw address=0x0x975e530[NGInternetSocketAddress]: host=localhost.localdomain port=36296 connectedTo=0x0x975a6e0[NGInternetSocketAddress]: host=127.0.0.1 port=4190: (null) An error occured while removing auto-reply of user u...@example.com mailto:u...@example.com Entering an individual's username and password works but obviously then the script will only work for that particular user. I am using virtual users located in an ldap directory. Any help is greatly appreciated! You need to create a master users password file and configure it as such in dovecot configuration file. For example: passdb { driver = passwd-file args = /etc/dovecot/master-users master = yes pass = yes } Then create the file and add a user: htpasswd -c -s /etc/dovecot/master-users dovmaster You should then be able to get sogo-tool expire-autoreply to work using user 'dovmaster'. See http://wiki2.dovecot.org/Authentication/MasterUsers for more details. Regards, Michael. -- Jean Raby jr...@inverse.ca :: +1.514.447.4918 (x120) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-tool expire-autoreply script
Look at this page, it's where I found the answer last week ! http://wiki.dovecot.org/Authentication/MasterUsers Le 06/02/2013 11:28, mich...@los-pollos.co a écrit : ly the sogo-tool expire-autoreply script. The script appears to require a username:password but I am struggling to understand what that user and password should be. Some documentation says it should be sieve-admin yet only cyrus imap allows the definition of a sieve_admin in its conf file, dovecot sieve config doesn’t appear to have this. I have also read somewhere that a dovecot master user should be setup and this should be used, which I have tried by entering u%*master:[password] but when running manually via /usr/sbin/sogo-tool expire-autoreply %u*master:[password] I just get errors: -- users@sogo.nu https://inverse.ca/sogo/lists
Re: [SOGo] sogo-tool expire-autoreply script
Hi, On 13-02-06 3:40 AM, mich...@los-pollos.co wrote: Hi all, successfully got a dovecot/postfix/LDAP/sogo2.04 server up and running on Ubuntu 12.04 but having some problems getting the cron jobs setup. Specifically the sogo-tool expire-autoreply script. The script appears to require a username:password but I am struggling to understand what that user and password should be. Some documentation says it should be sieve-admin yet only cyrus imap allows the definition of a sieve_admin in its conf file, dovecot sieve config doesn’t appear to have this. I have also read somewhere that a dovecot master user should be setup and this should be used, which I have tried by entering u%*master:[password] but when running manually via /usr/sbin/sogo-tool expire-autoreply %u*master:[password] I just get errors: failure. Attempting with a renewed password (no authname supported) Could not login 'u...@example.com' on Sieve server: 0x0x9758288[NGSieveClient]: socket=NGActiveSocket[0x0x975cd88]: mode=rw address=0x0x975e530[NGInternetSocketAddress]: host=localhost.localdomain port=36296 connectedTo=0x0x975a6e0[NGInternetSocketAddress]: host=127.0.0.1 port=4190: (null) An error occured while removing auto-reply of user u...@example.com mailto:u...@example.com Entering an individual’s username and password works but obviously then the script will only work for that particular user. I am using virtual users located in an ldap directory. Any help is greatly appreciated! You need to create a master users password file and configure it as such in dovecot configuration file. For example: passdb { driver = passwd-file args = /etc/dovecot/master-users master = yes pass = yes } Then create the file and add a user: htpasswd -c -s /etc/dovecot/master-users dovmaster You should then be able to get sogo-tool expire-autoreply to work using user 'dovmaster'. See http://wiki2.dovecot.org/Authentication/MasterUsers for more details. Regards, Michael. -- Jean Raby jr...@inverse.ca :: +1.514.447.4918 (x120) :: www.inverse.ca Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence (www.packetfence.org) -- users@sogo.nu https://inverse.ca/sogo/lists