Quote:
Originally Posted by tamarian
Now you should be able to use /path/to/admincp/subscriber_notify as the file location (also make it chmod 666)
|
Nope - the shortcut is created correctly, but it doesn't bypass the security, php still cannot read it.
Quote:
Originally Posted by tamarian
It's not in the zip file. There are file edits in class_mail.php ( vBouncer is no longer a plugin) due to code needed for the header re-writes.
|
So I see, but as I said - I got round it by changing the plugin to this ;
PHP Code:
if (empty($from) AND is_valid_email($vbulletin->options['vbouncer_spool_account']))
{
$this->registry->options['needfromemail'] = 1;
$fromemail = $vbulletin->options['vbouncer_spool_account'];
$headers = preg_replace('/Return-Path.*/', 'Return-Path: ' . $vbulletin->options['vbouncer_spool_account'], $headers, 1);
}
The pregreplace is not actually required by myself, but I left it in.
Quote:
Originally Posted by 7thgenCivic.Com
can you post the cron job you have that copies the file etc?
|
Sure;
Code:
rm /home/<cpname>/public_html/zmail/inbox
mv /home/<cpname>/mail/<emaildomain>/<emailname>/inbox /home/<cpname>/public_html/zmail
zmail is a folder I created just for this system. I put the above in a file which is run via cron once a day.