Skip to content

Commit 013ae4d

Browse files
committed
Implemented: FS#2283 - Add O option to dovecot transport in postfix master.cf so that X-Original-To: header is added.
1 parent 99c89bf commit 013ae4d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

install/dist/lib/fedora.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ public function configure_dovecot()
292292
$content = rf($conf["postfix"]["config_dir"].'/master.cf');
293293
// Only add the content if we had not addded it before
294294
if(!stristr($content,"dovecot/deliver")) {
295-
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
295+
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DROhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
296296
af($conf["postfix"]["config_dir"].'/master.cf',$deliver_content);
297297
}
298298
unset($content);

install/dist/lib/gentoo.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function configure_dovecot()
242242
$content = rf($configfile);
243243

244244
if(!stristr($content,'dovecot/deliver')) {
245-
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
245+
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DROhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
246246
af($conf['postfix']['config_dir'].'/master.cf',$deliver_content);
247247
}
248248
unset($content);

install/dist/lib/opensuse.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ public function configure_dovecot()
330330
$content = rf($conf["postfix"]["config_dir"].'/master.cf');
331331
// Only add the content if we had not addded it before
332332
if(!stristr($content,"dovecot/deliver")) {
333-
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
333+
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DROhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
334334
af($conf["postfix"]["config_dir"].'/master.cf',$deliver_content);
335335
}
336336
unset($content);

install/lib/installer_base.lib.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -900,7 +900,7 @@ public function configure_dovecot() {
900900
$content = rf($conf['postfix']['config_dir'].'/master.cf');
901901
// Only add the content if we had not addded it before
902902
if(!stristr($content,'dovecot/deliver')) {
903-
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
903+
$deliver_content = 'dovecot unix - n n - - pipe'."\n".' flags=DROhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop}';
904904
af($conf['postfix']['config_dir'].'/master.cf',$deliver_content);
905905
}
906906
unset($content);

0 commit comments

Comments
 (0)