By pbryan on
The Drupal mail server is not configured to provide a valid return address (SMTP "MAIL FROM"). To wit, headers from the message I received from Drupal.org:
Return-Path: <apache@localhost.localhost>
X-Original-To: email@pbryan.net
Delivered-To: pbryan@creatia.net
Received: from localhost (drupal1.osuosl.org [140.211.166.61]) by
creatia.net (Postfix) with ESMTP id 2AF133FC005 for <email@pbryan.net>;
Fri, 26 Aug 2005 14:42:16 -0700 (PDT)
Received: by localhost (Postfix, from userid 81) id 70F5B62889D; Fri, 26
Aug 2005 12:33:35 -0700 (PDT)
To: email@pbryan.net
Subject: Replacement login information for pbryan at drupal.org
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-transfer-encoding: 8Bit
From: info@drupal.org
Reply-To: info@drupal.org
X-Mailer: Drupal
Errors-To: info@drupal.org
Message-Id: <20050826193335.70F5B62889D@localhost>
Date: Fri, 26 Aug 2005 12:33:35 -0700 (PDT)
The Return-Path of <apache@localhost.localhost> is not a valid address, and has no valid domain. Mail servers that validate incoming mail based on such criteria will reject the message as invalid.
Is it possible to configure the web server to provide a valid return path?
Comments
Also posted as issue in
Also posted as issue in Drupal.org maintenance issues:
http://drupal.org/node/29760
give em
a few days to get all the configuration stuff for the new setup worked out. :)
-sp
---------
Drupal Best Practices Guide - My stuff Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
I have the same problem
Updating from exim3 to exim4 on my debian box, email stopped being sent, because of an illegal "Return-path: nobody@" field.
I couldn't do anything from the exim side, nor from drupal. The only (horrible) patch I could find is to replace exim4 with courier (maybe a less strict MTA?).
But still the messages arrive with a "nobody@myserver.mydomain" return-path that's not really elegant...
What could I do? What did you do to fix it?
Luca Ongaro
not what this is about
Drupal does not have a problem with sending email, it is and was a configuration problem on your the server.
This post was about about the Drupal site transfer to a new server and there being an issue with sent email coming from nobody@local or something. The email From field is controlled by the infomration in the php.ini configuration file and whether your site is allowed to send is controlled by relay restrictions on your . You seem to be making things more complicated then they are.
-sp
---------
Test site, always start with a test site.
Drupal Best Practices Guide -|- Black Mountain
-Steven Peck
---------
Test site, always start with a test site.
Drupal Best Practices Guide
Try Return-Path module
I've spent a day trying to come up with a neat solution for this for all our PHP projects installed on the same server. Each project needed its own return address so changing php.ini wasn't possible.
For our Drupal sites I've just built and tested the Return-Path module. Seems to be working as expected here!
--
Ixis (UK) providing Drupal consultancy and Drupal theme design.
--
Ixis (UK): Drupal support, Drupal hosting.
Thank you
I had the issue recently where someone gave an incorrect email address during registration with the error going to the master domain which isn't something I wanted. Does your module take into account the registration system and set the appropriate return path to the email address of the id 1 account? I have installed your module and see the message contents are as I would expect for the contact form.
Earnie Boyd
http://For-My-Kids.Com
http://Give-Me-An-Offer.com
http://AffiliationMaster.com
Never mind
No need to respond to my question. The from address of the registration from is set with the address of from the email field of the settings module and the return path is set with the from address.
Earnie Boyd
http://For-My-Kids.Com
http://Give-Me-An-Offer.com
http://AffiliationMaster.com