Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: him on June 23, 2015, 07:35:53 AM

Title: header
Post by: him on June 23, 2015, 07:35:53 AM
when sending, I want to disable the header:
 "X-PHP-Script"
"X-PHP-Originating-Script"
 help me please.
Title: Re: header
Post by: alec on June 23, 2015, 07:49:09 AM
That's added by PHP if you use mail() for sending the mail. You need to unset this in php.ini. Other option is to use smtp server in Roundcube. See smtp_* options in Roundcube config file.
Title: Re: header
Post by: him on June 23, 2015, 08:55:19 AM
php.ini do not want to touch

where in the config file roundcube these options? I can't find.
www/roundcube/config/config.inc.php      ???
www/roundcube/config/defaults.inc.php      ???
Title: Re: header
Post by: SKaero on June 23, 2015, 10:50:20 AM
You can see all the config options in the defaults.inc.php, when you want to change an option copy it to the config.inc.php and set the new config value.
Title: Re: header
Post by: ABerglund on June 23, 2015, 11:39:28 AM
There are no roundcube options to remove headers if you are using PHP's mail() process. The options in roundcube would be for you to change your sending method from PHP mail() to SMTP.
Title: Re: header
Post by: him on June 24, 2015, 03:28:58 AM
ok.

/usr/local/etc/php.ini
mail.add_x_header = Off
apachectl restart


how to disable x-php-script ?
what value to disable?
I can't find...