summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/msgimport.sh2
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))
{