]> git.donarmstrong.com Git - roundcube.git/blobdiff - bin/msgimport.sh
Imported Upstream version 0.6+dfsg
[roundcube.git] / bin / msgimport.sh
index 74dc816173c3483a1ca7f9fba96672f481824804..845c585e19a7a7f9cba667308eb2bbd3a48b9064 100755 (executable)
@@ -79,7 +79,7 @@ if ($IMAP->connect($host, $args['user'], $args['pass'], $imap_port, $imap_ssl))
        $fp = fopen($args['file'], 'r');
        while (($line = fgets($fp)) !== false)
        {
-               if (preg_match('/^From\s+/', $line) && $lastline == '')
+               if (preg_match('/^From\s+-/', $line) && $lastline == '')
                {
                        if (!empty($message))
                        {