ametade wrote:Hi there,
I'm having the same problem with half of the email accounts mysteriously locked at a Scalix 11.1.0 server. Did anybody managed to understand this strange problem?
Unfortunately I never was able to figure out what was locking them, and I finally just gave up trying for a while. I have made this script to unlock all accounts during the daily maintenance cycle, which isn't quite secure, but what I had to do to give myself some sanity.
Code: Select all
#!/usr/bin/perl
if ( @array = `/opt/scalix/bin/omshowu -m all -l` ) {
print "\nThis script lists and unlocks all accounts that are locked out on a daily basis.\n";
print "\n\n\nAccounts Locked:\n";
foreach ( @array ) {
print "$_";
}
print "\n\n\nUnlocking Accounts:\n";
foreach ( @array ) {
print "\nWorking on " . $_;
s/\n//g;
# print ( "ommodu "$_" -k\n" );
system ( "/opt/scalix/bin/ommodu "$_" -k" );
}
print "\n\nAll accounts should now be unlocked!\n";
}
else {
print "\nThere are not any locked out accounts at this time!\n \n \n";
print " YAY!!!!!\n\n";
}
I just added a line to the ommaint daily portion calling this script, the same way I have it call my backup script (I run it before my backup, for obvious reasons).
If anyone does come up with some sort of explanation, or a way to finally find out why the accounts are being locked out, I'd love to hear about it!!!
Mito

