Fixed: FS#664 - Ubuntu 8.10: status=bounced (user unknown. Command output: Invalid user specified. )
| | |
| | | $configfile = $config_dir.'/master.cf';
|
| | | $content = rf($configfile);
|
| | | $content = str_replace('flags=DRhu user=vmail argv=/usr/bin/maildrop -d ${recipient}',
|
| | | 'flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d ${recipient} ${extension} ${recipient} ${user} ${nexthop} ${sender}',
|
| | | 'flags=R user='.$cf['vmail_username'].' argv=/usr/bin/maildrop -d '.$cf['vmail_username'].' ${extension} ${recipient} ${user} ${nexthop} ${sender}', |
| | | $content);
|
| | | wf($configfile, $content);
|
| | |
|