Sophie

Sophie

distrib > Mageia > 7 > i586 > media > core-updates-src > by-pkgid > fc6f60ad5dc13a448a13eb625263b62c > files > 36

squirrelmail-1.4.23-0.svn20201220_0200.1.mga7.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)");

                 // determine what error message to show to the user
                 //