[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#797653: apache2-mpm-itk: Cant send emails from PHP script, when install mpm-itk and exim4.



Package: apache2-mpm-itk
Version: 2.4.10-10+deb8u1
Severity: normal

Dear Maintainer,

   * What led up to the situation?
Install apache2-mpm-itk and exim4. Configure apache vhost to some user and group.

   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Add vhost, set AssignUserID to this vhost to some new user and group.
Create php script for this vhost with text:
<?php
var_dump(mail('admin@vokulov.ru', 'test message from server', 'self testing'));
?>
Then just open script from browser.

   * What was the outcome of this action?
bool(False) and error in /var/log/exim4/paniclog:
2015-09-01 13:13:51 unable to set gid=1001 or uid=0 (euid=0): forcing real = effective

   * What outcome did you expect instead?
Recieve text in browser - bool(true)

To fix this error i add this settings to apache conf:
LimitUIDRange 0 6000
LimitGIDRange 0 6000

-- System Information:
Debian Release: 8.1
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages apache2-mpm-itk depends on:
ii  apache2             2.4.10-10+deb8u1
ii  libapache2-mpm-itk  2.4.7-02-1.1

apache2-mpm-itk recommends no packages.

apache2-mpm-itk suggests no packages.

-- no debconf information


Reply to: