File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed
Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -123,9 +123,14 @@ function check_system($data) {
123123
124124 if (!is_dir ($ mail_config ['dkim_path ' ])) {
125125 $ app ->log ('DKIM Path ' .$ mail_config ['dkim_path ' ].' not found - (re)created. ' , LOGLEVEL_DEBUG );
126- if ($ app ->system ->is_user ('amavis ' )) { $ amavis_user ='amavis ' ; }
127- elseif ($ app ->system ->is_user ('vscan ' )) { $ amavis_user ='vscan ' ; }
128- else { $ amavis_user ='' ; }
126+ if ($ app ->system ->is_user ('amavis ' )) {
127+ $ amavis_user ='amavis ' ;
128+ } elseif ($ app ->system ->is_user ('vscan ' )) {
129+ $ amavis_user ='vscan ' ;
130+ }
131+ else {
132+ $ amavis_user ='' ;
133+ }
129134 if (!empty ($ amavis_user )) {
130135 mkdir ($ mail_config ['dkim_path ' ], 0750 , true );
131136 exec ('chown ' .$ amavis_user .' /var/lib/amavis/dkim ' );
You can’t perform that action at this time.
0 commit comments