diff --git a/whups/bin/whups-mail-filter b/whups/bin/whups-mail-filter
index e61d5a506a5..5168c6b3179 100755
--- a/whups/bin/whups-mail-filter
+++ b/whups/bin/whups-mail-filter
@@ -56,6 +56,13 @@ function _dump($hash)
return $dump;
}
+function _error()
+{
+ foreach (imap_errors() as $error) {
+ $GLOBALS['cli']->message($error, 'cli.warning');
+ }
+}
+
if (file_exists(__DIR__ . '/../../whups/lib/Application.php')) {
$baseDir = __DIR__ . '/../';
} else {
diff --git a/whups/docs/CHANGES b/whups/docs/CHANGES
index 0389d024597..4e7951b018d 100644
--- a/whups/docs/CHANGES
+++ b/whups/docs/CHANGES
@@ -2,6 +2,7 @@
v3.0.1-git
----------
+[mms] Fix whups-mail-filter binary.
------
diff --git a/whups/package.xml b/whups/package.xml
index 9cfffebe47b..c3d4950575c 100644
--- a/whups/package.xml
+++ b/whups/package.xml
@@ -27,7 +27,7 @@
BSD-2-Clause
-*
+* [mms] Fix whups-mail-filter binary.
@@ -1115,7 +1115,7 @@
2014-03-10
BSD-2-Clause
-*
+* [mms] Fix whups-mail-filter binary.