logo       

SF.net SVN: squirrelmail: [12423] branches/SM-1_4-STABLE/squirrelmail: msg#00070

Subject: SF.net SVN: squirrelmail: [12423] branches/SM-1_4-STABLE/squirrelmail
Revision: 12423
          
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12423&view=rev
Author:   bouchon
Date:     2007-05-30 02:29:48 -0700 (Wed, 30 May 2007)

Log Message:
-----------
Fixed #1727033 (auth support detection in conf.pl)

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/ChangeLog
    branches/SM-1_4-STABLE/squirrelmail/config/conf.pl

Modified: branches/SM-1_4-STABLE/squirrelmail/ChangeLog
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/ChangeLog       2007-05-29 15:29:13 UTC 
(rev 12422)
+++ branches/SM-1_4-STABLE/squirrelmail/ChangeLog       2007-05-30 09:29:48 UTC 
(rev 12423)
@@ -4,6 +4,7 @@
 
 Version 1.4.11 - SVN
 --------------------
+  - Fix #1727033 config.pl not detecting auth suppoer correctly
   - Fix display of X-Priority in message view.
   - Work around mailers sending broken Date headers with no space after the
     first comma.

Modified: branches/SM-1_4-STABLE/squirrelmail/config/conf.pl
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/config/conf.pl  2007-05-29 15:29:13 UTC 
(rev 12422)
+++ branches/SM-1_4-STABLE/squirrelmail/config/conf.pl  2007-05-30 09:29:48 UTC 
(rev 12423)
@@ -1270,6 +1270,7 @@
                 print " ERROR TESTING\n";
                 close $sock;
             } else {
+                $got = <$sock>;  # Discard greeting
                 print $sock "HELO $domain\r\n";
                 $got = <$sock>;  # Discard
                 print $sock "MAIL FROM:<tester\@squirrelmail.org>\r\n";
@@ -3674,15 +3675,12 @@
 
     # So at this point, we have a response, and it is (hopefully) valid.
     if ($service eq 'SMTP') {
-        if (($response =~ /^535/) or ($response =~/^502/)) {
+        if (!($response =~ /^334/)) {
             # Not supported
             print $sock $logout;
             close $sock;
             return 'NO';
-        } elsif ($response =~ /^503/) {
-            #Something went wrong
-            return undef;
-        }
+       }
     } elsif ($service eq 'IMAP') {
         if ($response =~ /^A01/) {
             # Not supported


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
boot-loaders.gr...    php.pear.genera...    debugging.valgr...    kde.redhat.user...    text.xml.xsl.ge...    culture.languag...    hardware.microc...    java.servicemix...    redhat.release....    web.zope.plone....    user-groups.lin...    opendarwin.webk...    video.mjpeg.use...    sysutils.bcfg2....    encryption.gpg....    lx-office.devel...    xfree86.forum/2...    mail.mutt.devel...    acpi.devel/2003...    qnx.openqnx.dev...    network.irc.irs...    freebsd.devel.m...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe