|
|
@ -1,9 +1,11 @@ |
|
|
|
{ |
|
|
|
{ |
|
|
|
my $greeting = $dovecot{'Greeting'} || 'SME Server IMAP service powered by doveot'; |
|
|
|
my $greeting = $dovecot{'Greeting'} || 'SME Server IMAP service powered by doveot'; |
|
|
|
$OUT .= "login_greeting = \"$greeting\"\n"; |
|
|
|
$OUT .= "login_greeting = \"$greeting\"\n"; |
|
|
|
|
|
|
|
our $args = $dovecot{PassDBArgs} || ''; |
|
|
|
} |
|
|
|
} |
|
|
|
passdb \{ |
|
|
|
passdb \{ |
|
|
|
driver = pam |
|
|
|
driver = pam |
|
|
|
|
|
|
|
{ $OUT .= ($args ne '') ? "args = $args\n" : ''; } |
|
|
|
\} |
|
|
|
\} |
|
|
|
{ |
|
|
|
{ |
|
|
|
if (($dovecot{'AdminIsMaster'} || 'disabled') eq 'enabled'){ |
|
|
|
if (($dovecot{'AdminIsMaster'} || 'disabled') eq 'enabled'){ |
|
|
@ -11,7 +13,7 @@ if (($dovecot{'AdminIsMaster'} || 'disabled') eq 'enabled'){ |
|
|
|
|
|
|
|
|
|
|
|
passdb { |
|
|
|
passdb { |
|
|
|
driver = pam |
|
|
|
driver = pam |
|
|
|
args = dovecotadmin |
|
|
|
args = $args dovecotadmin |
|
|
|
master = yes |
|
|
|
master = yes |
|
|
|
} |
|
|
|
} |
|
|
|
auth_master_user_separator = * |
|
|
|
auth_master_user_separator = * |
|
|
|