Re: [SOGo] expire-autoreply script stop working

2014-02-04 Thread Alessio Fattorini

Il 27/01/2014 17:26, Jean Raby ha scritto:


How do you use this file from dovecot.conf?
This file usually contains username:password, but it probably depends on how
you're using it in dovecot.conf.


I'm not configured master.cf on dovecot.conf :-\
My fault, thanks for help and suggestion!
Bye



--
Alessio Fattorini

twitter.com/ale_fattorini
it.linkedin.com/in/alefattorini‎
Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] expire-autoreply script stop working

2014-01-27 Thread Alessio Fattorini

Il 22/01/2014 21:28, Jean Raby ha scritto:


My guess is that the password you provided to sogo-tool is wrong or the user is
not a master user.


# grep sogo /etc/dovecot/master.users
sogo

# sudo -u sogo /usr/sbin/sogo-tool expire-autoreply sogo:Nethesis
0x0x8ecebac[SOGoCache] Cache cleanup interval set every 300.00 seconds
0x0x8ecebac[SOGoCache] Using host(s) 'localhost' as server(s)
2014-01-30 23:59:04.385 sogo-tool[16511] failure. Attempting with a 
renewed password (no authname supported)
2014-01-30 23:59:04.387 sogo-tool[16511] Could not login 'alessio' on 
Sieve server: 0x0x9045694[NGSieveClient]: 
socket=NGActiveSocket[0x0x9049f84]: mode=rw 
address=0x0x904b454[NGInternetSocketAddress]: host=localhost 
port=57900 connectedTo=0x0x90479ac[NGInternetSocketAddress]: 
host=localhost port=4190: (null)


Alessio is the user with vacation activated

Same error with:
sudo -u sogo /usr/sbin/sogo-tool expire-autoreply -p 
/var/lib/sogo/credentials


And:
# cat /var/lib/sogo/credentials
sogo:Nethesis

With cron:
0 0 * * *  sogo/usr/sbin/sogo-tool expire-autoreply -p 
/var/lib/sogo/credentials



Maybe, I miss something :-\


--
Alessio Fattorini
Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] expire-autoreply script stop working

2014-01-27 Thread Remi Verchere
Hi,

 # sudo -u sogo /usr/sbin/sogo-tool expire-autoreply sogo:Nethesis
 0x0x8ecebac[SOGoCache] Cache cleanup interval set every 300.00 seconds
 0x0x8ecebac[SOGoCache] Using host(s) 'localhost' as server(s)
 2014-01-30 23:59:04.385 sogo-tool[16511] failure. Attempting with a renewed
 password (no authname supported)
 2014-01-30 23:59:04.387 sogo-tool[16511] Could not login 'alessio' on Sieve
 server: 0x0x9045694[NGSieveClient]: socket=NGActiveSocket[0x0x9049f84]:
 mode=rw address=0x0x904b454[NGInternetSocketAddress]: host=localhost
 port=57900 connectedTo=0x0x90479ac[NGInternetSocketAddress]:
 host=localhost port=4190: (null)


Did you change any ldap authentication parameters ? I mean password
lookup vs auth bind ?
I have the same issue when using auth bind.

Regards,

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


Re: [SOGo] expire-autoreply script stop working

2014-01-27 Thread Jean Raby

On 14-01-27 10:24 AM, Alessio Fattorini wrote:

Il 22/01/2014 21:28, Jean Raby ha scritto:


My guess is that the password you provided to sogo-tool is wrong or the user is
not a master user.


# grep sogo /etc/dovecot/master.users
sogo


How do you use this file from dovecot.conf?
This file usually contains username:password, but it probably depends on how 
you're using it in dovecot.conf.



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


Re: [SOGo] expire-autoreply script stop working

2014-01-22 Thread Christian Mack
Hi Alessio Fattorini

