|
|
@ -4,9 +4,9 @@ my $status = $dovecot{'status'} || 'enabled'; |
|
|
|
return "" if ($status ne 'enabled'); |
|
|
|
return "" if ($status ne 'enabled'); |
|
|
|
my @ports = (); |
|
|
|
my @ports = (); |
|
|
|
push @ports, ($imap{'TCPPort'} || '143') |
|
|
|
push @ports, ($imap{'TCPPort'} || '143') |
|
|
|
if (($imap{status'} || 'disabled') eq 'enabled'); |
|
|
|
if (($imap{'status'} || 'disabled') eq 'enabled'); |
|
|
|
push @ports, ($imaps{'TCPPort'} || '993') |
|
|
|
push @ports, ($imaps{'TCPPort'} || '993') |
|
|
|
if (($imaps{status'} || 'disabled') eq 'enabled'); |
|
|
|
if (($imaps{'status'} || 'disabled') eq 'enabled'); |
|
|
|
my $port = join (",", @ports); |
|
|
|
my $port = join (",", @ports); |
|
|
|
|
|
|
|
|
|
|
|
$OUT .=<<"EOF"; |
|
|
|
$OUT .=<<"EOF"; |
|
|
|