Author Topic: header  (Read 3680 times)

Offline him

  • Newbie
  • *
  • Posts: 3
header
« 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.

Offline alec

  • Hero Member
  • *****
  • Posts: 1,363
Re: header
« Reply #1 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.

Offline him

  • Newbie
  • *
  • Posts: 3
Re: header
« Reply #2 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      ???

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,876
    • SKaero - Custom Roundcube development
Re: header
« Reply #3 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.

Offline ABerglund

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 673
Re: header
« Reply #4 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.
Arne Berglund
SysAdmin, Internet Services
Lane Education Service District
Eugene, OR, USA

Offline him

  • Newbie
  • *
  • Posts: 3
Re: header
« Reply #5 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...