mirror of
https://github.com/webmin/webmin.git
synced 2026-02-03 06:03:28 +00:00
What if user isn't set at all
This commit is contained in:
@@ -2073,7 +2073,8 @@ if (!$h && $folder->{'server'} eq '*') {
|
||||
}
|
||||
}
|
||||
$imapcmd || return (0, "Dovecot imap command not found");
|
||||
$imapcmd .= " -u ".($folder->{'user'} eq "*" ? $remote_user : $folder->{'user'});
|
||||
$imapcmd .= " -u ".($folder->{'user'} eq "*" ||
|
||||
!$folder->{'user'} ? $remote_user : $folder->{'user'});
|
||||
print DEBUG "Running IMAP server $imapcmd\n";
|
||||
eval "use IPC::Open3";
|
||||
if ($@) {
|
||||
|
||||
Reference in New Issue
Block a user