steffen: server/kolabd/kolabd kolabquotawarn,1.3.2.6,1.3.2.7
cvs at intevation.de
cvs at intevation.de
Wed Jan 11 21:44:51 CET 2006
Author: steffen
Update of /kolabrepository/server/kolabd/kolabd
In directory doto:/tmp/cvs-serv25712/kolabd
Modified Files:
Tag: kolab_2_0_branch
kolabquotawarn
Log Message:
Fix for Issue1012 (quota warnings logged)
Index: kolabquotawarn
===================================================================
RCS file: /kolabrepository/server/kolabd/kolabd/Attic/kolabquotawarn,v
retrieving revision 1.3.2.6
retrieving revision 1.3.2.7
diff -u -d -r1.3.2.6 -r1.3.2.7
--- kolabquotawarn 4 Nov 2005 19:47:52 -0000 1.3.2.6
+++ kolabquotawarn 11 Jan 2006 20:44:49 -0000 1.3.2.7
@@ -140,7 +140,11 @@
data => $msg );
$mail->print if $opt_d;
my $mailer = Mail::Transport::SMTP->new();
- $mailer->send($mail);
+ if( $mailer->send( $mail ) ) {
+ mylog("info", "info: Sent quota warning message to $user because quota is at $pct%");
+ } else {
+ mylog("err", "error: Failed sent quota warning message to $user");
+ }
}
sub kolablistquotas {
More information about the commits
mailing list