Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > ec5cdf369d44ba23f92d81985fdbc814 > files > 33

squirrelmail-1.4.22-5.mga3.src.rpm

--- functions/imap_general.php	2005-01-08 21:40:49.000000000 +0100
+++ functions/imap_general.php.oden	2005-01-30 14:04:43.318225757 +0100
@@ -576,6 +576,8 @@
                 sqsession_destroy();
                 /* terminate the session nicely */
                 sqimap_logout($imap_stream);
+                sqgetGlobalVar('REMOTE_ADDR', $remote_ip, SQ_SERVER);
+                syslog(LOG_MAIL|LOG_NOTICE,"Squirrelmail login failed for Username: $username (HostIP: $remote_ip)");
                 logout_error( _("Unknown user or password incorrect.") );
                 exit;
             }