Skip to content

Commit 5ac40dc

Browse files
author
Marius Burkard
committed
- small cleanup
1 parent a091885 commit 5ac40dc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

server/plugins-available/postfix_server_plugin.inc.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,7 @@ function update($event_name, $data) {
265265
}
266266

267267
if(is_file('/etc/init.d/rspamd')) $app->services->restartServiceDelayed('rspamd', 'reload');
268-
}
269-
if($mail_config['content_filter'] == 'amavisd'){
268+
} elseif($mail_config['content_filter'] == 'amavisd'){
270269
exec("postconf -X 'smtpd_milters'");
271270
exec("postconf -X 'milter_protocol'");
272271
exec("postconf -X 'milter_mail_macros'");

0 commit comments

Comments
 (0)