Skip to content

Commit a5c0466

Browse files
author
Dominik
committed
correction
1 parent 03b6336 commit a5c0466

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/plugins-available/postfix_server_plugin.inc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ function update($event_name, $data) {
141141
if($mail_config['reject_sender_login_mismatch'] != $old_ini_data['mail']['reject_sender_login_mismatch']) {
142142
$options = explode(", ", exec("postconf -h smtpd_sender_restrictions"));
143143
foreach ($options as $key => $value) {
144-
if (!preg_math('/reject_authenticated_sender_login_mismatch/', $value)) {
144+
if (!preg_match('/reject_authenticated_sender_login_mismatch/', $value)) {
145145
$new_options[] = $value;
146146
}
147147
}

0 commit comments

Comments
 (0)