File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed
Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ public function configure_dovecot()
6161 }
6262 //* Configure master.cf and add a line for deliver
6363 $ content = rf ($ conf ["postfix " ]["config_dir " ].'/master.cf ' );
64- $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} ' ."\n" ;
64+ $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} ' ."\n" ;
6565 af ($ config_dir .'/master.cf ' , $ deliver_content );
6666 unset($ content );
6767 unset($ deliver_content );
Original file line number Diff line number Diff line change @@ -394,7 +394,7 @@ public function configure_dovecot()
394394 }
395395 //* Configure master.cf and add a line for deliver
396396 $ content = rf ($ conf ["postfix " ]["config_dir " ].'/master.cf ' );
397- $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} ' ."\n" ;
397+ $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} ' ."\n" ;
398398 af ($ conf ["postfix " ]["config_dir " ].'/master.cf ' , $ deliver_content );
399399 unset($ content );
400400 unset($ deliver_content );
Original file line number Diff line number Diff line change @@ -303,7 +303,7 @@ public function configure_dovecot()
303303 }
304304 //* Configure master.cf and add a line for deliver
305305 $ content = rf ($ conf ["postfix " ]["config_dir " ].'/master.cf ' );
306- $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DROhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} ' ."\n" ;
306+ $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DROhu user=vmail:vmail argv=/usr/libexec/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} ' ."\n" ;
307307 af ($ config_dir .'/master.cf ' , $ deliver_content );
308308 unset($ content );
309309 unset($ deliver_content );
Original file line number Diff line number Diff line change @@ -404,7 +404,7 @@ public function configure_dovecot()
404404 }
405405 //* Configure master.cf and add a line for deliver
406406 $ content = rf ($ conf ["postfix " ]["config_dir " ].'/master.cf ' );
407- $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} ' ."\n" ;
407+ $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} ' ."\n" ;
408408 af ($ conf ["postfix " ]["config_dir " ].'/master.cf ' , $ deliver_content );
409409 unset($ content );
410410 unset($ deliver_content );
Original file line number Diff line number Diff line change @@ -1322,7 +1322,7 @@ public function configure_dovecot() {
13221322 }
13231323 //* Configure master.cf and add a line for deliver
13241324 $ content = rf ($ conf ["postfix " ]["config_dir " ].'/master.cf ' );
1325- $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} ' ."\n" ;
1325+ $ deliver_content = 'dovecot unix - n n - - pipe ' ."\n" .' flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -a ${original_recipient} ' ."\n" ;
13261326 af ($ config_dir .'/master.cf ' , $ deliver_content );
13271327 unset($ content );
13281328 unset($ deliver_content );
You can’t perform that action at this time.
0 commit comments