diff options
Diffstat (limited to 'bin/msgimport.sh')
-rwxr-xr-x | bin/msgimport.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/msgimport.sh b/bin/msgimport.sh index 74dc81617..845c585e1 100755 --- a/bin/msgimport.sh +++ b/bin/msgimport.sh @@ -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)) { |