Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 25th November 2005, 12:33
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default postfix related to: Undelivered Mail Returned to Sender

hello,

the problem is as folows:

one of the sites I hoste uses phpBB2 forum. It seems like they have set the sender address of their registration emails to an external yahoo account.

What now happens is this:

a user tries to sign up, gives a wrong email address, phpBB2 sends out a welcome message to the wrong email address, the target mailserver rejects the wrong emailaddress so after sitting in my queue the mail gets back to the server admin account, shoul't it get back to the sender email address set in the phpBB2 settings?

I mean the server has a message it can't deliver, so it should look at the sender of the mail and deliver the failure back to that email address or does this not work if the sender was also an external email, which would indicate relaying ?

can somebody give some hints?
Reply With Quote
Sponsored Links
  #2  
Old 25th November 2005, 12:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Quote:
Originally Posted by Tenaka
a user tries to sign up, gives a wrong email address, phpBB2 sends out a welcome message to the wrong email address, the target mailserver rejects the wrong emailaddress so after sitting in my queue the mail gets back to the server admin account, shoul't it get back to the sender email address set in the phpBB2 settings?
It depends on what is set as Return-Path in the email header. That's the address that receives the rejected message.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 25th November 2005, 12:55
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

here is the original mails header:

Quote:
Received: by hxxxx.serverkompetenz.net (Postfix, from userid 33)
id 3A26613C2F9; Fri, 25 Nov 2005 11:12:15 +0100 (CET)
To: www.adisor_pln@yahoo.com
Subject: Welcome to Hai-Hui.NET Forums
Reply-To: tibi*@yahoo.com
From: tibi*@yahoo.com
Message-ID: <cffd044d37fa93be27e8d2d37ec06687@www.hai-hui.net>
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 8bit
Date: Fri, 25 Nov 2005 11:12:15 +0100
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: PHP
X-MimeOLE: Produced By phpBB2
The only thing I changed is part of my hostname: xxxx and I put in a * instead of that persons lastname, to me it seems like this mail should either get delivered to www.adisor_pln@yahoo.com which is a bogus email or the failure report should get delivered to tibi*@yahoo.com, so where could the error be?

P.S. I know the tibi*@yahoo.com mail exists.
Reply With Quote
  #4  
Old 25th November 2005, 13:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

There's no Return Path, so I guess the email gets returned back <user of the process that sends the email, e.g. Apache user>@<hostname, e.g. hxxxx.serverkompetenz.net> by default. For example, if I get an email from my web server, it looks like this:

Code:
Return-Path: <www-data@xxx.xxxxxxx.com>
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th November 2005, 13:17
Ovidiu Ovidiu is offline
Senior Member
 
Join Date: Sep 2005
Posts: 1,269
Thanks: 84
Thanked 25 Times in 21 Posts
Default

conclusion: phpBB2 breaks emailing rules!?
I'll ask them to set their local email address aka tibi@hai-hui.net (already set up and working) as the sender so they will get their feedback and not me...
Reply With Quote
  #6  
Old 25th November 2005, 13:36
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
 
Default

Quote:
Originally Posted by Tenaka
conclusion: phpBB2 breaks emailing rules!?
I don't know... We don't use it, it has had and probably will have too many security holes. We are very satisfied with vBulletin.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Filtering emails using Spamassassin and Clamav for Exchange 2000 Server Rocky Server Operation 19 11th March 2008 09:27
Postfix not accepting mail heff Server Operation 13 20th March 2006 13:42
Postfix mail problem rytech Installation/Configuration 1 21st November 2005 17:44
Mandriva with ISPConfig for Postfix sent mail to Yahoo & Hotmail lexcomputer Installation/Configuration 9 24th September 2005 18:24
postfix config jmroth Installation/Configuration 6 18th September 2005 16:58


All times are GMT +2. The time now is 15:47.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.