Mail Security and SUEXEC

Author Message

John Bolton

Wednesday 21 May 2003 7:47:46 am

Due to a recent security exploit on the mailer script in one of my host's
servers (Linux - Apache 1.3.27 - PHP 4.3.1), they have now implemented SUEXEC on all servers. As a result, any script that sends out mails as 'nobody' will have their outgoing mails automatically bounced by the server.

I do not have email sender Nobody in site.ini or site.ini.append in v3.0-1. However new user registration information emails appear to be sent by 'Nobody' from the host server yet the activation email correctly picks up the admistrator email address as the sender.

What do I need to do to avoid sending 'Nobody' for this or any other mailing forms similarly affected?

Björn Dieding@xrow.de

Sunday 25 May 2003 10:00:48 am

Easy

you need a vhost similar then that.

<VirtualHost 217.160.187.131:80>
ServerName xrow.de
DocumentRoot /home/www/web11/html/xrow.de
User web11
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web11/html/cgi-bin/
php_admin_value open_basedir /home/www/web11/
php_admin_value upload_tmp_dir /home/www/web11/phptmp/
php_admin_value open_basedir none
RewriteEngine On
RewriteRule !.(gif|css|jpg|png|jar)$ /index.php
</VirtualHost>

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:10:40
Script start
Timing: Jan 18 2025 19:10:40
Module start 'layout'
Timing: Jan 18 2025 19:10:40
Module start 'content'
Timing: Jan 18 2025 19:10:40
Module end 'content'
Timing: Jan 18 2025 19:10:40
Script end

Main resources:

Total runtime0.8766 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0112 587.9375152.6250
Module start 'layout' 0.01120.0039 740.562539.4453
Module start 'content' 0.01520.8602 780.0078523.9063
Module end 'content' 0.87540.0012 1,303.91418.1641
Script end 0.8766  1,312.0781 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3956160.0002
Check MTime0.00160.1849160.0001
Mysql Total
Database connection0.00130.145010.0013
Mysqli_queries0.824994.0964540.0153
Looping result0.00050.0621520.0000
Template Total0.825894.220.4129
Template load0.00210.236120.0010
Template processing0.823793.968220.4119
Template load and register function0.00020.019810.0002
states
state_id_array0.00240.273910.0024
state_identifier_array0.00100.117620.0005
Override
Cache load0.00170.1922230.0001
Sytem overhead
Fetch class attribute can translate value0.00050.056820.0002
Fetch class attribute name0.00120.131430.0004
XML
Image XML parsing0.00050.059520.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00330.3819160.0002
String conversion0.00000.001040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs