Use expire-autoreply for SOGo 2 instead of update-autoreply
This commit is contained in:
parent
1ed7ed509a
commit
2dc55fdd13
|
@ -1 +1,5 @@
|
|||
0 0 * * * sogo /usr/sbin/sogo-tool update-autoreply -p /etc/sogo/sieve.creds
|
||||
{
|
||||
my $version = qx(/bin/rpm -q --qf "%{version}" sogo-tool);
|
||||
my $cmd = ($version =~ m/^2/) ? 'expire-autoreply' : 'update-autoreply';
|
||||
$OUT = "0 0 * * * sogo /usr/sbin/sogo-tool $cmd -p /etc/sogo/sieve.creds";
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue