Skip to content

Commit 51c815a

Browse files
committed
- Updated installer for CentOS 5.2 so that the correct maildrop path is set in /etc/postfix/master.cf.
1 parent fc11794 commit 51c815a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,15 @@ function configure_postfix($options = '')
163163
$content = str_replace('# flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}',
164164
' flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
165165
$content);
166+
166167
// If postfix package is from centos plus repo
167168
$content = str_replace('# flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}',
168169
' flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
169170
$content);
171+
172+
$content = str_replace(' flags=DRhu user=vmail argv=/usr/local/bin/maildrop -d ${recipient}',
173+
' flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
174+
$content);
170175

171176

172177
$content = str_replace('#maildrop unix - n n - - pipe',

0 commit comments

Comments
 (0)