Am 2014-01-21 17:17, schrieb Alessio Fattorini:

 after the shell change for user sogo, from /bin/bash to /sbin/nologin my
 expire-autoreply vacation script stop working.
 
 0 0 * * *  sogo/usr/sbin/sogo-tool expire-autoreply sogo:wi***
 
 I wrote this month ago, as suggested in documentation and sogo package
 
 I try with this (like an email suggest me)
 sudo -u sogo /usr/sbin/sogo-tool expire-autoreply -p
 /var/lib/sogo/credentials
 
 but i obtain this error:
 
 2014-01-23 00:05:42.282 sogo-tool[9279] Could not login 'alessio' on
 Sieve server: 0x0x8fb34d4[NGSieveClient]:
 socket=NGActiveSocket[0x0x8fb7e04]: mode=rw
 address=0x0x8fb92d4[NGInternetSocketAddress]: host=localhost
 port=57430 connectedTo=0x0x8fb57ec[NGInternetSocketAddress]:
 host=localhost port=4190: (null)
 2014-01-23 00:05:42.287 sogo-tool[9279] An error occured while removing
 auto-reply of user alessio
 
 
 alessio is the user with vacation activated
 Can you explain how change script please? If i should change
 I should use sudo, how can i use sudo into cron?
 

You already did a sudo to sogo with giving the user to execute as in
your cron entry.
You only have to change the options of your command in the cron entry.
So just use:

0 0 * * *  sogo/usr/sbin/sogo-tool expire-autoreply -p
/var/lib/sogo/credentials


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] expire-autoreply script stop working

2014-01-22 Thread Alessio Fattorini

Il 21/01/2014 17:17, Alessio Fattorini ha scritto:

Hi all,
after the shell change for user sogo, from /bin/bash to /sbin/nologin my
expire-autoreply vacation script stop working.


Sorry but no one has the same problem? It's strange..



--
Alessio Fattorini

Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] expire-autoreply script stop working

2014-01-22 Thread Szládovics Péter

2014-01-22 10:13 keltezéssel, Alessio Fattorini írta:

Il 21/01/2014 17:17, Alessio Fattorini ha scritto:

Hi all,
after the shell change for user sogo, from /bin/bash to /sbin/nologin my
expire-autoreply vacation script stop working.


Sorry but no one has the same problem? It's strange..



Did you set up your imap server for it? Which one is used?
--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] expire-autoreply script stop working

2014-01-22 Thread Alessio Fattorini

Il 22/01/2014 13:26, Szládovics Péter ha scritto:

2014-01-22 10:13 keltezéssel, Alessio Fattorini írta:

Il 21/01/2014 17:17, Alessio Fattorini ha scritto:

Hi all,
after the shell change for user sogo, from /bin/bash to /sbin/nologin my
expire-autoreply vacation script stop working.


Sorry but no one has the same problem? It's strange..



Did you set up your imap server for it? Which one is used?


Thanks for answer
I use Dovecot.
But maybe i wasn't not clear, before the bash change of user sogo it 
worked for year.


This command doesn't work
sudo -u sogo /usr/sbin/sogo-tool expire-autoreply -p
/var/lib/sogo/credentials

The errore is report in the email above

--
Alessio Fattorini

Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists


[SOGo] expire-autoreply script stop working

2014-01-21 Thread Alessio Fattorini

Hi all,
after the shell change for user sogo, from /bin/bash to /sbin/nologin my 
expire-autoreply vacation script stop working.


0 0 * * *  sogo/usr/sbin/sogo-tool expire-autoreply sogo:wi***

I wrote this month ago, as suggested in documentation and sogo package

I try with this (like an email suggest me)
sudo -u sogo /usr/sbin/sogo-tool expire-autoreply -p 
/var/lib/sogo/credentials


but i obtain this error:

2014-01-23 00:05:42.282 sogo-tool[9279] Could not login 'alessio' on 
Sieve server: 0x0x8fb34d4[NGSieveClient]: 
socket=NGActiveSocket[0x0x8fb7e04]: mode=rw 
address=0x0x8fb92d4[NGInternetSocketAddress]: host=localhost 
port=57430 connectedTo=0x0x8fb57ec[NGInternetSocketAddress]: 
host=localhost port=4190: (null)
2014-01-23 00:05:42.287 sogo-tool[9279] An error occured while removing 
auto-reply of user alessio



alessio is the user with vacation activated
Can you explain how change script please? If i should change
I should use sudo, how can i use sudo into cron?
Thanks

--
Alessio Fattorini

Nethesis srl - Pesaro (Italy)
--
users@sogo.nu
https://inverse.ca/sogo/lists