/[drupal]/contributions/modules/returnpath/README.txt
ViewVC logotype

Contents of /contributions/modules/returnpath/README.txt

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (show annotations) (download)
Thu Sep 14 17:10:13 2006 UTC (3 years, 2 months ago) by budda
Branch: MAIN
CVS Tags: DRUPAL-6--1-0, DRUPAL-4-7--1-0, DRUPAL-5--1-1, DRUPAL-5--1-0, HEAD
Branch point for: DRUPAL-5, DRUPAL-4-7, DRUPAL-6--1
Changes since 1.1: +1 -1 lines
File MIME type: text/plain
Tweak the text.
1 Module: Return Path
2 Author: Mike Carter <www.ixis.co.uk/contact>
3
4 Description
5 ===========
6 Fixes the problem of bad email 'Return-Path' header settings which prevent email bouncebacks going to the sender
7 of the email.
8
9
10 Installation
11 ============
12 Activate the module and it will replace the Drupal mail handling feature. In Drupal 4.7 deactivating
13 the module requires some manual work as there is no hook_uninstall() available.
14
15 To remove the module you need to delete the variable 'smtp_library' from your sites database.
16
17 Executing the following PHP code on your Drupal site will also disable the module correctly:-
18
19 variable_set('smtp_library', '');
20
21
22 Details
23 =======
24 Most mail servers appear to over-write any 'Return-path' headers sent by the PHP mail() function.
25 The 'Return-Path' value is used by some mail servers to send bounce back emails. A lot of web hosting
26 companies send emails out with a return-path email based on the account name Apache runs as on the
27 server, e.g. apache@example.com or nobody@example.com
28
29 One solution is to define the -f sendmail parameters in the php.ini 'sendmail_path'.
30
31 This is no good when running a single Apache instance with PHP as there is only one php.ini and you
32 need to specify different return addresses for each domain.
33
34 This module resolves the problem by parsing out the return-path set by Drupal modules, and passing it
35 to the sendmail binary using the -f option, rather than sending it only in the $headers parameter of the
36 mail() command.
37
38
39 Credits
40 =======
41 This module is the work of Mike Carter <www.ixis.co.uk/contact>.
42

  ViewVC Help
Powered by ViewVC 1.1.2