diff --git a/server/plugins-available/postfix_server_plugin.inc.php b/server/plugins-available/postfix_server_plugin.inc.php
index 8cdb95066bde7cf78a085f9020c62e6dd2e13be0..a8ef21447dd8d673bc77a1645716c4dafb00029f 100644
--- a/server/plugins-available/postfix_server_plugin.inc.php
+++ b/server/plugins-available/postfix_server_plugin.inc.php
@@ -138,7 +138,7 @@ class postfix_server_plugin {
 				if ($value == '') continue;
 				if (preg_match('/^reject_rbl_client/', $value)) continue;
 				$new_options[] = $value;
-				if (preg_match('/^permit_mynetworks/', $value)) {
+				if (preg_match('/^permit_sasl_authenticated/', $value)) {
 					$new_options = array_merge($new_options, $rbl_options);
 					$rbl_options = array(); // so we don't ever array_merge twice
 				}